Color Plots and Grey-scale Images [message #5126] |
Thu, 05 October 1995 00:00 |
Pat Broos
Messages: 2 Registered: October 1995
|
Junior Member |
|
|
Oh color table guru,
I wish to create grey-scale image displays AND plots that use color at the same
time. I know how to create a color table with a grey-scale in the lower part
of the table and the colors I need in the last few entries. I know how to
use BYTSCL with the TOP keyword and then TV to display an image using only
the grey-scale portion of my color table.
My question is this: is there anyway to write to the system variable
!D.TABLE_SIZE so that TVSCL can be tricked into using only the grey-scale
portion of my color table?
A suggestion for RSI eyes: it would be wonderful if IDL provided these
services directly. For example you could provide a procedure that "installs"
colors by name ("RED", "BLUE", etc) into the upper parts of the color table
and adjusts !D.TABLE_SIZE to hide them from TVSCL. Then, all routines which
take a COLOR keyword could be made to understand colors by name, .e.g
PLOT, X, Y, COLOR='RED'
Thanks for the help, Patrick Broos
--
============================================================ ==================
Patrick S. Broos, Software Engineer patb@astro.psu.edu
Department of Astronomy and Astrophysics My office 814-863-5505
Penn State University
525 Davey Lab FAX 814-863-3399
University Park, PA 16802-6305
http://www.astro.psu.edu Dept office 814-865-0418
|
|
|