Graphics, Figures & Tables ⇒ Problem with \psaxes
Problem with \psaxes
I've a problem using \psaxes plotting a simple axe (I've omitted some graph parts), the figure code is:
\centering \scalebox{1}{
\psset{xunit=1cm,yunit=1cm}
\begin{pspicture}(-0.5,-0.5)(12,6)
\psaxes[Dx=5,dx=1cm,Dy=4000,dy=1cm,tickstyle=below,ticksize=3pt]{->}(0,0)(11,6)
\end{pspicture}}
... and I receive an error: "...Dimension to large". Then, I try to change "yunit" and other things but I've always the same error.
On the contrary, if I change Dy value to 3000 it works!. I don't understand the problem. The problem has begun after
an upgrade to ubuntu Lucide. I'll be very grateful to any comments, thanks in advance.
Carlos
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
Re: Problem with \psaxes

-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
Problem with \psaxes
carlos wrote:... and I receive an error: "...Dimension to large". Then, I try to change "yunit" and other things but I've always the same error.
On the contrary, if I change Dy value to 3000 it works!. I don't understand the problem. The problem has begun after
an upgrade to ubuntu Lucide. I'll be very grateful to any comments, thanks in advance.
Carlos
Code: Select all
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(-0.5,-0.5)(12,6)
\psaxes[Dx=5,dx=1cm,Dy=4,dy=1cm,ylabelFactor=\cdot10^3,
showorigin=false,ticksize=3pt]{->}(0,0)(11,6)
\end{pspicture}
\end{document}
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm