Rank: 179 based on 490 downloads (last 30 days) and 30 files submitted
photo

M MA

E-mail
Company/University
REMO/PETROBRAS - Univ. Federal da Bahia

Personal Profile:

 

Watch this Author's files

 

Files Posted by M MA View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
17 Jun 2010 Screenshot Wind_rose Wind rose of direction and intensity Author: M MA specialized, plotting, wind rose, direction, intensity, graphics 169 117
  • 4.67213
4.7 | 66 ratings
04 Jun 2009 Screenshot velocity field using weather code Plot 2D velocity field using weather/meteorological code Author: M MA weather meteorologica..., wind arrows 14 3
  • 3.0
3.0 | 2 ratings
14 May 2008 Screenshot cbarf Real filled colorbar Author: M MA annotation, customization, colorbar, colorbarf, real, realistic 35 21
  • 4.66667
4.7 | 12 ratings
20 Feb 2008 Screenshot ncx, NetCDF eXplorer Interface for NetCDF visualisation Author: M MA data import, data export, netcdf, ncx, explorer, utilities 70 17
  • 3.8
3.8 | 10 ratings
01 Jun 2007 unpack Unpack list to variables Author: M MA unpack, list, variables, allow, utilities 8 2
Comments and Ratings by M MA View all
Updated File Comments Rating
01 Jul 2010 Wind_rose Wind rose of direction and intensity Author: M MA

Dear Seb

The option 'ax' is used to place the wind rose over an existing axes. But a new axes is created and placed over the other.

What you should do is to use the option 'parent' which let you choose the wind rose axes.

do this:
wind_rose(d, v, 'parent',ax)

In your first example,
ax = axes('Parent', fig)
wind_rose(d, v, 'ax', [ax .5 .5 1])

a new axes was created ... if there was something ploted in ax you wouldn't see it since wou chose to use the full ax width (1).

However I noticed that there is a missing line of code for the option 'parent' to work properly:
add axes(parent) after the line 252 (of the latest version). I will update this soon...

17 Jun 2010 Wind_rose Wind rose of direction and intensity Author: M MA

Dear Li Liao.
Yes you are right. I already fixed a small bug I found and uploaded the new version.
The percentages where wrong only when using intensities equal to the lower value of the highest intensity subdivision, basically an academic case.
Thank you

14 Apr 2009 dict General purpose data storage object Author: Doug Harriman

excellent submission
I wonder why matlab doesn't have built-in dictionaries

Comments and Ratings on M MA's Files View all
Updated File Comment by Comments Rating
27 Nov 2014 Wind_rose Wind rose of direction and intensity Author: M MA Eddy Barratt

Very nice wind rose plotter, but with some bizarre behavior regarding the direction.

dtype - 'standard' uses standard mathematical plotting, i.e. 0 degrees lies on the positive x-axis, 90 degrees on the positive y axis.
dtype - 'meteo', which I assume stands for meteorological, uses geographical directions, but 180 degrees out of phase! i.e. 0 is south (when it ought to be north), 90 is west (when it ought to be east). I'm not sure why you'd want that, unless you expect to receive winds based on where they're going and wish to plot them as where they've come from, or vice-versa.

I've edited my copy to read this, at the appropriate place.
% directions conversion:
if isequal(dtype,'meteo-to-wind')
D=mod(-90-D,360);
elseif isequal(dtype, 'meteo')
D=mod(-270-D,360);
end

19 Nov 2014 Wind_rose Wind rose of direction and intensity Author: M MA foulen

please! how to use this function? how to applicate & parameter this function to image file!!!? please help

07 Nov 2014 cbarf Real filled colorbar Author: M MA Tim Garrett

Great function.

Is something missing in that specifying the axis for the color bar is not an option? I'm running into troubles using this function with others on the file exchange with the color bar being placed on an unexpected axis.

As a suggestion:

H=CBARF(AX,DATA,LEVELS,MODE,SCALE)

04 Nov 2014 Wind_rose Wind rose of direction and intensity Author: M MA Kuifeng

Amazing Job.

16 Oct 2014 Wind_rose Wind rose of direction and intensity Author: M MA Georgina Peach

Bearing labels 0-360 Deg - is there any way to put them on the plot like on a polar plot & include an axis title i.e. Coming direction (deg)?

Contact us