Problem with zoom in gui

2 次查看(过去 30 天)
Alfredo Bagalà
Alfredo Bagalà 2021-2-12
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 个评论
Alfredo Bagalà
Alfredo Bagalà 2021-2-15
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).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by