Hi all,<br><br>I'm plotting a function with x-values ranging from 0 to 1500000, and y-values from 0 to 160000. The plot has to be around 12cm wide, so I set xunit=.00008mm. The plot works fine, but only if I set "labels=none" in the \psaxes options. The following example shows that clearly:<br>
<br>\documentclass{article}<br><br>\usepackage{pstricks}<br>\usepackage{pst-plot}<br><br>\begin{document}<br><br>\psset{unit=.00008mm,xunit=.00008mm,yunit=.0004mm}<br><br>\begin{pspicture}(0,0)(1500000,160000)<br>% Axes<br>
\psaxes[Dx=250000,Dy=50000,labels=none]{->}(0,0)(1500000,160000)<br>% Functions<br>\psplot[showpoints=true,plotpoints=15]{0}{1500000}{0.08615 x mul 18000 add}<br>\psplot[showpoints=true,dotstyle=square*,plotpoints=15]{0}{1500000}{0.05468 x mul 42000 add}<br>
% Captions<br>\rput[l](1000000,70000){\psline(0,2000)(100000,2000)\psdot(50000,2000)\qquad\quad graph one}<br>\rput[l](1000000,50000){\psline(0,2000)(100000,2000)\psdot[dotstyle=square*](50000,2000)\qquad\quad graph two}<br>
\end{pspicture}<br><br>\end{document}<br><br>Anytime I change the options of \psaxes to "labels=all", I get an error "Dimension too large". I could \rput all values, but it is tedious and I'd like to know how to make this work. <br>
<br>Thanks in advance,<br><br>Mikel<br>