Data is not being clipped

My data is plotting beyond the plot surface. I checked to see if the clipping property is set to 'on' and it is indeed set to 'on'. However, my data is plotting beyond the plot surface. I set the clipping to 'on' although it was already set to 'on' and it doesn't work. Anyone solved this problem plz let me know. Thanks........
ax = gca
ax.Clipping = 'on'

2 个评论

Can you make a test plot that illustrates the issue that folks can duplicate? Does it happen for a new plot or only on a given figure/axes?
See the new ClippingStyle axes property.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Axes Appearance 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by