<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sorry but if <div class="">%%%%%%%%%%%</div><div class=""><div class="">\documentclass[12pt]{article}</div><div class="">\usepackage{pstricks,pst-plot,pst-func}</div><div class="">\newcommand\ordon[1]{%</div><div class="">\psdots(!#1 \space \f{#1})</div><div class="">\uput[90](!#1 \space \f{#1})%</div><div class="">{\psPrintValue[comma]{\f{#1} 100 mul round 100 div}}}</div><div class="">\begin{document}</div><div class="">\begin{center}</div><div class="">\begin{pspicture}(-2,-1)(5,8)</div><div class="">\newcommand\f[1]{#1 2 exp 4 div}</div><div class="">\psaxes[ticksize=-.1 .1,subticks=2]{->}%</div><div class="">(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180]</div><div class="">\psplot[linecolor=red]{-2}{5}{\f{x}}</div><div class="">\multido{\i=-2+2}{4}{ \ordon{\i}}</div><div class="">\ordon{3.5}</div><div class="">\end{pspicture}</div><div class="">\end{center}</div><div class="">\end{document}</div><div class="">%%%%%%%%%</div><div class="">works fine</div><div class=""><br class=""></div><div class="">the code of Herbert don’t compile :</div><div class=""><br class=""></div><div class="">In the console : Missing $ inserted</div><div class="">l.12 \multido{\i=-2+2}{4}{\ordon{\i}} </div><div class=""><br class=""></div><div class="">and after run I have :</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">%interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1900   1   3   %oparray_pop   1899   1   3   %oparray_pop   1883   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Dictionary stack:</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">   --dict:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:113/200(L)--   --dict:183/300(L)--   --dict:38/200(L)--   --dict:122/200(L)--</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Current allocation mode is local</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Last OS error: No such file or directory</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Current file position is 161120</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">GPL Ghostscript 9.07: Unrecoverable error, exit code 1</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">### FAILED to generate /tmp/altpdflatex.3793-1504465091/antecedentimageH.Voss.pdf ()</div></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Where is the problem ?</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Thanks for the quick answer.</div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class="">Denis</div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">Le 3 sept. 2017 à 12:00, <a href="mailto:pstricks-request@tug.org" class="">pstricks-request@tug.org</a> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class="">Send PSTricks mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span><a href="mailto:pstricks@tug.org" class="">pstricks@tug.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>http://tug.org/mailman/listinfo/pstricks<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>pstricks-request@tug.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>pstricks-owner@tug.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of PSTricks digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class="">   1. Re: PostScript numbers (Herbert Voss)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Sat, 2 Sep 2017 15:50:21 +0200<br class="">From: Herbert Voss <Herbert.Voss@FU-Berlin.DE><br class="">To: pstricks@tug.org<br class="">Subject: Re: [pstricks] PostScript numbers<br class="">Message-ID: <63d4e0e0-23d6-c86f-44c2-7756cb3f3119@FU-Berlin.DE><br class="">Content-Type: text/plain; charset=utf-8; format=flowed<br class=""><br class="">Am 02.09.2017 um 10:55 schrieb Denis Verg?s:<br class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">In this code :<br class=""><br class="">%%%%%%%%%<br class="">\documentclass[12pt]{article}<br class="">\usepackage[T1]{fontenc}<br class="">\usepackage[utf8]{inputenc}<br class="">\usepackage{fp}<br class="">\usepackage{pstricks,pst-all,pst-func,pst-plot,pstricks-add}<br class="">\begin{document}<br class="">\newcommand\f[1]{#1 2 exp 4 div}<br class="">\newcommand\ordon[1]{\psdots(!#1 \space \f{#1})<span class="Apple-tab-span" style="white-space:pre">   </span><br class="">\uput[90](!#1 \space \f{#1})%<br class="">{\psPrintValue{\f{#1} 1000 mul round 1000 div}}}<br class=""></blockquote><br class="">Denis,<br class="">do you mean something like this?<br class="">    \psPrintValue[comma]{...}<br class=""><br class=""><blockquote type="cite" class="">%\psset{comma=true]<br class=""></blockquote><br class="">this should be \psset{comma=true}<br class=""><br class="">However, here is a solution with the algebraic mode:<br class=""><br class="">\documentclass[12pt]{article}<br class="">\usepackage{pstricks,pst-plot}<br class="">\begin{document}<br class="">\newcommand*\f[1]{(#1)^2/4}<br class="">\newcommand*\ordon[1]{\psdots(*#1 \f{#1})%<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>\uput[90](*#1<br class=""><span class="Apple-tab-span" style="white-space:pre">  </span>\f{#1}){\psPrintValue[algebraic,comma,decimals=3]{#1,\f{#1}}}}<br class="">\begin{center}<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>\begin{pspicture}(-2,-1)(5,8)<br class=""><span class="Apple-tab-span" style="white-space:pre">  </span>\psaxes{->}(0,0)(-2,-1)(5,7)[$x$,-90][$y$,180]<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>\psplot[linecolor=red,algebraic]{-2}{5}{\f{x}}<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>\multido{\i=-2+2}{4}{ \ordon{\i}}<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>\ordon{3.5}<br class=""><span class="Apple-tab-span" style="white-space:pre">    </span>\end{pspicture}<br class="">\end{center}<br class="">\end{document}<br class=""><br class="">Herbert<br class=""><br class=""><br class="">------------------------------<br class=""><br class="">Subject: Digest Footer<br class=""><br class="">_______________________________________________<br class="">PSTricks mailing list<br class="">PSTricks@tug.org<br class="">http://tug.org/mailman/listinfo/pstricks<br class=""><br class=""><br class="">------------------------------<br class=""><br class="">End of PSTricks Digest, Vol 175, Issue 2<br class="">****************************************<br class=""></div></div></blockquote></div><br class=""></div></body></html>