[pstricks] A pdfpic question

CV Radhakrishnan cvr at river-valley.org
Thu Feb 3 05:46:32 CET 2005


On Thu, February 3, 2005 5:25 am, Vince McGarry said:
> I've been experimenting with pdftricks using pdfpic. The following minimal
> example seems to be clipped at the bottom, both ignoring the lower
> vertical specification of -4 for pspicture (somewhat large) and apparently
> calculating the bounding box incorrectly as a consequence of using two
> different units.
>
>
> \usepackage{ifpdf}
> \ifpdf%
>     \usepackage{pdftricks}
>     \begin{psinputs}
>         \usepackage{pstricks}
>         \usepackage{pst-plot}
>     \end{psinputs}
> \else
>     \usepackage{pstricks}
>     \usepackage{pst-plot}
>     \newenvironment{pdfpic}{}{}
> \fi
>
>
> \begin{pdfpic}
>     \psset{xunit=50pt,yunit=20pt}
>     \begin{pspicture*}(-1,-4)(5,7)
>     \psaxes[showorigin=false,ticks=all,arrowscale=1.5]{->}(4.5,6.5)
>     \end{pspicture*}
> \end{pdfpic}
>
> When xunit and yunit are equal there is no problem. Am I making some
> obvious error here?

Sorry, I couldn't replicate your problem.  Could you take a look at the
output I got in my system at:

  http://www.river-valley.com/cvr/download/vince.pdf

-- 
Radhakrishnan





More information about the PSTricks mailing list