CMAPLINE finds all lines in an axis and specifies their colors according to a colormap. Also accepts custom colormaps in the form of a n x 3 matrix.
EXAMPLE (generates screenshot)
%generate some data x=(0:0.1:2*pi); m=50; exdata=bsxfun(@plus,repmat(25.*sin(x),... [m 1]),[1:m]');
figure subplot(121); plot(x,exdata,'o-','linewidth',2) cmapline('colormap','jet');
CURVVEC creates curved vectors for 2D vector components U,V. The arrays X,Y define the coordinates for U and V. Curvature of the vectors is based on ML Built-in function, STREAM2. The length of the vectors are scaled to the vector magnitude. The...
MLPHOTOVIEWER loads and displays all supported image formats in a specified folder. The user can navigate through photos using forward/ back buttons, jump to a certain photo using an edit box or display as a slideshow. SYNTAX: 1)...
ARCGRIDWRITE converts data in a matlab grid (as produced by eg. meshgrid and griddata) into a text file in Arc ASCII Grid Format. The file can also be automatically converted to raster on PC's with ARCINFO installed. EXAMPLE - create a...
GDIST is a simple GUI to display x, y, distance and bearing for two points on a 2D figure. If no inputs are supplied, the information will be displayed on the current axis. To use the tool, simply type gdist at the command window when a figure is...
ASCII2XYZ reads in a raster text file in ARC ASCII format and converts values to a m x 3 matrix of x, y, a z values.
This code is mostly vectorized and performs well with reasonably large files (see example below).
%read in a...
GESCATTER creates a .kml file that displays colored circles at the locations specified by the vectors LON and LAT similar to ML's builtin function, SCATTER.The color of the circles is scaled relative to the values provided in third input, C. |