Problem with zoom in gui

6 visualizaciones (últimos 30 días)
Alfredo Bagalà
Alfredo Bagalà el 12 de Feb. de 2021
Comentada: Alfredo Bagalà el 15 de Feb. de 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 comentarios
Alfredo Bagalà
Alfredo Bagalà el 15 de Feb. de 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).

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by