Clear Filters
Clear Filters

Problem with zoom in gui

2 views (last 30 days)
Alfredo Bagalà
Alfredo Bagalà on 12 Feb 2021
Commented: Alfredo Bagalà on 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 Comments
Alfredo Bagalà
Alfredo Bagalà on 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).

Sign in to comment.

Answers (0)

Categories

Find more on Visual Exploration in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!