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

Home » Public Forums » archive » Using FSC_COLOR with postscript devices
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Using FSC_COLOR with postscript devices [message #55294] Thu, 16 August 2007 10:24 Go to previous message
willettk is currently offline  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!
[Message index]
 
Read Message
Read Message
Previous Topic: Question on collection change - MOD07 air profile
Next Topic: Runtime license: newbie questions

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

Current Time: Fri Oct 10 10:28:12 PDT 2025

Total time taken to generate the page: 0.24024 seconds