[comp.lang.postscript] Including Plot

metz@iam.unibe.ch (Igor Metz) (10/25/89)

I'm having trouble including plot(5), which I have converted to PostScript
using psplot (from TranScript), into a LaTeX document (using psfig macros
and dvi2ps).
1. problem: psplot doesn't generate a BoundingBox. Have fixed that.
2. problem: the plot will not be scaled on the page, instead it occupies
 the same amount of space as if it were not embedded.

Any idea? Thanks in advance
-- 

Igor Metz                    X400: metz@iam.unibe.ch
Institut fuer Informatik     ARPA: metz%iam.unibe.ch@relay.cs.net
und angewandte Mathematik    UUCP: ..!uunet!mcvax!iam.unibe.ch!metz

trevor@mit-amt.MEDIA.MIT.EDU (Trevor Darrell) (10/26/89)

In article <1989Oct25.140456.27540@iam.unibe.ch> metz@iam.unibe.ch (Igor Metz) writes:
>I'm having trouble including plot(5), which I have converted to PostScript
>using psplot (from TranScript), into a LaTeX document (using psfig macros
>and dvi2ps).
>2. problem: the plot will not be scaled on the page, instead it occupies
> the same amount of space as if it were not embedded.

Try using the clip option for that \psfig command. The code generated
by psplot uses the currrent clipping path to decide where to draw (ugh!). 
The clip option was originally implemented to deal with this misfeature.

--trevor