How to make subplots in GUI that retains the plot?
1 次查看(过去 30 天)
显示 更早的评论
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
2011-10-11
Are you looking for:
hold on
?
Edit per comment
figure;
for ii = 1:4
subplot(2,2,ii);
peaks;
end
karan
2011-11-24
Hey have you got an answer for this because have a same problem and seeking for a solution
Thank you
3 个评论
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
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
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...
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!