Problem with zoom in gui

6 vues (au cours des 30 derniers jours)
Alfredo Bagalà
Alfredo Bagalà le 12 Fév 2021
Commenté : Alfredo Bagalà le 15 Fév 2021
Hi, I am developing an interface with guides. I added the zoom command to the toolbar. When I use the function on an axes where I make a multiple plot, assigning markers to the lines, the data is also plotted off the axis. In particular, the lines are also plotted outside, while the markers are not.
If, on the other hand, I set only the LineStyle and the Color (Marker = []), this problem does not arise.
Anyone can suggest me how to solve?
thank you very much
  2 commentaires
Alfredo Bagalà
Alfredo Bagalà le 15 Fév 2021
Hi, thaks a lot for your answer. I had already set 'Clipping' to 'on'. If I plot only the lines (using hold on) the problem does not arise. When I put the markers, they are inside the axis, but at that point the lines go beyond.
From the tests I made, only the first plotted line (with markers) remains entirely inside. So I would think that there is a problem in using hold on (I also tried hold all with the same results).

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by