Why postscript colors are same as screen? [message #70843] |
Mon, 10 May 2010 02:49 |
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.
|
|
|