help in inserting figure and also open another window using a gui.

1 回表示 (過去 30 日間)
Nithya
Nithya 2014 年 3 月 7 日
コメント済み: Nithya 2014 年 3 月 14 日
I have written script files which includes functions in it. These functions deal with displaying figure. What is that i should do inorder to work all these on a single gui. Will this gui can cal another gui window in it? Can anybody help me with some ideas or suggest a link that i can refer to. Thankyou Nithya

採用された回答

Chandrasekhar
Chandrasekhar 2014 年 3 月 7 日
you can add 'axes' to your figure file of GUI so that the figure will get displayed in the same gui.
  8 件のコメント
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014 年 3 月 12 日
Nithya you confused everyone I guess! Do us a favor, attach your file so we can exactly see what you're talking about. Meanwhile, it would be a good idea to create a handle for your axes so that you can specify where you want to see the image
h=figure;
figure(h); % makes your figure window current
a=axes();
imshow(cdata,colormap,'Parent',a); % this shows image on axes a on figure h
Good Luck!
Nithya
Nithya 2014 年 3 月 14 日
I got things done..I thankyou both for your help.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by