k3it
k3it

Reputation: 2730

plot a hi res compass rose in matlab

I'm trying to figure out how to plot a 1-degree resolution compass rose in matlab, that looks something similar to this:

enter image description here

I have tried various compass and polar plots but they don't seem to allow customizing the appearance of the scale around the plot. I can only get a basic 30 degree grid.

Update/Answers to comments:

I'm building a map using azimuthal prjection:

ax=axesm ('eqdazim', 'Frame', 'on', 'Grid', 'on')

this generates a vector image like this:

globe

the next step is to add the shapeimage (which I already figured out) and a compass grid around it.

I want to generate a high quality/large print so I'm trying to stay in the vector format

But this does not need to be done in matlab, if there is a better tool for it. I just thought it would be easier to do the whole thing in one package. No experience with LaTeX but will look into it. A quick/scriptable process is important.

Upvotes: 1

Views: 1442

Answers (1)

knedlsepp
knedlsepp

Reputation: 6084

You could play with the options of

from the File Exchange.

e.g.: Advanced Polar Plots v2:

pp(0:1,0:1,'ThetaDirection', 'cw', ...
           'ThetaStartAngle', 270, ...
           'AngleStep', 1, ...
           'AngleLabelStep', 10, ...
           'AngleAxisStyle', '.', ...
           'RingAxis', 'off')

Upvotes: 3

Related Questions