MATLAB Answers

Is it possible to use figure capabilities in axes on a GUI?

1 view (last 30 days)
Alon Rozen
Alon Rozen on 10 Nov 2016
Commented: Alon Rozen on 10 Nov 2016
Hi all,
When I create a figure and plot some 3d graph I can use figure capabilities like 'Rotate 3D','Pan','Zoom in','Zoom out' and more. When I create axes inside a GUI (using GUIDE) and I plot the same graph I don't have these capabilities. Is it possible to include some of them for the axes in the GUI?
if not - is it possible to activate a callback function when, say, double clicking the plot in the GUI so I can code the creation of an additional figure in that callback function?
Thanks, Alon

  0 Comments

Sign in to comment.

Accepted Answer

Adam
Adam on 10 Nov 2016
Edited: Adam on 10 Nov 2016
You can add in the default or a custom toolbar in GUIDE from the menu options.
Tools -> Toolbar Editor
You can also use the functionality programmatically from your own buttons or controls.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!