How can i crop a figure
51 次查看(过去 30 天)
显示 更早的评论
Hello I have a figure as a result of matlab code, it is like a map, large amount of data (lines and points) . but i do not need it all, i need only a part of it, so how can i crop this figure? any suggestions? thanks
3 个评论
回答(2 个)
Alex Fratila
2018-7-27
To expand on the above answer, in addition to xlim, ylim is also an option, or you can wrap both together with the axis function. Check out this page for examples!
0 个评论
Kelly Kearney
2018-7-27
Just to clarify, when you say "like a map", you don't mean it's a map axis (Mapping Toolbox), do you? Cropping a map axis is much more complicated than just changing the x/y limits in a standard axis.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!