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 #70837 is a reply to message #70836] Mon, 10 May 2010 06:03 Go to previous messageGo to previous message
JM[1] is currently offline  JM[1]
Messages: 8
Registered: October 2009
Junior Member
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: Sat Oct 11 21:44:36 PDT 2025

Total time taken to generate the page: 1.36077 seconds