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

Home » Public Forums » archive » using plot() function in a batch file
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 plot() function in a batch file [message #74403] Tue, 11 January 2011 10:45
Marc Buie is currently offline  Marc Buie
Messages: 12
Registered: December 2010
Junior Member
Folks -

I've been investing some time in working with the new plotting functions in IDL v8.0. Things are still a little rough around the edges but there are definite advantages, particularly the device independence.

There are occasions when I generate graphics in a batch file or cron job. Under these circumstances, the IDL process does not have access to a display (X or otherwise). With direct graphics I used the 'Z buffer' as the device.

Has anyone found a way to do this with the new tools? I've been all over the documentation on this and can't find any relevant discussion. I did try the following:

p=plot(x,y,hide=1)
p.save,'test.png'

but this crashes with the following message:

% WIDGET_CONTROL: Unable to connect to X Windows display: :0.0
% PLOT: WIDGET_CONTROL: Unable to establish X Connection.

This doesn't sound very encouraging but I'm still holding out hope that there's something I've forgotten about and just haven't been able to locate in the documentation.

Cheers,
Marc
[Message index]
 
Read Message
Previous Topic: using xCode on the Mac to build a DLM
Next Topic: Re: using plot() function in a batch file

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

Current Time: Fri Oct 10 02:25:56 PDT 2025

Total time taken to generate the page: 1.19955 seconds