[pstricks] Minipage and Pstricks -> xAxis undefined.

Hans Henrik Sievertsen hhsievertsen at gmail.com
Mon Nov 12 13:48:48 CET 2007

Im quite new to pstricks, but already fascinated. I'm very thankful for the
great package and documentation. But I have a small problem, and I can't
find any solution for it in the documentation or mailing-list.

I have to pstricks figures, that I want to place next to each other. For the
moment I'm using \minipage, and it is working all fine. But I find, that som
features from \pstricks are not possible in the \minipage environment. F.
ex. creating two y-axes or using "nEnd" in a listplot.

Is it possible to get the full functionality of pstricks in \minipage? Or
can I use another set up? I have tried subfloat, with the same setup.

Here is an example:

\psset{xunit=0.75 mm}
  \psaxes[Dx=10,dx=0.75 cm,Ox=0,Dy=0.005
  \pstScalePoints(1,200){20 add}{0.00125 add}
  \listplot[linecolor=black,linewidth=1pt, nEnd=140]{\data}
\caption{Kaplan-Meier Hazard rates from open unemployment into ALMP}
\psset{xunit=0.375 mm}
  \psaxes[Dx=10,dx=0.375 cm,Ox=0,Dy=0.01
  \pstScalePoints(1,100){20 add}{0.01 add}
  \listplot[linecolor=black,linewidth=1pt, nEnd=140]{\dataa}
  \listplot[linestyle=dashed,linewidth=1pt, nEnd=140]{\datab}
  \rput(110,0){Non-participants}  \label{int}
  \caption{Unemployment in 2005}

The first error message reads:
! keyval: xAxis undefined.
\KV at error #1->....

When I place the two figures above each others as separate figures,
everything works fine.

Can anyone help?
Thanks in advance.

Hans H. Sievertsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20071112/41d8ce14/attachment.html 

More information about the PSTricks mailing list