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

Home » Public Forums » archive » Re: Using callable IDL from C / how to avoid IDL start up screen ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Using callable IDL from C / how to avoid IDL start up screen ? [message #5831] Tue, 20 February 1996 00:00
hahn is currently offline  hahn
Messages: 108
Registered: November 1993
Senior Member
Dennis NEVEJANS <Dennis.Nevejans@oma.be> wrote:

> Hello callable IDL experts,

> I have the following problem while using IDL from a C program.

> This program plots data in postscript format to a file via calls to IDL (for
> example IDL_Executestr("plot,X,Y");). The programs works fine but produces
> every time an IDL interactive window which we don't need since the program is
> not interactive at all and does only plot to files.

IDL uses the environment variable IDL_DEVICE to determine the
initial output device. If IDL_DEVICE is set IDL calls set_plot with
the given name. If IDL_DEVICE is not set IDL tries to start with
set_plot, 'X' or set_plot, 'WIN' or some similar device depending
on the operating system.

Note that if you output to PostScript you most likely need to call
DEVICE to pass necessary parameters to the PostScript driver.
Otherwise defaults are used such as portrait orientation, 8.5x11
inch paper, monochrome, filename idl.ps and more.

If you need a setup for European A4 or A3 paper drop me a mail...
> How does one get rid of this window? Is there a library call to avoid this?

> A solution is very welcome. Thanks beforehand for helping.

> Dennis Nevejans

> ------------------------------------------------------------ -----------------
> Institute: BELGISCH INSTITUUT VOOR RUIMTE-AERONOMIE (B.I.R.A.)
> (Belgian Institute for Space Aeronomy)
> Address: Ringlaan 3 B-1180 Brussels Belgium
> Telephone via operator: +32-2-374.81.21
> Telephone office: +32-2-373-0-482
> Telephone lab: +32-2-373-0-440
> Fax: +32-2-374.84.23
> Internet email address: Dennis.Nevejans@oma.be
> Our WWW server: http://www.oma.be/BIRA-IASB
> ------------------------------------------------------------ ------------------

Norbert Hahn
University of Darmstadt
Germany
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL FAQ
Next Topic: IDL vs. PV~Wave

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

Current Time: Wed Oct 08 17:25:40 PDT 2025

Total time taken to generate the page: 0.00503 seconds