Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4434

Cornu spiral plot using CERF function

Newsgroups comp.graphics.apps.gnuplot
Date 2021-10-18 08:06 -0700
Message-ID <aa4761f8-2ea5-4ad2-9ca8-3ceb56dcb12fn@googlegroups.com> (permalink)
Subject Cornu spiral plot using CERF function
From Al Greynolds <layzarc@aol.com>

Show all headers | View raw


Needed to do some diffraction calculations and remembered that the complex Fresnel Integral can be written in terms of a complex ERF function.

fresnel(x) = {1.,1.}*cerf(sqrt(pi)*{1.,-1.}*x/2.)/2.
set samples 1000
set parametric
unset key
plot real(fresnel(t)),imag(fresnel(t))

After almost 2 decades as a user, Gnuplot still can amaze me. Keep up the good work all you developers.

Al

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

Cornu spiral plot using CERF function Al Greynolds <layzarc@aol.com> - 2021-10-18 08:06 -0700

csiph-web