Filter löschen
Filter löschen

Problem with zoom in gui

2 Ansichten (letzte 30 Tage)
Alfredo Bagalà
Alfredo Bagalà am 12 Feb. 2021
Kommentiert: Alfredo Bagalà am 15 Feb. 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 Kommentare
Alfredo Bagalà
Alfredo Bagalà am 15 Feb. 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).

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by