Help needed in Subplot in Matlab

조회 수: 1 (최근 30일)
Saumya Nagar 17BME0447
Saumya Nagar 17BME0447 2021년 4월 11일
댓글: Saumya Nagar 17BME0447 2021년 4월 18일
Hi,
I am new to Matlab and facing few issues in the following code:
1) I need to plot the graphs with varying the values of G. #1 for G=1.4, Molecular_Weight=28.97 ; #2 G=1., Molecular_Weight=28 ; #3 G=1.4 Molecular_Weight = 1.66 Can you please let me know the simplest way to do it, so I get the results in the same plot.
2) The current spacing between the plots is too less, what can I do to increase the spacings.
Thank you in advance! Your help would mean a lot to me.

채택된 답변

Jithin Nambiar J
Jithin Nambiar J 2021년 4월 11일
The line figure you've entered before subplot(3,2,5) is used to open a new figure window.
figure
subplot(3,2,5)
Just comment or remove the line figure to solve your problem.
Cheers!
  댓글 수: 7
Jithin Nambiar J
Jithin Nambiar J 2021년 4월 12일
Hope it helped!
Saumya Nagar 17BME0447
Saumya Nagar 17BME0447 2021년 4월 18일
Thanks a lot

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by