[pstricks] PSTricks Digest, Vol 175, Issue 3
Germain Boyer
germain.boyer at ac-toulouse.fr
Wed Sep 6 17:12:16 CEST 2017
Hello,
In the code of Herbert
\documentclass[12pt]{article}
\usepackage{pstricks,pst-plot}
\begin{document}
\newcommand*\f[1]{(#1)^2/4}
\newcommand*\ordon[1]{\psdots(*#1 \f{#1})%
\uput[90](*#1
\f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}}
\begin{center}
\begin{pspicture}(-2,-1)(5,8)
\psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180]
\psplot[linecolor=red,algebraic]{-2}{5}{\f{x}}
\multido{\i=-2+2}{4}{ \ordon{\i}}
\ordon{3.5}
\end{pspicture}
\end{center}
\end{document}
replace \usepackage{pstricks,pst-plot} by \usepackage{pst-eucl,pst-plot}
and it works.
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{fourier}
\usepackage{pst-plot}
\usepackage{pst-eucl}
\begin{document}
\newcommand*\f[1]{(#1)^2/4}
\newcommand*{\ordon}[1]{\psdots(*#1 \f{#1})%
\uput[90](*#1
\f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}}\begin{center}
\begin{pspicture}(-2,-1)(5,8)
\psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180]
\psplot[linecolor=red,algebraic]{-2}{5}{\f{x}}
\multido{\i=-2+2}{4}{ \ordon{\i}}
\ordon{3.5}
\end{pspicture}
\end{center}
\end{document}
Germain
More information about the PSTricks
mailing list