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

5 vues (au cours des 30 derniers jours)
Alon Rozen
Alon Rozen le 10 Nov 2016
Commenté : Alon Rozen le 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

Réponse acceptée

Adam
Adam le 10 Nov 2016
Modifié(e) : Adam le 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.
  2 commentaires
Brendan Hamm
Brendan Hamm le 10 Nov 2016
Alon Rozen
Alon Rozen le 10 Nov 2016
Adam and Brendan thank you so much :) This is more then solving my problem. I learned a new concept!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by