Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
19 Nov 2009 ncx, NetCDF eXplorer Interface for NetCDF visualisation Author: M MA Schneider, David

Does anyone know what the scripts in the /private directory are for and why it's named as such? Private directories are not allowed in the Matlab path, so how are the scripts in this directory to be used? Thanks for your help - seems like a great program so far.

18 Nov 2009 Wind_rose Wind rose of direction and intensity Author: M MA Eleanor

Hi there,
I would like to specify my own colour choices for 'di'. Does anyone know what format 'color' should be specified in.
Many thanks,
Eleanor

08 Oct 2009 Wind_rose Wind rose of direction and intensity Author: M MA Cegeon

29 Sep 2009 cbarf Real filled colorbar Author: M MA Chamane

great work!

14 Sep 2009 Wind_rose Wind rose of direction and intensity Author: M MA Ruggeri, Marcos Cesar

Victoria:

Please read my comment above. I had the same problem, but finally I could solve it!

Thanks,

Marcos Cesar Ruggeri

03 Jul 2009 velocity field using weather code Plot 2D velocity field using weather/meteorological code Author: M MA naresh, vissa

Please provide the example for wind field.m with data

25 Jun 2009 Wind_rose Wind rose of direction and intensity Author: M MA Victoria

MMA

Everything is working great but when I print the plot (either to paper or to a jpeg file), the background turns black. Do you know how to fix this?

Thanks! Victoria

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

To plot in a subplot, find "parent=0" and replace "0" with whichever grid cell you want it in your subplot. eg. to place it in the lower left corner of a 2X2 plot of subplots, type "parent=subplot(2,2,4)"

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

It's beautiful, but I would also like to know how to plot the wind rose on a subplot.

13 May 2009 Wind_rose Wind rose of direction and intensity Author: M MA C, Juan

Really nice work, but I have a question, How can I plot the wind rose on a subplot?

12 May 2009 vfield3 Plot 3D velocity field. Author: M MA Jveer

niice!

12 May 2009 vfield3 Plot 3D velocity field. Author: M MA freschi, fabio

Nice application and great use of vectorization instead of for loops. I personalized this application for my purposes, but thanks to author for his work

08 May 2009 contourz 3D contour plot on a surface. Author: M MA Deng, Siyi

very helpful. nicely implemented.

06 May 2009 cbarf Real filled colorbar Author: M MA Magi, Brian

A really useful function for a much better colorbar option. This is probably a simple change, but i don't know enough about handle graphics. When i change the position of the colorbar from cbarf to somewhere in the plot, cbarf is always behind the main plot. I tried changing 'Layer' to top (and the main plot to bottom) but to no avail. if anyone has what is probably a quick solution, i'd appreciate it.

02 May 2009 Wind_rose Wind rose of direction and intensity Author: M MA voinis, malak

please what kind of data is the argument F needed by the function WIND_ROSE(D,F,VARAGIN) ?

30 Apr 2009 Wind_rose Wind rose of direction and intensity Author: M MA K, M

The 'ci' option to force the percentage intervals appears to not work. If you change from one interval to another the length of the colored blocks stays the same, while the scale changes.

30 Apr 2009 ncx, NetCDF eXplorer Interface for NetCDF visualisation Author: M MA Vengatesan

This is the first time i have downloaded and installed ncx on a windows xp machine with matlab R2007a. After typing nxc it displays the GUI, but upon loading a file the following error message comes up. any help?
>> ncx
??? Error using ==> feval
Undefined function or method 'mexcdf60' for input arguments of type 'char'.

Error in ==> ncmex at 110
   [varargout{:}] = feval(fcn, varargin{:});

Error in ==> netcdf.open at 20
[theNCid, status] = ncmex('open', name(self), thePermission);

Error in ==> netcdf.netcdf at 416
   result = open(result, thePermission);

Error in ==> n_filevars at 21
nc=netcdf(file);

Error in ==> ncx\private\ncx_load at 58
  varnames = n_filevars(file);

Error in ==> ncx at 230
  eval(varargin{1})

??? Error using ==> ncx('ncx_load')
Error using ==> feval
Undefined function or method 'mexcdf60' for input arguments of type 'char'.

??? Error while evaluating uimenu Callback

>>

25 Apr 2009 Wind_rose Wind rose of direction and intensity Author: M MA Ruggeri, Marcos Cesar

