comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Color Plots and Grey-scale Images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Color Plots and Grey-scale Images [message #5126] Thu, 05 October 1995 00:00
Pat Broos is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Display to other apps?
Next Topic: problem with call_external()

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:50:22 PDT 2025

Total time taken to generate the page: 0.00503 seconds