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

5 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 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 Comments
Walter Roberson
Walter Roberson on 7 Sep 2015
Before the code insert
axis1 = findobj(0,'tag','axis1');

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!