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

Home » Public Forums » archive » 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
Why postscript colors are same as screen? [message #70843] Mon, 10 May 2010 02:49
Mrunmayee is currently offline  Mrunmayee
Messages: 24
Registered: May 2009
Junior Member
I have an array, say data[311,550]. It contains only 0's and 1's and I
am trying to display it. When I use
IDL> tvscl, data
I get output on the screen with 0's painted with black and 1's with
white. Exactly what I want. When I do
IDL> set_plot,'ps'
IDL> tvscl, data
IDL> device,/close & set_plot,'x'
I get output - again 0's are painted black and 1's are painted white.
I thought, the default color table is reversed when we plot in
postscript. Which is why plot is balck-background-white-foreground on
screen but reversed in postscript. But that's not what I am getting
here. Am I missing something here? When it comes to images, I am very
very unskilled.
[Message index]
 
Read Message
Previous Topic: Re: How to detect ellipse intersection
Next Topic: Why there is no cot function in IDL

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

Current Time: Fri Oct 10 10:47:14 PDT 2025

Total time taken to generate the page: 1.28308 seconds