Using FSC_COLOR with postscript devices [message #55294] |
Thu, 16 August 2007 10:24  |
willettk
Messages: 20 Registered: October 2006
|
Junior Member |
|
|
G'day all,
I've been using David's excellent FSC_COLOR routine for some time now
on my Mac, with very good results. Apparently I've never tried to make
a hard copy of my plots, though, because I'm having a good deal of
trouble getting them to appear in the PS as they do on my terminal. No
matter what the settings, every line is set to the _last_ color I
define using FSC_COLOR. For example, the following code produces three
green lines with green axes on a white background in the PS device:
;;;;;;;;
pro colortest
device, decomposed = 0
set_plot,'ps'
device,filename='test.ps', /color, bits_per_pixel = 8
black = fsc_color("Black")
red = fsc_color("Red")
green = fsc_color("Green")
plot, indgen(10)+1, color = black
oplot, indgen(10)+2, color = red
oplot, indgen(10)+3, color = green
device, /close
end
;;;;;;
I've also tried with DECOMPOSED = 0 to no change. I _can_ set my
colors in the old-fashioned way using TVLCT, but I'd much prefer the
easy definitions of FSC_COLOR. I've read David's chapter on working
with color and several related postings, but haven't pinned down the
problem yet. Any advice?
Thanks very much!
|
|
|