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

Home » Public Forums » archive » Re: Why postscript colors are same as screen?
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: Why postscript colors are same as screen? [message #70836] Mon, 10 May 2010 06:30 Go to previous message
Mrunmayee is currently offline  Mrunmayee
Messages: 24
Registered: May 2009
Junior Member
Oh! I didn't even bother to wonder about this! I mean, I knew !p.color
was changed, but somehow I extended it to color table. So I tried
reversing the color table 0 which gives desired o/p (at least on
screen).

And programming Gods? Oh, they HAVE tested me on postscript and sent
me to hell multiple times.

On May 10, 6:03 pm, JM <j...@dmu.ac.uk> wrote:
> Isn't it just the !P.Color system variable (used for drawing) that
> gets changed?
>
> IDL> print, !P.Color
> 16777215
> IDL> SET_PLOT, 'PS'
> IDL> print, !P.Color
> 0
>
> The rationale for this being that default background colour for a plot
> window happens to be black, and the usual colour for paper happens to
> be white.
>
> -John Mardaljevic
>
> PS. The programming gods must be smiling on me: my PS output looks
> pretty much like it does in X-windows. Actually better than in X-
> windows since the PDF[1] is of course vector graphics and any bitmaps
> are shown at the correct (i.e. my) resolution rather than the screens.
>
> [1] I convert the PS directly to PDF using lossless compression and
> junk the PS immediately. Ah, the joys of using a PDF-savvy OS, i.e.
> MAC OS X.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: passing an idl function to a c-code ?
Next Topic: Polygon Smoothing

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

Current Time: Fri Oct 10 11:06:18 PDT 2025

Total time taken to generate the page: 0.87647 seconds