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

Home » Public Forums » archive » Re: Using Postscript & Colours in IDL
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: Using Postscript & Colours in IDL [message #58334 is a reply to message #58333] Mon, 28 January 2008 02:08 Go to previous messageGo to previous message
Norbert Hahn is currently offline  Norbert Hahn
Messages: 46
Registered: May 2003
Member
chloesharrocks@gmail.com wrote:

> Hi
>
> I'm new to IDL and the concept of postscript, so this is probably a
> really naive question, but I'm having difficulties with getting my
> postscript plots to be in colour. An extract of my code is below:
>
> =====
> device, decomposed=0 ;specify I'm using Indexed Colors
> loadcolors ;loads graphics colors
[snip]
> entry_device = !d.name
> set_plot, 'PS'
> device, /color, /landscape, font_size=12, filename='FullScatterPlot' +
> STRTRIM(N, 1) + 'runs.ps'

I don't know the side effects of changing the graphics device, so
I usually use the following setup in a fixed sequence.

1st set_plot ; select device
2nd device, decomposed=0, /color, .... ; set device properties
3rd ... more device options ; set page properties
4th loadcolors ; set color for next page
5th ... more setup ; more setup for page
6th ... setup for first plot

HTH
Norbert
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl 7.0 eclipse plugins and updates
Next Topic: Europe/Africa province boundaries

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

Current Time: Fri Oct 10 22:17:50 PDT 2025

Total time taken to generate the page: 0.56028 seconds