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

Home » Public Forums » archive » plots for printing
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
plots for printing [message #25883] Thu, 26 July 2001 05:16 Go to next message
Dominik[1] is currently offline  Dominik[1]
Messages: 46
Registered: April 2001
Member
Hello there,

I need some plots for my report. And I made these plots with IDL (very good
programm for visualisation). Than I take screen shots of the pictures and
used it for printing.

The result was a wuite bad quality. Does somebody know, how I could do this
in a better way to get a good resolution for printing (maybe 300 dpi)?

Thanks for your help

Dom

--
====================================
Dominik Paul
Uniklinik Freiburg
Abt. Nuklearmedizin/PET
====================================
Re: plots for printing [message #25944 is a reply to message #25883] Fri, 27 July 2001 13:21 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
I use the PS device. Works very nicely. Color, too!

On Thu, 26 Jul 2001 14:16:44 +0200, "Dominik Paul" <dpaul@ukl.uni-freiburg.de> wrote:
> Hello there,
>
> I need some plots for my report. And I made these plots with IDL (very good
> programm for visualisation). Than I take screen shots of the pictures and
> used it for printing.
>
> The result was a wuite bad quality. Does somebody know, how I could do this
> in a better way to get a good resolution for printing (maybe 300 dpi)?
>
> Thanks for your help
>
> Dom
>
> --
> ====================================
> Dominik Paul
> Uniklinik Freiburg
> Abt. Nuklearmedizin/PET
> ====================================
>
>
Re: plots for printing [message #25969 is a reply to message #25883] Thu, 26 July 2001 15:11 Go to previous messageGo to next message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
"Dominik Paul" <dpaul@ukl.uni-freiburg.de> wrote in message
news:9jp1ne$14p$1@n.ruf.uni-freiburg.de...
> I need some plots for my report. And I made these plots with IDL (very
good
> programm for visualisation). Than I take screen shots of the pictures and
> used it for printing.
>
> The result was a wuite bad quality. Does somebody know, how I could do
this
> in a better way to get a good resolution for printing (maybe 300 dpi)?

Several people have recommended PostScript output to solve this problem.
However the PostScript device can be difficult to configure.My usual mode of
operation is to create the plot in a graphics window first, and when I'm
happy with it, I send the plot to the PostScript device with the same aspect
ratio and relative font sizes as the graphics window. The PSON and PSOFF
routines described in my book "Practical IDL Programming" are designed for
this purpose. These programs can be downloaded in the package of sample
programs available at

http://www.gumley.com/PIP/About_Book.html

For example, say you created the following plot in a graphics window:

window, /free
device, decomposed=0
z = dist(64)
z = shift(z, 32, 32)
z = exp(-(z * 0.1)^2)
loadct, 3
shade_surf, z, xstyle=1, ystyle=1, charsize=2, $
pixels=1000, xmargin=[4, 1], ymargin=[1, 0]

To reproduce the plot in a PostScript file:

pson
loadct, 3
shade_surf, z, xstyle=1, ystyle=1, charsize=2, $
pixels=1000, xmargin=[4, 1], ymargin=[1, 0]
psoff

The first call to PSON selects the PostScript device, and opens an output
file named 'idl.ps' by default. It also configures the PostScript device to
have the same aspect ratio as the current graphics window, selects color
output by default, and sets the PostScript font size to the same relative
size as the graphics window. After the plot is created, PSOFF closes the
output file, and reselects the graphics device that was active before PSON
was called.

I used PSON and PSOFF to generate most of the figures in my book, and I
continue to find these routines useful for creating PostScript output. For
more details, see the book.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: plots for printing [message #26039 is a reply to message #25883] Wed, 01 August 2001 05:29 Go to previous message
david[2] is currently offline  david[2]
Messages: 100
Registered: June 2001
Senior Member
Dominik Paul writes:
>
> I need some plots for my report. And I made these plots with IDL (very good
> programm for visualisation). Than I take screen shots of the pictures and
> used it for printing.
>
> The result was a wuite bad quality. Does somebody know, how I could do this
> in a better way to get a good resolution for printing (maybe 300 dpi)?

You might try MPI_PLOT. It will allow you to create
simple line plots, with lots of options for visualization.
But it will also allow you to save the file in various
formats, one of which is PostScript. That, of course,
is what you need if you want high-quality output.

http://www.dfanning.com/program/mpi_plot.zip

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Question about using database like access or dbase?
Next Topic: base widgets growing uncontrollably.... ?

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

Current Time: Wed Oct 08 13:17:44 PDT 2025

Total time taken to generate the page: 0.00616 seconds