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

Home » Public Forums » archive » Re: legend and not getting colors when device is postscript
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: legend and not getting colors when device is postscript [message #55686] Wed, 05 September 2007 21:41
teich is currently offline  teich
Messages: 33
Registered: May 2007
Member
On Sep 6, 12:32 am, David Fanning <n...@dfanning.com> wrote:
> te...@atmsci.msrc.sunysb.edu writes:
>> I am using legend.pro from idlastro library. My device is set to a
>> postcript file before I call legend. I have a color table loaded as
>> well. When I call legend, I specify colors for the legends, but the
>> legends never come out with any colors. I get the colors when the
>> device is the screen but that's not useful. Can anyone help?
>
> Have you turned color on in your PostScript file:
>
> Set_Plot, 'PS'
> Device, Color=1, Bits_Per_Pixel=8
>
> etc.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I've gotten things to work --thanks
Re: legend and not getting colors when device is postscript [message #55687 is a reply to message #55686] Wed, 05 September 2007 21:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
teich@atmsci.msrc.sunysb.edu writes:

> I am using legend.pro from idlastro library. My device is set to a
> postcript file before I call legend. I have a color table loaded as
> well. When I call legend, I specify colors for the legends, but the
> legends never come out with any colors. I get the colors when the
> device is the screen but that's not useful. Can anyone help?

Have you turned color on in your PostScript file:

Set_Plot, 'PS'
Device, Color=1, Bits_Per_Pixel=8

etc.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: legend and not getting colors when device is postscript
Next Topic: Re: write_png missing on my mac (6.4)

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

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

Total time taken to generate the page: 0.00498 seconds