Polar Plot Segment/Section/Arc
8 次查看(过去 30 天)
显示 更早的评论
I've got a polar plot that contains aircraft tracks. The polar plot is azimuth/range
The tracks only lie within the azimuth of about 240->330 this can vary but will always be a 90 degree window.
On a large plot you can barely see the tracks with all the wasted space. I need a way of modifying the axis to plot a wedge/arc shape rather than the full polar plot. Once I know this is possible I can modify the code to accomodate the changes.
采纳的回答
David Sanchez
2014-12-18
The zoom command can zoom in and out but does not allow a good interaction with the zoomed region.
Instead, you might play with the axis command.
In a polar representation, the origin of the plot is the center of the circle. Then , if you do:
axis([0 max(y) 0 max(y)]) % where _y_ is your Y data ( polar (x,y) )
you will get a zoon of top-right quarter of the polar plot.
You can "play" with your data and apply axis accordingly to obtain the "zoom" of the region where your data is present.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!