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

Home » Public Forums » archive » wrong bounding box
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
wrong bounding box [message #20106] Wed, 17 May 2000 00:00 Go to next message
noymer is currently offline  noymer
Messages: 65
Registered: June 1999
Member
Thanks Dave and Pavel for your advice Re: grayscale.

I have another question re: EPS files.

DEVICE, XSize=10, YSize=8, /ENCAPSULATED, $
Filename='foo.eps'

The bounding box is usually right on. But when I have
a second Y axis, the BB is too far to the left, i.e.
the rightmost y-axis-labels are clipped.

Easily fixed: modify the BB by hand. It's the second
line of the EPS file, which is just an ASCII text file.

But: why is this??? How hard can it be to calculate a
frigging bounding box?

And: can I use the xoffset keyword? Man page says this
does not work for /ENCAPSULATED.

BTW, I'm using 5.0.1 -- sorry.

-Andrew
noymer@my-deja.com

--
Andrew
noymer@my-deja.com


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: wrong bounding box [message #20154 is a reply to message #20106] Thu, 18 May 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
> Kenneth P. Bowman (kbowman@null.net ) writes:
>
>> Here's a workaround: Save the file as PS instead of EPS. Run it
>> through Adobe Acrobat Distiller to make a PDF file. You can open the
>> PDF file in Illustrator and save it in Illustrator or EPS format.
>>
>
> That's no "work-around". That is a run-around!

Feel the Zen, David. Remember, IDL is another state of mind. You can
do it.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: wrong bounding box [message #20155 is a reply to message #20106] Thu, 18 May 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kenneth P. Bowman (kbowman@null.net ) writes:

> Here's a workaround: Save the file as PS instead of EPS. Run it
> through Adobe Acrobat Distiller to make a PDF file. You can open the
> PDF file in Illustrator and save it in Illustrator or EPS format.
>

That's no "work-around". That is a run-around!

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
Re: wrong bounding box [message #20171 is a reply to message #20106] Thu, 18 May 2000 00:00 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
"Kenneth P. Bowman" wrote:
>
> In article <8fvole$s5d$1@nnrp1.deja.com>, Andrew <noymer@my-deja.com>
> wrote:
>
> Here's a workaround: Save the file as PS instead of EPS. Run it
> through Adobe Acrobat Distiller to make a PDF file. You can open the
> PDF file in Illustrator and save it in Illustrator or EPS format.

I use epstool to convert IDL PS output to EPS - gives me a preview also
if I want to import the file into a WP app. To be fair, I've also had
problems as described creating EPS files in other unix apps. Maybe it's
the same funkified code? :o)

paulv
--
Paul van Delst Ph: (301) 763-8000 x7274
CIMSS @ NOAA/NCEP Fax: (301) 763-8545
Rm.202, 5200 Auth Rd. Email: pvandelst@ncep.noaa.gov
Camp Springs MD 20746
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Pretty-printing IDL code?
Next Topic: directing control after program interruption

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

Current Time: Wed Oct 08 19:07:32 PDT 2025

Total time taken to generate the page: 0.00964 seconds