Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to use \psaxes and \psgrid but it doesn't runs well.

What am I doing wring?

\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pst-node}
\usepackage[utf8]{inputenc}
\usepackage{eurosym}

\begin{document}
 \begin{pspicture}(-2,-2)(12,6) %\malla
% \psaxes{<->}(3,3)
% \psaxes[linewidth=1.2pt,labels=none,ticks=none]{<->}(2,1)(0,0)(4,3)
 \rput(1,2){\circlenode{V}{\textcolor{blue}{Vigo}}}
 \rput(1,5){\circlenode{C}{\textcolor{magenta}{Coru\~na}}}
 \rput(3,2){\circlenode{S}{\textcolor{red}{Scq}}}
 \rput(3,5){\circlenode{P}{\textcolor{green}{Po}}}

 \ncarc[arcangle=33]{->}{V}{C}
 \naput*{\small 45 \euro}   % This line show error on compiling.

 \ncarc[arcangle=11]{->}{S}{P}
 \ncput*{\small 25 \euro }

 \ncarc[arcangle=75]{->}{S}{P}
 \ncput*{\small{\blue 15 \euro} }

 \psbezier[linecolor=blue, linestyle=dashed]{*-*}(4,-0.5)(6,6)(8,-2)(10,2)

\rput(8,3){Esto é unha proba.}

\pscurve[linecolor=blue, linewidth=0.035]{o-o}(6,5)(7,4)(8,5.8)(9,5.8)(10,4)(11,6)

\psdots[dotsize=0.4](10,2)

\pscustom{
\pscurve(10,-2)(11,2)(11.5,1)
\psline(11.5,1)(11.5,-1)
\fill[fillstyle=solid,fillcolor=lightgray]
}
\end{pspicture}
\end{document} 
share|improve this question
    
Excuse me, just after posting...i realized. –  Mika Ike Jun 13 '13 at 14:23
add comment

closed as too localized by cmhughes, mafp, Thorsten, Werner, Heiko Oberdiek Jun 13 '13 at 16:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

Solved!

Solution: You must include the line \usepackage{pst-plot}.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.