[pstricks] why this code does not compile

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Apr 8 08:43:53 CEST 2012


Am 08.04.2012 08:00, schrieb Per Ting:
> The following code is generated automatically by GeoGebra, but I
> cannot compile it using latex>dvips>ps2pdf path. Any idea what is
> wrong here?
>
> \documentclass[11pt]{article}
> \usepackage{pstricks-add}
> \pagestyle{empty}
> \begin{document}
> \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,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}


Look at the math expression, it contains unknown characters.

Herbert


More information about the PSTricks mailing list