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

Home » Public Forums » archive » Re: PNGs without X?
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: PNGs without X? [message #33757] Tue, 21 January 2003 12:12
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dr. Sven Geier (svenz@caltzech.edu) writes:

> So now I'm looking for some way to plot data into/onto a PNG (or GIF or JPG
> or whatever) without having an actual graphic server running

You might want to have a look at this article:

http://www.dfanning.com/graphics_tips/nowindow.html

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: PNGs without X? [message #33758 is a reply to message #33757] Tue, 21 January 2003 12:08 Go to previous message
tam is currently offline  tam
Messages: 48
Registered: February 2000
Member
Dr. Sven Geier wrote:
...
> Anybody know how to do a standard run-of-the mill X-type plot into a file or
> into an array or into RAM or such?
>
> Thanks in advance...
>
> -- SG
>
>

I believe the Z-buffer plotting device can be used here. Just...
set_plot, 'Z'
... Do your plotting
z=tvrd()
write_png,...

The DEVICE options let you set the number of pixels in the image.

There are probably better or more modern ways to do this, but I think
this will at least get you started.

Good luck,
Tom McGlynn
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: dialog_pickfile and the 'file' keyword
Next Topic: Re: How to plot with time as one axis ?

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

Current Time: Sat Oct 11 15:23:23 PDT 2025

Total time taken to generate the page: 0.05896 seconds