Subplotting by using MATLAB GUI

15 ビュー (過去 30 日間)
Berat Kaya
Berat Kaya 2015 年 5 月 24 日
コメント済み: Star Strider 2015 年 5 月 24 日
Hi everyone,
I want to use plot and subplot functions just like in command window. I mean, i want to see my subplot output as a new figure not in GUI screen.
Thanks to everybody, have a nice day.

採用された回答

Star Strider
Star Strider 2015 年 5 月 24 日
I don’t have your code, but if you want a plot in a new figure window, precede the plot call with a figure call:
figure(1)
subplot(2,1,1)
plot( ...)
subplot(2,1,2)
plot
The numbers in the figure call are not absolutely necessary, but since MATLAB will put all subsequent plots in the existing figure window if you do not create a new figure window each time, it helps to keep track of them.

その他の回答 (1 件)

Berat Kaya
Berat Kaya 2015 年 5 月 24 日
編集済み: Berat Kaya 2015 年 5 月 24 日
Thanks, i will try.
Edit: Thanks, it worked :)
  1 件のコメント
Star Strider
Star Strider 2015 年 5 月 24 日
My pleasure!

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

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by