Polar Plot Segment/Section/Arc

5 Ansichten (letzte 30 Tage)
Stephen
Stephen am 11 Dez. 2014
Beantwortet: David Sanchez am 18 Dez. 2014
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.
  3 Kommentare
Stephen
Stephen am 12 Dez. 2014
What I have currently is the predecessor to the image shown. A full polar plot with tracks contained in a section of 90 degrees. What I'd like is the ability to make the polar plot an arc of angle 90 degrees or possibly 100 degrees as shown by the red lines.
So when the figure is created and plotted onto a GUI axis (what I'm currently doing) the polar plot is only visible where tracks exist.
Stephen
Stephen am 18 Dez. 2014
Do you have any ideas?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

David Sanchez
David Sanchez am 18 Dez. 2014
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.

Weitere Antworten (0)

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by