[Master Index] [Index for .]

img

(./img.m)


Function Synopsis

y = img (x,yaxis,xaxis,axis_str,om)

Help text

 img(x,yaxis,xaxis,axis_str,om) - Show an image of x, scaling the display
	to use the full colormap.  Returns the scale factor used, and plots
	it in a log-scale sidebar when it's signficant (> om/200).  If you
	need to find the offset used, just find the minimum value in the
	matrix.

	This function tries to be smart enough to let you omit interior
	parameters, though you must always give them in the correct order.
	So all these examples will work:

	img(x,5)		Sets om=5
	img(x,'xy')		Sets axis_str='xy'
	img(x,[1:2:60],5)	Sets yaxis=[1:2:60], om=5

	x	-- Image matrix
	yaxis	-- Y Axis labels
	xaxis	-- X Axis labels
	axis_str - String parameter to optional axis() command
	om	-- Orders of magnitude to use in sidebar (zero means none) [2]

Cross-Reference Information

This function is called by

Produced by mat2html on Thu Oct 9 14:13:05 1997
Cross-Directory links are: OFF