Rank: 130 based on 636 downloads (last 30 days) and 30 files submitted
photo

M MA

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

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by M 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 236 109
  • 4.67857
4.7 | 61 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 12 3
  • 3.0
3.0 | 2 ratings
14 May 2008 Screenshot cbarf Real filled colorbar Author: M MA annotation, customization, colorbar, colorbarf, real, realistic 44 20
  • 4.72727
4.7 | 11 ratings
20 Feb 2008 Screenshot ncx, NetCDF eXplorer Interface for NetCDF visualisation Author: M MA data import, data export, netcdf, ncx, explorer, utilities 49 17
  • 3.8
3.8 | 10 ratings
01 Jun 2007 unpack Unpack list to variables Author: M MA unpack, list, variables, allow, utilities 9 2
Comments and Ratings by M 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's Files View all
Updated File Comment by Comments Rating
26 Feb 2014 cbarf Real filled colorbar Author: M MA Benoit

I had a few issues because I tried to modify the low value triangle to be of the right color instead of white.

I dont know if anybody plans to modify this somewhere, but this is the way i solved the problem :

1) I changed the white triangle color to the corresponding low value color
2) I changed the color of the rectangles to be defined by the value of L(i) + L(i+1) / 2 instead of just L(i), so that the lower triangle does not have the same color as the lowest rectangle.
3) I then change the colormap used in the plot because in contourf the colors used to fill are the colors of the lower limit, (the color of L(i), and not L(i) + L(i+1)), so I take for example the jet map, and chop a part of the top and place it at the bottom.

21 Feb 2014 Wind_rose Wind rose of direction and intensity Author: M MA ALOBAIDI, MESHARI

excellent script could anyone tell me how to how to change the direction labels to actual figures ( 360/30)

17 Feb 2014 Wind_rose Wind rose of direction and intensity Author: M MA Kimberly

Is it possible to change the colormap to grayscale? Thanks! This is very easy to use!

11 Feb 2014 Wind_rose Wind rose of direction and intensity Author: M MA Steve

I'm trying to make multiple wind roses all at the same scale for the 12 months of the year. I'm having trouble setting them all to the same scale. I believe I need to alter the code around 226 with the variable ncircles but can't quite figure it out any help would be appreciated as having graphs at the same scale for data comparison is key!

Those of you asking about the direction issues, the answer is in the comments below you just need to look :) I figured it out that way but can't remember the exact solution.

02 Jan 2014 Wind_rose Wind rose of direction and intensity Author: M MA Emma

I am also finding that 0 degrees is plotted in the East direction. Has someone used it and managed to put 0 degrees plotted in the North direction?

Thank you.

Contact us