Plotting Airy functions
Herbert Voss
Herbert.Voss at fu-berlin.de
Mon Dec 27 14:41:39 CET 2021
Am 26.12.21 um 14:18 schrieb Herbert Voss:
>
>
> Am 26.12.21 um 13:03 schrieb Djones9976 via texhax:
>> Does anyone have an idea how to (or even if you can) plot Airy
>> functions in LaTex?
>>
>
>
> Run with lualatex or latex->dvips->ps2pdf
>
> The initial values für y(-10) and y'(-10) are guessed and not really
> calculated
>
> \documentclass[border=5mm]{standalone}
> \usepackage{pstricks-add}
> \begin{document}
>
> \def\Funct{ exch x mul}% y'' = y*x on stack y y''
I meant on stack y y' and not y''
Herbert
> \psset{xunit=1.5, yunit=5, method=varrkiv, showpoints=true}
> \begin{pspicture}(-11,-1)(1,1.1)
> \psaxes[Dy=0.2]{->}(0,0)(-11,-1)(1,1)
> \psplotDiffEqn[varsteptol=.00001,plotpoints=500,
> linecolor=red]{-10}{0}{0.05 1}{ \Funct }
> \psplotDiffEqn[varsteptol=.00001,plotpoints=500,
> linecolor=blue]{-10}{0}{-0.35 0}{ \Funct }
> \end{pspicture}
>
> \end{document}
>
> \psplotDiffEqn [Options] {x0}{x1}{y0}{ f(x,y,y’,...) }
>
>
>
> HErbert
More information about the texhax
mailing list.