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

Home » Public Forums » archive » Re: set_plot, 'win/x'
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: set_plot, 'win/x' [message #28861 is a reply to message #28859] Sat, 12 January 2002 23:17 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Glenn Newnham <glenn.newnham@adelaide.edu.au> writes:

> I want an application to run on windows or UNIX/LINUX so I want to be
> able to automatically select between the commands
>
> set_plot, 'win'
> and
> set_plot, 'x'
>
> Is there a way detect what platform a program is running on?

Is the !VERSION structure enough?

However, usually IDL is already in the "right" graphics mode. The
better thing to do is to store !D.NAME in a safe place, and then
restore it later.

Yours,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Using Perl w/idl
Next Topic: IDLWAVE 4.12

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

Current Time: Sat Nov 29 09:04:34 PST 2025

Total time taken to generate the page: 1.11321 seconds