Polar Plot Segment/Section/Arc
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Stephen
le 11 Déc 2014
Réponse apportée : David Sanchez
le 18 Déc 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 commentaires
Réponse acceptée
David Sanchez
le 18 Déc 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polar Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!