Hi,<br>Im quite new to pstricks, but already fascinated. I&#39;m very thankful for the great package and documentation. But I have a small problem, and I can&#39;t find any solution for it in the documentation or mailing-list.
<br><br>I have to pstricks figures, that I want to place next to each other. For the moment I&#39;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 &quot;nEnd&quot; in a listplot. 
<br><br>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.<br><br>Here is an example:<br><br>\begin{figure}[h]<br>&nbsp;\hfill<br>&nbsp;\begin{minipage}[t]{.45\textwidth}
<br>\readdata{\data}{KMALMP.txt}<br>\psset{xunit=0.75 mm}<br>\pspicture(0,0)(160,6)<br>&nbsp; \psaxes[Dx=10,dx=0.75 cm,Ox=0,Dy=0.005,dy=1cm,tickstyle=below,ticksize=5pt](20,0.25)(160,6.25)<br>&nbsp; \psaxes[xAxis=false,tickstyle=top,Dy=
0.005,dy=1cm,tickstyle=below,ticksize=5pt](160,0.25)(160,6.25)<br>&nbsp; \pstScalePoints(1,200){20 add}{0.00125 add}<br>&nbsp; \listplot[linecolor=black,linewidth=1pt, nEnd=140]{\data}<br>\endpspicture<br>\caption{Kaplan-Meier Hazard rates from open unemployment into ALMP}
<br>&nbsp;\end{minipage}<br>&nbsp;\hfill<br>&nbsp;\begin{minipage}[t]{.45\textwidth}<br>\readdata{\dataa}{KMEMPLNONPART.txt}<br>\readdata{\datab}{KMEMPLPART.txt}<br>\psset{xunit=0.375 mm}<br>\pspicture(0,0)(160,8)<br>&nbsp; \psaxes[Dx=10,dx=
0.375 cm,Ox=0,Dy=0.01,dy=1cm,tickstyle=below,ticksize=5pt](20,1)(160,8)<br>&nbsp; \psaxes[xAxis=false,tickstyle=top,Dy=0.01,dy=1cm,tickstyle=below,ticksize=-5pt](160,1)(160,8)<br>&nbsp; \pstScalePoints(1,100){20 add}{0.01 add}<br>&nbsp; \listplot[linecolor=black,linewidth=1pt, nEnd=140]{\dataa}
<br>&nbsp; \listplot[linestyle=dashed,linewidth=1pt, nEnd=140]{\datab}<br>&nbsp; \psline[linestyle=dashed,linewidth=1pt](50,0.25)(70,0.25)<br>&nbsp; \rput(60,0){Participants}<br>&nbsp; \psline[linewidth=1pt](100,0.25)(120,0.25)<br>&nbsp; \rput(110,0){Non-participants}&nbsp; \label{int}
<br>&nbsp; \caption{Unemployment in 2005}<br>&nbsp;\end{minipage}<br>&nbsp;\hfill<br>\end{figure}<br><br><br>The first error message reads:<br>! keyval: xAxis undefined.<br>\KV@error #1-&gt;....<br><br>When I place the two figures above each others as separate figures, everything works fine.
<br><br><br>Can anyone help?<br>Thanks in advance.<br><br>Hans H. Sievertsen<br>