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

Home » Public Forums » archive » simple, yet eluding...different color lines in a plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: simple, yet eluding...different color lines in a plot [message #13027 is a reply to message #12836] Thu, 24 September 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
T Bowers (tbowers@nrlssc.navy.mil) writes:

> hmmmm... doesn't work.
> plot,x,a, color=1 ;gives me a red line
> oplot,x,b, color=2 ;= black line
> oplot,x,b, color=3 ; = black line
>
> strange, i seem to ONLY get red or black colors if i try
> to specify a color. i tried tek_color 1st and the docs say:

Todd, you have something *seriously* wrong with your IDL
session. I suspect you have Netscape running. :-)

You are just plain out of colors. Try this:

(1) Open an IDL session.
(2) Type: Window
(3) Now type: Print, !D.N_Colors

You should have *at least* 150 or so. If you don't, try
closing all the other applications you have running before
you start IDL. Same thing? Then I suspect something has
gone wrong in one of your startup files.

(4) Do steps 1 and 2, then type:

Help, /Device

What kind of visual class to you have? How many colors?
We definitely need more clues to get this puppy hunting. :-)

All else fails, try this:

(1) Open an IDL session.
(2) Type: Window, Colors=240
(3) Now type: Print, !D.N_Colors
(4) Now type: Help, /Device

Do you have a private color table? Yes? But you have
240 colors, no? Can you live with color flashing? :-)

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multithreaded external routines for IDL/WinNT
Next Topic: Contributed Source: CW_selectaxes (Corrected and working!)

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

Current Time: Sat Oct 11 03:52:46 PDT 2025

Total time taken to generate the page: 0.87814 seconds