Show plot in figures window with GUI
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mortis
il 9 Mag 2016
Modificato: CS Researcher
il 10 Mag 2016
Short version: How do i get the callBack from push button to open a plot in figures window and not on the GUI?
Long version (read at your own risk):
I want to show some data in 3 ways. Triplot (A), trisurf (B) and contour (C) (still working on the this one).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163853/image.jpeg)
This is my functionality tests GUI. Length and diam are edit text for inputs needed to the calculations. Axes will show a static and none detailed (you need to zoom in for details) image of the plot the user choses. And i want the "Free View" push button to let the users see the plot in more detail. Why do I ask for figures window especially because i want these bad boys:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163855/image.jpeg)
Yup, users will need to zoom in/out, pan, rotate, use the data cursor and let them print if they like it :)
So how do i get the callBack from push button to open a plot in figures window and not on the GUI?
4 Commenti
Image Analyst
il 10 Mag 2016
CS, You should put that as an answer to Mortis can accept it and you'd get reputation points.
By the way, you could also call "figure" in the callback to bring up a new, separate figure window and then replot the stuff in it.
CS Researcher
il 10 Mag 2016
Modificato: CS Researcher
il 10 Mag 2016
Done Image Analyst!
@Mortis: Don't feel bad. It happens to all of us. Glad I could help.
Risposta accettata
CS Researcher
il 10 Mag 2016
You can have all the 'bad boys' in the GUI too. Open the GUI in GUIDE and go to Tools -> Toolbar Editor and add whichever tool you need.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Visual Exploration in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!