Deformed plots and extra windows plotting in matlab app.designer
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ErikJon Pérez Mardaras
le 17 Jan 2021
Commenté : Adam Danz
le 17 Jan 2021
I am the same person of the previous question. So I am trying to design an app which, when I click on the button, a circle is drawn in the pannel. This is the code I have written to let this happen:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/490900/image.png)
And this is the result:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/490905/image.png)
As you can see, the circunference is deformed. So, to avoid that, to have the pannel gridded and to hold on the graph for future simultaneous plots, I add axis equal, grid and hold on in the code (as I would do the same for the matlab command window) as you can see below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/490910/image.png)
When I run the app and click the button, appears the same deformed circle and an extra window (figure 1 ) with nothing on it as you can see:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/490915/image.png)
How can I get rid of that annoying extra window (Figure 1) and how can I achieve axis equal, hold on and grid commands to be executed?
Thank you very much!
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer 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!