Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

imagesc2.pro

topimagesc2

imagesc2, image_in [, xaxis_in] [, yaxis_in] [, CT=CT] [, ZRANGE=ZRANGE] [, ZMIN=ZMIN] [, ZMAX=ZMAX] [, INTERPOLATION=INTERPOLATION] [, POSITION=POSITION], XCHARSIZE=XCHARSIZE, YCHARSIZE=YCHARSIZE [, CHARTHICK=CHARTHICK] [, CBPOSITION=CBPOSITION] [, NCOLORS=NCOLORS] [, CBTITLE=CBTITLE] [, ZLOG=ZLOG] [, CBWIDTH=CBWIDTH] [, CBOFFSET=CBOFFSET] [, NOCOLORBAR=NOCOLORBAR] [, FINE=FINE] [, CBFORMAT=CBFORMAT] [, CBCOLOR=CBCOLOR], BREWER=BREWER, xrange=xrange, yrange=yrange, keep_aspect_ratio=keep_aspect_ratio, NOERASE=NOERASE, PLOTKEYWORDS=PLOTKEYWORDS, backgroound=backgroound, cbcharsize=cbcharsize, cbcharthick=cbcharthick, CBHORIZONTAL=CBHORIZONTAL [, _EXTRA=_EXTRA]

plot 2d data using tv instead of contour, named after the equilivant procedure in matlab

will overwrite current color table with the selected one

something is wrong with setting the colors with background and color and does not handle !P.multi at all

Parameters

image_in in required

the 2d array to plot

xaxis_in in optional

the xaxis values

yaxis_in in optional

the yaxis values

Keywords

CT in optional

color table to use

ZRANGE in optional

zrange to plot, take presidence over zmin and zmax

ZMIN in optional

min z to plot

ZMAX in optional

max z to plot

INTERPOLATION in optional

interpolate the plot

POSITION in optional

the position of the plot

XCHARSIZE
YCHARSIZE
CHARTHICK in optional

char thickness of the plot and cb

CBPOSITION in optional

colorbar position

NCOLORS in optional

number of colors to plot with

CBTITLE in optional

colorbar title

ZLOG in optional

plot with a log color scale

CBWIDTH in optional

width of the colorbar (normal coords)

CBOFFSET in optional

right offset of the colorbar from the plot (normal)

NOCOLORBAR in optional

dont plot a colorbar

FINE in optional

fine colorbar ticks for log

CBFORMAT in optional

format of the cololrbar ticks

CBCOLOR in optional

set the color of the colorbar

BREWER
xrange
yrange
keep_aspect_ratio
NOERASE
PLOTKEYWORDS
backgroound
cbcharsize
cbcharthick
CBHORIZONTAL
_EXTRA in optional

others to spectro_plot, mostly the same as plot

Examples

imagesc, dist(100), ct=12, /iso see: http://people.bu.edu/balarsen/Home/IDL/Entries/2007/12/18_imagesc_(updated_18Dec2007).html

Author information

History:

Tue Sep 1 11:32:34 2009, Brian Larsen rewritten to use dfanning routines, tvimage, colorbar. Removed SSWIDL dependence, saves color table and restores on exit Fri Jan 23 10:16:05 2009, Brian Larsen fixed up and made it use plotimage Fri Jan 16 16:15:33 2009, Brian Larsen fixes with specifiny zrange outside of image data values Fri Dec 12 14:12:05 2008, Brian Larsen rewritten as a wrapper from pg_plotimage not spectro_plot Mon Sep 8 13:45:27 2008, Brian Larsen added eps output code, stolen from HD Winter Wed Jun 25 12:04:33 2008, Brian Larsen changed to use fannings ctload and brewer color tables Tue Feb 5 16:15:50 2008, Brian Larsen more documentation and added CBCOLOR keyword and changed default loadct behoviour, now does not load a new cb unless CB is specified Tue Dec 18 13:28:08 2007, Brian Larsen totally rewritten once again, but this time log works, setting x and y ranges work and everything is happy. Now requires spectro_plot from solarsoft. Overall this is much more simple than before. Tweaked around keywords, sorry Mon Nov 26 19:37:12 2007, Brian Larsen rewritten to make colors work better Fri Oct 12 14:34:21 2007, Brian Larsen totally rewritten, made it a lot cleaner and a made the log functoinality work. Wed Oct 10 10:16:30 2007, Brian Larsen removed a few keywords, redundant from _extra Wed Sep 26 2007, Anthony W. Case Fixed charsize, cbcharsize, charthick, and cbcharthick keywords Mon Jan 22 17:28:52 2007, Brian Larsen cleaned up, added message routine, fixed error with scale_vector Wed Jan 3 14:01:33 2007, Brian Larsen Documented, writted previously. I am SURE there are piles of bugs in here as it is quite complicated a routine

Statistics

Lines: 211
McCabe complexity:

File attributes

Modifcation date: Wed Sep 2 18:13:32 2009
Lines: 329
Disclaimer