Rank: 51196 based on 0 downloads (last 30 days) and 0 file submitted

Earle Wilson


Personal Profile:


Watch this Author's files


Comments and Ratings by Earle Wilson
Updated File Comments Rating
10 May 2012 contourfcmap: filled contour plot with precise colormap Creates a filled contour plot, with more precise control over colors than contourf. Author: Kelly Kearney

great function! This saved me many hours of working around all the bugs in contourf.

The only (minor) short coming is that this function doesn't deal with saturated low values. Eg. if you enter:
and there are values in z < min(clev), they will be plotted as white spaces. This is an issue with contourf really, which I won't get into here. An easy fix is set all values in z outside the clev limits to min(clev) or max(clev). Eg.
toohigh = z>max(clev); z(toohigh) = max(clev);
loolow = z<min(clev); z(toolow) = min(clev);

Contact us