|
|
Re: Writing a plot in PDF format from IDL [message #43558 is a reply to message #43450] |
Fri, 22 April 2005 08:29  |
David Jackson
Messages: 8 Registered: October 2003
|
Junior Member |
|
|
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1cd1827c1d7a30289899d9@news.frii.com...
> Here is what I just did to create a PDF file directly
> from IDL on my Windows machine:
>
> (1) Downloaded the *free* CutePDF Writer software from the
> fine folks at Globalscape. (Great FTP software, too!)
>
> http://www.cutepdf.com/
>
> (2) Typed the following commands in IDL:
>
> IDL> set_plot, 'printer'
> IDL> a=dialog_printersetup()
>
> At this point I selected the CutePDF Writer from my list of printers.
>
> IDL> Plot, findgen(11)
> IDL> Device, /Close
>
> Whala! A PDF document with my graphics was created! Easy, easy, easy!!
If you happen to have Adobe Acrobat, then you can just choose Adobe PDF in
the printer choice and this works just as easily!
DJ
|
|
|
Re: Writing a plot in PDF format from IDL [message #43575 is a reply to message #43450] |
Thu, 21 April 2005 09:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> If wishes were horses, beggars would ride. :-)
Whoa! I spoke too soon. :-)
Here is what I just did to create a PDF file directly
from IDL on my Windows machine:
(1) Downloaded the *free* CutePDF Writer software from the
fine folks at Globalscape. (Great FTP software, too!)
http://www.cutepdf.com/
(2) Typed the following commands in IDL:
IDL> set_plot, 'printer'
IDL> a=dialog_printersetup()
At this point I selected the CutePDF Writer from my list of printers.
IDL> Plot, findgen(11)
IDL> Device, /Close
Whala! A PDF document with my graphics was created! Easy, easy, easy!!
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Writing a plot in PDF format from IDL [message #43576 is a reply to message #43450] |
Thu, 21 April 2005 08:16  |
Ken Mankoff
Messages: 158 Registered: February 2000
|
Senior Member |
|
|
On Wed, 20 Apr 2005, kirkland wrote:
> This I know, but how could I write it directly from IDL without
> using a converter.
The PDF specs are publicly availabel on the Adobe site. Learn the
protocol and write it out. The good news is I hear it is much easier
to write a PDF than it is to read them.
-k.
|
|
|
|
|
|