Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scaling the legend on a wind rose plot

Status
Not open for further replies.

oceansurvey

Marine/Ocean
Sep 10, 2014
3
Hi,

So I have produced a wind rose showing wave height and direction, but the legend that has automatically been produced has listed 12 colors with text saying 0-0.1, 0.1-0.2, 0.2-0.3 etc. Can this be reduced, I only want 6 color boxes with scaling like this: 0-0.5, 0.5-1, 1-1.5 etc. This is the line of code currently used to produce the plot:

D=xlsread('July 2013.csv','O14:O1091')/100;
I=xlsread('July 2013.csv','L14:L1091');
M=mod(I-180,360);
h = wind_rose(M,D,'dtype','meteo','n',12,'lablegend','Hm0 (metres)','ci', 0:10:60,'quad',[4]);

Any help is much appreciated.

Regards
 
Replies continue below

Recommended for you

aren't all your options listed here ?

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
 
All sorted! Thanks. I am now looking to remove the white space around text on a figure matlab produces, any ideas?
 
i'e the white box around the percentage labels on the concentric rings of a wind rose plot. These need to be transparent as are obscuring some information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor