Search Comments and Ratings

go

   
Date File Comment by Comment Rating
09 Jul 2014 wysiwyg.m Resize figure on screen according to papersize. Author: Jody Klymak George

When I use the text command the text appears all on the figure in the window but when saved the end is chopped off. Do you have a fix for this?

08 Mar 2013 wysiwyg.m Resize figure on screen according to papersize. Author: Jody Klymak Nicholas

09 Feb 2012 Shaded pseudo color Use shading to represent secondary information of an image Author: Jody Klymak Matteo Niccoli

Hi Jody

Could you help me figure out how to get a handle for the figure.

If I run the code like this:
h=shadedpcolor(x,y,data,(data_slope)),[-3 3],[0 1],0.55,mycmap,0);

this is what happens
hp =

176.0052

??? Output argument "h" (and maybe others) not assigned during call to "G:\For blog\Campi slope\shadedpcolor.m (shadedpcolor)".

Error in ==> shadedpcolor at 31
if nargin==0

But hp is not stored in a variable that I can use.

If I simply run the code without output arguments, like this:
shadedpcolor(x,y,data,(data_slope)),[-3 3],[0 1],0.55,mycmap,0);

I get
hp =

164.0060

no error messages, but still cannot get a handle.

Thanks
Matteo

22 Oct 2010 Shaded pseudo color Use shading to represent secondary information of an image Author: Jody Klymak Matteo Niccoli

The figures resulting from the code snippet above are in the submission Perceptually improved colormaps (example2). Thank you

22 Oct 2010 Shaded pseudo color Use shading to represent secondary information of an image Author: Jody Klymak Matteo Niccoli

This is a great way to add shading to your data. I used it with very nice results with gravity anomalies with this code:

%figure;
% slp=1-normalized_slope;
% shadedpcolor(x,y,residual,slp,[clim residual],[clim slp],0.55,jet(256),0);
% axis equal; axis off; axis tight;
% shadedcolorbar([clim residual],0.55,jet(256));

04 Apr 2005 sublabel Adds text labels a, b, c,... to subplots. Author: Jody Klymak

Works great. In the example given, you need to correct the index for the second subplot and the argument for the second plot command.

% >> haxes(1) = subplot(2,1,1);
% >> plot(1:10);
% >> haxes(2) = subplot(2,1,1);
% >> plot(1::2:20);
% >> htext=sublabel(haxes);

29 Mar 2005 sublabel Adds text labels a, b, c,... to subplots. Author: Jody Klymak

very good
www.dee.isep.ipp.pt/~e980933

Contact us