Well, I have been using pst-func package, which says that it automatically loads the basic packages of pstricks, that is, pstricks, pst-plot, pstricks-add, pst-math, pst-xkey.
The problem is that when I set the \psaxes command, I obtain 4 errors, and I don't know how to solve this. \psaxes needs the pst-plot package, but I must be load automatically.
The errors are as follow:
Code: Select all
! Undefined control sequence.
\pst@@vlabels ->\psDEBUG
[pst@@vlabels]{yticksizeC=\the \pst@yticksizeC }\vb...
l.15 \end
{pspicture}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 15.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 15.
! Undefined control sequence.
\pst@@vlabels ->\psDEBUG
[pst@@vlabels]{yticksizeC=\the \pst@yticksizeC }\vb...
l.15 \end
{pspicture}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
\pst@@hlabels ->\psDEBUG
[pst@@hlabels]{xticksizeC=\the \pst@xticksizeC }\vb...
l.15 \end
{pspicture}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Code: Select all
\documentclass[10pt,letterpaper]{article}
\usepackage[spanish]{babel}
\usepackage[ansinew]{inputenc}
\usepackage{pst-func}
\begin{document}
{\red hola.}
\psset{yunit=0.5cm,xunit=1cm}
\begin{pspicture}[showgrid=false](-3,-5)(5,10)
\psaxes[Dy=2]{->}(0,0)(-3,-5)(5,10)
\end{pspicture}
\end{document}
Greetings.