From Wikipedia, the free encyclopedia
[edit] Summary
Plot of the Bessel functions of first kind J0(x) in red, J1(x) in green and J2(x) in blue. The plot was produced running Gnuplot on the following code:
set terminal svg
set output "BesselJ_plot.svg"
set title "Bessel functions of 1st kind"
set xlabel "x"
set ylabel "J_n(x)"
set xrange [0:20]
set yrange [-0.5:1]
set xzeroaxis linetype -1 linewidth 0.5
set yzeroaxis linetype -1 linewidth 0.5
set xtics axis
set ytics axis
plot "besselJ.dat" using 1:2 title "J_0(x)" with lines linewidth 2, \
"besselJ.dat" using 1:3 title "J_1(x)" with lines linewidth 2, \
"besselJ.dat" using 1:4 title "J_2(x)" with lines linewidth 2
the file "besselJ.dat" contains the values of the Bessel functions and can be produced with the following Octave commands:
t = 0:0.01:20;
J = [ t; besselj(0,t); besselj(1,t); besselj(2,t) ];
J = J';
save -ascii "besselJ.dat" J;
It was then post-processed with Inkscape; I had to modify the source manually as well using a text editor to fix the subscripts. I made this picture by myself
[edit] Licensing
I, the author of this work, hereby publish it under the following licenses:
You may select the license of your choice.
|
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):