how to plot or put the function ( wvtool ) in my gui axis1

4 Ansichten (letzte 30 Tage)
greetings for everybody
please i would like to know how to put that function ( wvtool ) in my GUI interface
as example i will put this code in any pushbottom and will show it in my GUI axis1 ??
L = 64;
wvtool(hamming(L))
thanks for reading

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Sep. 2015
No, you cannot do that. wvtool() is a GUI with a toolbar and multiple axes of plots. In MATLAB, it is not possible for a GUI to be contained within an axes. GUIs that do not have toolbars can be placed inside uipanel, but not inside an axes.
You could record the figure handle returned from wvtool() and locate the axes inside the figure and move them to a container object in your original figure. The container objects that can contain axes are uipanel, hggroup, or hgtransform. One axes cannot contain another.
  4 Kommentare
MOHAMMED AL-DALLAL
MOHAMMED AL-DALLAL am 7 Sep. 2015
thanks for fast replay but the axis1 undefined ?
Walter Roberson
Walter Roberson am 7 Sep. 2015
Before the code insert
axis1 = findobj(0,'tag','axis1');

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by