Wind directions are inverted.
If the vector D represents all values of wind directions COMING FROM (BLOWING FROM), rewrite line #147 as follows:

D=mod(90-D,360);

Thanks.

M.

25 Apr 2009 Wind_rose Wind rose of direction and intensity Author: M MA Ruggeri, Marcos Cesar

There is a problem when you want to print the graphic. The
background color (facecolor) is set in black and cannot be changed.

In order to fix it, write at the end of the code:

set(gcf,'color','w');
set(gca,'color','w');

Thanks and good job.

M.

25 Apr 2009 Wind_rose Wind rose of direction and intensity Author: M MA Ruggeri, Marcos Cesar

17 Apr 2009 meetpoint Meet points points and slopes of curves. Author: M MA Cem

this is a very useful tool , thanks for your share.ı created cube vertices and faces and patched this .After that I made up a line crossing this cube in two points. And used this tool.Meetpoint showed three same points and missed the point crossed the cube behind. Why is that ?

12 Apr 2009 ncx, NetCDF eXplorer Interface for NetCDF visualisation Author: M MA Brandon, Mark

The support files for this program needs to upgraded to work with Matlab 2009a. You will need to get the latest version of the mexcdf package, which is available at sourceforge, at http://mexcdf.sourceforge.net/downloads/R2008a.html. Just replace the files in the mexnc and netcdf subdirectories with the new files in the subdirectories with the same names in the mexcdf package. Matlab now provides native support for netcdf files, so there is no need to generate dll or mex files. Everything will work just fine.

16 Jan 2009 Wind_rose Wind rose of direction and intensity Author: M MA vs, b

Hello MMA,
Great m-file. However I am not a matlab expert and cannot get the legend right in my figure. Do you maybe have the example input of the figure that is shown on the top of this file, so that I can make slight changes towards my own case?

16 Jan 2009 Wind_rose Wind rose of direction and intensity Author: M MA vs, b

11 Nov 2008 Wind_rose Wind rose of direction and intensity Author: M MA Vargas Aguilera, Carlos Adrian

Dear D S: you should write this kind of quenstions on the Newsreader (where many people will be glad to help you) or write directly to the author. Look at 5 statements here below. Carlos

10 Nov 2008 Wind_rose Wind rose of direction and intensity Author: M MA S, D

I am a new user to MatLab, so this may be a ridiculously obvious question, but I have got my inputs in the D and I format and ran the following syntax:

HANDLES = wind_rose(D,I,varargin,'meteo');

I then got this error message:

??? Attempt to execute SCRIPT varargin as a function:
C:\Program Files\MATLAB\R2007b\toolbox\matlab\lang\varargin.m

Can someone help me please?

Thankyou

08 Nov 2008 Wind_rose Wind rose of direction and intensity Author: M MA i, Zheng

Very Good! But I don't know how to use 'di', who can help me please? Thanks!

08 Nov 2008 Wind_rose Wind rose of direction and intensity Author: M MA i, Zheng

很好用的!角度及方向可以调整。但是我还不知道'di'到底是怎么用的,谁能告诉我?

27 Oct 2008 Wind_rose Wind rose of direction and intensity Author: M MA Way, FJ

Good, however it seems that the northern bin may have a bug. If I want 22.5 degree bins (nAngles=16), then the first bin is -11.25 to +11.25 (which is good). But the Ay breakdown and input data is from 0 to 360 (i.e., nothing from -11.25 to 0). So the northern bin is usually about half the size it should be.

29 Sep 2008 gclabel Guided contour labels Author: M MA Vargas Aguilera, Carlos Adrian

Hi, M-Ma, maybe, the guide can be made automatically by using the gradient.

Carlos

24 Sep 2008 vfield3 Plot 3D velocity field. Author: M MA G, Michael

This is a great ap that I find I am using all the time now for plotting and animating vector fields. It looks great!

01 Sep 2008 Wind_rose Wind rose of direction and intensity Author: M MA blot, romain

Hello, I would like to know if you have noticed a maximum size for wind and direction data input? I try to plot 1 month data with 10min time scale...and it doesn't work...
Thank you...

14 Aug 2008 Wind_rose Wind rose of direction and intensity Author: M MA Jess, Just

Is there a way to show when there is no wind? Calm times should be included in the percentages, but it looks like there is no way to do this with the current code. Any suggestions?

