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 #58328 is a reply to message #58324] Mon, 28 January 2008 06:45 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
chloesharrocks@gmail.com writes:

> PS. What do you mean by a "postscript device" (as I said - COMPLETE
> NOVICE HERE!)? Is that referring to the software I use to open the ps
> files or something else entirely?

IDL draws graphics commands to a "graphics device". There
are several kinds of "graphics devices". One is your display,
which is probably named "X", another is PostScript, named
"PS", another is the Z-graphics buffer, named "Z", etc.
IDL can only draw graphics to one graphics device at a
time. The one that is being used currently is stored
in !D.NAME. So, to find out which one you are using (that
is to say, where your graphics are going to go), type
this:

IDL> Print, !D.Name

You select other graphics devices with the SET_PLOT
command:

IDL> Set_Plot, 'PS'
IDL> Set_Plot, 'X'
IDL> Set_Plot, 'Z'

You use the DEVICE command to "control" the graphics device.
That is, to set it's properties and the way it works. But,
the keywords you can use with DEVICE depend entirely on which
graphics device is the current one when you issue your DEVICE
command. (This is why your DEVICE, DECOMPOSED=0 command sometimes
works and sometimes doesn't. Sometimes you are using a device that
supports it and sometimes you aren't. You have to know when you
are and when you aren't!)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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 16:27:57 PDT 2025

Total time taken to generate the page: 0.08423 seconds