[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to ps an image

rgs <dejastockwell@my-deja.com> writes:
> Hail,
> This is kinda a dumb question that I'm pretty
> sure I know what to do, but I'm interested to
> see if anyone has already done this, and has a
> good solution.
> I am outputing data into a plot window (in direct graphics)
> that requires a large number of solid polyfill rectangles
> (on the order of a few million).
> When I write this to postcript, it makes a huge file
> (50 meg up to ~few hundred), and of course is slow
> to print and view etc.
> (drawing to screen isn't a problem. Sure it takes a few seconds,
> but no big deal.)
> Obviously making an image would create a much
> better printer file.
> Question:
> What is the best (publication quality) way to create
> an image file of graphical output? I would prefer
> postscript, to be consistent with all the other
> figures I do. Are there any scalable image formats?

Could you not do the following?

 * Read the screen image with TVRD
 * Write the image to disk with WRITE_GIF, or whatever format
 * Replot the image using TV, or TVIMAGE (from David Fanning) and send
   it to postscript.

Those are the kinds of things that I do.

Good luck,

Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response