11 Aug 2008 Wind_rose Wind rose of direction and intensity Author: M MA Linda, Lee

I do not know the reason. But I tried 90-D for wind direction. It looks it is right. Could MMA explain it more detail? Thanks.

06 Aug 2008 Wind_rose Wind rose of direction and intensity Author: M MA cho, junsang

very good job!!!

28 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA feng, yanqing

very good!

22 May 2008 cbarf Real filled colorbar Author: M MA Zhiyong, Wu

Great work! Thank you!

20 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA l, g

MMA

You are correct that the meteo conversion for wind or waves is USUALLY mod(-90-D,360). However the test wind_rose(270,1,'dtype','meteo') also proves that this routine does not work the way it should FOR WIND. I think your comments make it clear that the routine should be renamed just rose.m and drop the "meteo" direction conversion option because the "meteo" convention is different for wind, waves, and currents.

I regret that this ongoing discussion of conventions has obviously caused you trouble, and thank you again for contributing a useful routine to the Matlab community.

20 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA MA, M

G L. You are not right, the convertion is mod(-90-D,360). But anyway this utility has nothing to do about wind!! Or conventions !! The convertions to meteo convention was introduced because some people asked it!. Believe me, there are others conventions on directions of other fields. This is an Intensity/Frequency/Direction Plot! It has NOTHING to do about wind. So anybody can convert any direction to any other direction and and use wind_rose with standard direction.

19 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA wannawong, worachat

How to plot wind rose? Somebody help me plz... Plz give the example code in Matlab and data test case for me.
Thank you Prof.
Worachat

18 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA l, g

Many thanks. Nice routine, but I must add my voice to others here. The conversion from meteo to cartesian should be new_dir = mod(90-test_dir,360) as meteo convention is wind direction FROM and cartesian is vector directed TO. I would have thought that the simple test
D=270
V=1
wind_rose(D,V,'dtype','meteo')
should result in a single bar COMING FROM the west. In the present routine it does not. It is a simple fix to correct this behaviour, as previously pointed out.

Thanks again.

16 May 2008 ncx, NetCDF eXplorer Interface for NetCDF visualisation Author: M MA Anber, Usama

Plz can some help me, I used this ncx to load a netcdf file from the IPCC website (output of a GCM for air temperature), but it didn't work, what should I do ?

14 May 2008 cbarf Real filled colorbar Author: M MA MA, M

You are right Wu. The bug is now fixed.
Thank you

14 May 2008 cbarf Real filled colorbar Author: M MA only, wu

Thank u for your work!
but I also find a bug(?) with it.

cbarf(data,lev,'vertical','nonlinear') and
cbarf(data,lev,'vertical','linear') produce different colors according to the same specified levels. The latter one is right.

12 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA MA, M

I suggest you to read the help of this function. Notice the dtype varargin option:

"-dtype, type of input directions D, standard or meteo, if meteo, the conversion dnew=mod(-90-D,360) is done; if not meteo, standard is used (default)"

09 May 2008 Wind_rose Wind rose of direction and intensity Author: M MA Jur, Jadran

Comments is same like From: C Dillard(sodillard@gmail.com)

Comments: "I was thrilled when I found this plot, it is exactly what I needed until..... " Beware: This plot does not place wind directions (in degrees) into a normal compass heading where north (0) is facing up, east (90) is facing right, south (180) is facing down, and west (270) is facing left. I admit that I may be using the script wrong (I am not a matlab expert) but a simple test of one compass heading at a time proved that I am correct. "
:just try with
D=[180 350];
V=[2 4];
wind_rose(D,V)...
result is wind_rose that has direction east2west

02 May 2008 cbarf Real filled colorbar Author: M MA Kats, K

I have been thinking about switching to another tool for contour plots, but this neat script saved me! Thank you.

29 Apr 2008 Wind_rose Wind rose of direction and intensity Author: M MA liu, min

great

25 Apr 2008 Wind_rose Wind rose of direction and intensity Author: M MA H, G

The plots look great.

I originally had trouble getting the wind angles to turn out correctly - my inputs have 0 = wind from North, 90 = wind from East, etc.

I did some testing and found that if I did new_dir = mod(90-test_dir,360) (NOT -90!) and then did the standard wind rose, it came out right.

22 Apr 2008 Wind_rose Wind rose of direction and intensity Author: M MA mandang, idris

wind rose

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com