处理大数字 pstricks

处理大数字 pstricks

我正在尝试绘制一些函数,为此我使用 Geogebra 生成图形,以下是生成的代码。

\documentclass[10pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dimen=middle,dotstyle=o,dotsize=5pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-1.0067539097747136E9,-1.986947150681829)(1.1007960524213434E10,44.984471028928745)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1.E9,Dy=5.,ticksize=-2pt 0,subticks=2]{->}(0,0)(-1.0067539097747136E9,-1.986947150681829)(1.1007960524213434E10,44.984471028928745)
\psplot[linewidth=1.2pt,plotpoints=200]{-1.0067539097747136E9}{1.1007960524213434E10}{0.01469486445931648*1.0000000008464012^(x)}
\begin{scriptsize}
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1000.,0.001)
\rput[bl](7.17057308637737E7,0.36162375829869975){\darkgray{$A$}}
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](10000.,9.20790000000001E-4)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](100000.,0.00161386)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1000000.,0.00507920000000001)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E7,0.0467228000000001)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E8,0.42999023)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E9,4.17982101)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E10,41.6545143100001)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1000.,0.001)
\rput[bl](7.17057308637737E7,0.36162375829869975){\darkgray{$A$}}
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](10000.,9.20790000000001E-4)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](100000.,0.00161386)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1000000.,0.00507920000000001)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E7,0.0467228000000001)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E8,0.42999023)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E9,4.17982101)
\psdots[dotsize=3pt 0,dotstyle=*,linecolor=darkgray](1.E10,41.6545143100001)
\rput[bl](-2.354828460572823E9,-0.9078740303394239){$f$}
\end{scriptsize}
\end{pspicture*}
\end{document}

但是当我尝试编译时出现以下错误

Illegal unit of measure (pt inserted).
<to be read again> E
l.6 ...)(1.1007960524213434E10,44.984471028928745)

我做错了什么?非常感谢...

答案1

使用

\psdot(! 1.1007960524213434E10 44.984471028928745)

然后它将被读取为 PostScript 坐标。但是,对于环境pspicture和宏,\psplot您必须更改坐标。但是从 Geogebra 导出完全无法使用!

相关内容