GUI

1 回表示 (過去 30 日間)
asha jyothi
asha jyothi 2012 年 2 月 23 日
Is it possible to draw a figure in existing GUI window?tell me the way to approch

採用された回答

Jan
Jan 2012 年 2 月 23 日
A GUI is a figure. A figure cannot be a child of a figure. Therefore it is not clear, what you want to achieve. Please explain, what "draw a figure" exactly means.
Perhaps you want a uipanel?
  1 件のコメント
asha jyothi
asha jyothi 2012 年 3 月 1 日
"draw a figure" in the sense i want a picture kind on my GUIDE window for example a block diagram of a plant..

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

その他の回答 (2 件)

nanren888
nanren888 2012 年 2 月 23 日
What created the GUI? If you created it, then you have the figure number (handle). Seems even if it is a GUIDE one, it shows up in get(0,'children');
  1 件のコメント
asha jyothi
asha jyothi 2012 年 3 月 20 日
yes i created a gui window.. i want a figure like block diagram in it...
whaat is figure number(handle)?
where should i call for that?

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


Tannistha
Tannistha 2012 年 2 月 23 日
| by drawing a figure i am assuming u mean to plot something in the window? In order to plot anything in the gui figure window, u need to define the axis beforehand and get the handle of the axis. Then you can plot whatever u want in the axis. even if u want to draw some image using imdraw. u need to define the axis on which u want to draw.
Rest, agree with Jan. A figure cannot be a child of figure.
  2 件のコメント
asha jyothi
asha jyothi 2012 年 3 月 1 日
Thanks for your reply..
I actually mean by "draw a figure" is in the sense i want a picture kind on my GUIDE window for example a block diagram of a plant..
can u tell me somemore about imdraw? please
Walter Roberson
Walter Roberson 2012 年 3 月 1 日
If you are displaying pre-defined images then you want image() rather than imdraw().

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

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by