필터 지우기
필터 지우기

How to make subplots in GUI that retains the plot?

조회 수: 1 (최근 30일)
Bastion
Bastion 2011년 10월 11일
In my GUI program, I want to make a button that creates 4 subplots; each of the subplots allows the users' input data to be retained (retain the plot). So the user can look at 4 plot at a time and compare them.
I can create the subplots but everytime the data is not retained.

답변 (3개)

Sean de Wolski
Sean de Wolski 2011년 10월 11일
Are you looking for:
hold on
?
Edit per comment
figure;
for ii = 1:4
subplot(2,2,ii);
peaks;
end
  댓글 수: 1
Bastion
Bastion 2011년 10월 12일
No, but I tried that but it didn't work
I just want to have 4 subplots that can show 4 different plots at the same time

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


karan
karan 2011년 11월 24일
Hey have you got an answer for this because have a same problem and seeking for a solution
please let me know... @ karan_vibgyor@yahoo.com
Thank you
  댓글 수: 3
karan
karan 2011년 11월 24일
so my problem is a little different ....
nothing related with retaining the content
but the subplot is not 'Contained' within the defined 'boundaries' of the defined axes widget
is there a way i can upload images for a better understanding of my problem...
Walter Roberson
Walter Roberson 2011년 11월 24일
Please do not post to substantially different questions.
If I recall correctly, you already posted your question about the boundaries. You could post links to images there.
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

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


karan
karan 2011년 11월 24일
so my problem is a little different .... nothing related with retaining the content but the subplot is not 'Contained' within the defined 'boundaries' of the defined axes widget is there a way i can upload images for a better understanding of my problem...

카테고리

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