Displaying series of images in an axes in a GUI
古いコメントを表示
Hi all, I have a GUI which has a axes in it apart from other elements. The functions called in callbacks generate different figures, say 5 in number. I want to display them in the axes one by one,such that user can see the previous or next image by pushing two push buttons provided. What is the best way to do this. Thanks in advance.
採用された回答
その他の回答 (2 件)
Sean de Wolski
2011 年 6 月 22 日
Use the axes(H) command to set the current axis to your axis of choice
doc axes
5 件のコメント
Krishna Kumar
2011 年 6 月 22 日
Gerd
2011 年 6 月 22 日
Hi Krishna,
using the axes handle should work as Sean already said. Without an example it is hard to tell what you are doing wrong. If you do have the axes handle you can use the plot(h,x,y) command to plot in the right axes
Krishna Kumar
2011 年 6 月 22 日
Sean de Wolski
2011 年 6 月 22 日
Well if you already have the data then just cla (clear axis) and call plot again with the new data?
That seems to simple a solution, I don't think I'm understanding you correctly.
Krishna Kumar
2011 年 6 月 23 日
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!