|
Project Information
Members
Featured
Downloads
|
A little tool to create 24-bit postscript color images from 2D fits files or text files. Uses pgplot and optionally lua for scripting. Note, that the raster images in postscript code generated by pgplot contain only 256 colors selected from 24-bit palette even though the colors are expressed as 24-bit numbers. Colormap replaces the pgplot raster images with fully 24-bit colors.
USAGE: colormap [options] file [luafile]
Please note, that the options are case sensitive
For a list of commands available in luafile, use command ListCommands();
The available command line options are:
-a <value> lowest value to display
-b <value> highest value to display
-o <file> output to file (.gif or .eps/.ps)
-f <flag> set flags. Currently supported flags are:
flipx: flip x axis
noaxis: disable displaying x and y axis
noaxis: disable displaying x and y axis
nonumbers: disable displaying the numbers
noxnumbers, noynumbers
noticks: disable drawing ticks
nowedge: disable displaying the color wedge
reverse: reverse colormap
rticks: reverse tickmark color
trismooth: use 2D triangular kernel to
smooth the data
verbose: verbose output
wedgeright: place the wedge vertically on the right
8bit: generate pgplot postscript
24bit: generate 24 bit postscript (DEFAULT)
-g <code> set scaling method, possible values are:
linear, log, alog, sqrt, square, cbrt, cube
asinh, sinh, atanh, tanh and histeq
pow and lupton have optional parameters
-l <label> label for the X-axis
-m <label> label for the Y-axis
-p <code> set color palette type, possible values are:
rainbow (default), grayscale, red, green, blue
bb, heat, bb2, iraf, aips, rainbow2, rainbow3(?)
-s <value> pixelscale for both x and y
-t <title> set title of the figure
-v <var=va> set variables (e.g. " -v label_thickness=2.0")
currently supported are:
contrast
brightness
contoursigma (smoothing factor)
contourstart (low sigma, default 3.0)
contoursampling (sampling factor, default 1.0)
tick_length
tick_thickness
label_size
label_thickness
x1,y1,x2,y1
cx,cy
sigma,region,iter
bregion
scale (resampling factor)
bcgcolor (e.f.#C0C000)
-x <value> reference x pixel
-y <value> reference y pixel
-h display this help
|