<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    I had the same problem. I solved this by writing <font
      color="#3333ff">algebraic</font> instead of <font color="#3333ff">algebraic=true</font>
    in the psset.<br>
    <br>
    Marc<br>
    <br>
    Le 08/04/2012 08:00, Per Ting a écrit :
    <blockquote
cite="mid:CAKsbWc-J4AJW9QBCJ5t63P7YAgrY8PUEx8O806Wua=Wcv2Mmnw@mail.gmail.com"
      type="cite">
      <pre wrap="">The following code is generated automatically by GeoGebra, but I
cannot compile it using latex>dvips>ps2pdf path. Any idea what is
wrong here?

Thanks


\documentclass[11pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=1.0cm,yunit=1.0cm,<font color="#3333ff">algebraic=true</font>,dotstyle=o,dotsize=3pt
0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-0.2,-0.3)(1.1,5)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=0.2,Dy=0.5,ticksize=-2pt
0,subticks=2]{->}(0,0)(-0.2,-0.3)(1.1,5)[x,140] [y,-40]
\psplot[plotpoints=200]{7.494646670914415E-8}{1.1011777301927193}{(x*<*1/2)*(1+x*ln(x)/ln(2)+(1-x)*ln(1-x)/ln(2)-x*0)+(¬(x*<*1/2))*0}
\rput[tl](0.01,2.11){$m=2$}
\rput[tl](0.98,-0.07){$x$}
\rput[tl](0.02,4.48){$y$}
\end{pspicture*}
\end{document}

_______________________________________________
PSTricks mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a>
archive: <a class="moz-txt-link-freetext" href="http://www.tug.org/pipermail/pstricks/">http://www.tug.org/pipermail/pstricks/</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>