[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Graphics translation: eps bounding box question
See Alan Riley's response to this question in the statalist archives:
> -----Original Message-----
> From: Eva.Poen@student.unisg.ch [SMTP:Eva.Poen@student.unisg.ch]
> Sent: Wednesday, August 07, 2002 11:05 AM
> To: email@example.com
> Subject: st: Graphics translation: eps bounding box question
> Dear list readers,
> I have encountered the following problem:
> In the course of some descriptive analysis I need to create a total of ca.
> 120 graphs in Stata (MS Windows System). I have written a loop to do this
> efficiently, and everything is fine to this end.
> Now I want to convert part of the graphs to .eps format, in order to
> include them into my LaTeX document. This can be done by typing something
> - translate graphi`i'.gph graph`i'.eps -
> in my loop. There are two problems with the bounding box of the resulting
> 1) The bounding box is not given in integers, but as i.e. "0.000 0.000
> 432.000 288.000". This causes ghostview/-script to complain. It should be
> "0 0 432 288".
> 2) The bounding box is calculated too large, leaving white space below the
> graph. In my case this is about 1/3 of the whole picture.
> I would be very happy if at least problem 1) could be solved somehow from
> within Stata (or in some other way). If the bb is given in integers,
> epstool can correct the size of the bb. As long as the bb is not in
> integers, epstool refuses to work.
> Any help is very much appreciated.
> Best regards,
> Eva Poen
> St. Gallen, Switzerland
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try: