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
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