How to plot on a different screen inside of a GUI ?

Hello
I am trying to plot on a screen inside a GUI, which is not the current screen.The command:
axes(handles.screen2);
seems to do the job. However there are 3 screens inside the GUI, and i struggle when it comes to using the handles for plotting. Is there another way to implement this, without needing to change the axles every time when i want to plot on a different screen?
Thank you

1 件のコメント

Ben11
Ben11 2014 年 7 月 31 日
By "screens" you mean axes right?

サインインしてコメントする。

 採用された回答

Ben11
Ben11 2014 年 7 月 31 日
編集済み: Ben11 2014 年 7 月 31 日

0 投票

If I understood your question correctly, you can specify in your call to plot the axes (or "screen") in which you want your plot to appear:
plot(handles.screen1,x1,y1);
plot(handles.screen2,x2,y2);
plot(handles.screen3,x3,y3);
then you don't have to constantly change the current axes with the
axes(handles.screenx) command
It is what you meant?

2 件のコメント

Andrei Stefan
Andrei Stefan 2014 年 7 月 31 日
Indeed i meant 'axes'! Thank you for your answer. Makes a lot of sense
Ben11
Ben11 2014 年 7 月 31 日
great then glad to help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2014 年 7 月 31 日

コメント済み:

2014 年 7 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by