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

Home » Public Forums » archive » Re: No colors when plotting
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
Re: No colors when plotting [message #8155] Thu, 13 February 1997 00:00
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
burkhard prause wrote:
>
> I run IDL on a Sun Ultra1, model 170E, Creator3D. When plotting data
> (eg. any of
> the routines described in chapter 14 of the user guide) I can only get
> black and white output. The "colors = ...." seems to have no effect. I
> can use colortables for image visualization.
>
> Does anybody have suggestions where the problem might be?
>
> Thanks,
>
> Burke
> --

Can you post a sample of the code that shows this behaviour?

What happens if you make a plot and then run Xpalette to
change the colour tables interactively. Does it still
remain in black and white or can you change the colours?

Tim
Re: No colors when plotting [message #8160 is a reply to message #8155] Thu, 13 February 1997 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
burkhard prause wrote:
> I run IDL on a Sun Ultra1, model 170E, Creator3D. When plotting data
> (eg. any of
> the routines described in chapter 14 of the user guide) I can only get
> black and white output. The "colors = ...." seems to have no effect. I
> can use colortables for image visualization.
> Does anybody have suggestions where the problem might be?

Here's an idea:

If you are using the Common Desktop Environment (CDE), it may
be grabbing almost all of the available colors for itself.
At the bottom of your desktop, you should see a row of icons.
Select the one on the right that shows a color palette.
Then select the 'Colors', 'Number of colors' option.
Check 'More for Applications'. Then restart IDL.

Of course, it could be something else.

Cheers,
Liam.
Re: No colors when plotting [message #8161 is a reply to message #8155] Thu, 13 February 1997 00:00 Go to previous message
Burkhard Prause is currently offline  Burkhard Prause
Messages: 6
Registered: February 1997
Junior Member
David Fanning wrote:

> Sounds strange. I'd like to know how many colors IDL
> *thinks* it is using:
>
> IDL> Print, !D.N_Colors
>
> I'm going to guess that the answer is over 256. If it is,
> start up IDL and before you do anything else, type this:
>
> IDL> Device, Pseudo=8
>
> See if that helps.
>

Sorry to say that it is 256. Good suggestion, though. I thought that
that was the problem, just didn't know how to check.

Guess for the time being I'm stuck in monochrome (at least for
plotting).

Thanks,

Burke
************************************************************ ********************
BURKHARD A. PRAUSE
DEPARTMENT OF PHYSICS
UNIVERSITY OF NOTRE DAME
NOTRE DAME, IN 46556
bprause@campra.phys.nd.edu
(219) 631-4088
Fax: (219) 6315952
************************************************************ ********************
Re: No colors when plotting [message #8171 is a reply to message #8155] Wed, 12 February 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Burke Prause <bprause@campra.phys.nd.edu> writes:

> I run IDL on a Sun Ultra1, model 170E, Creator3D. When plotting data
> (eg. any ofthe routines described in chapter 14 of the user guide)
> I can only get black and white output. The "colors = ...." seems to have
> no effect. I can use colortables for image visualization.
>
> Does anybody have suggestions where the problem might be?

Sounds strange. I'd like to know how many colors IDL
*thinks* it is using:

IDL> Print, !D.N_Colors

I'm going to guess that the answer is over 256. If it is,
start up IDL and before you do anything else, type this:

IDL> Device, Pseudo=8

See if that helps.

Cheers!

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Exceed with IDL
Next Topic: Re: DICOM images: anyone written code to read them?

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

Current Time: Wed Oct 08 15:10:45 PDT 2025

Total time taken to generate the page: 0.00770 seconds