File:Besselj0j1plotT.png

Plot of the BesselJ0 and BesselJ1 versus real argument.

Generator of curves
Files besselj0.cin, besselj1.cin, ado.cin, conto.cin should be loaded in the working directory in order to compile the C++ code below:

using namespace std; typedef complex z_type;
 * 1) include 
 * 2) define DB double
 * 3) define DO(x,y) for(x=0;x<y;x++)
 * 1) include
 * 1) define Re(x) x.real
 * 2) define Im(x) x.imag
 * 3) define I z_type(0.,1.)
 * 4) include "conto.cin"
 * 5) include "besselj0.cin"
 * 6) include "besselj1.cin"

main{ int j,k,m,n; DB x,y, p,q, t; z_type z,c,d; FILE *o;o=fopen("besselj0j1plot.eps","w");ado(o,162,22); fprintf(o,"1 11 translate\n 10 10 scale\n"); fprintf(o,"2 setlinecap\n"); DO(m,17) {M(m,-1)L(m,1)} M(0,-1)L(16,-1) M(0,0)L(16,0) M(0,1)L(16,1) fprintf(o,"0 0 0 RGB .01 W S\n"); fprintf(o,"1 setlinejoin 1 setlinecap .03 W\n"); M(0,1) DO(m,161){ x=.1*m; y=Re(BesselJ0(x)); L(x,y) } fprintf(o,"0 0 1 RGB S\n"); M(0,0) DO(m,161){ x=.1*m; y=Re(BesselJ1(x)); L(x,y) } fprintf(o,"1 0 0 RGB S\n"); fprintf(o,"showpage\n%c%cTrailer",'%','%'); fclose(o); system("epstopdf besselj0j1plot.eps"); system(   "open besselj0j1plot.pdf"); getchar; system("killall Preview");//for mac }

Latex generator of labels
\documentclass[12pt]{article} % \paperheight 232px %% \paperwidth 1634px %% \textwidth 1290px %% \textheight 1200px %% \topmargin -100px %% \oddsidemargin -80px %% \usepackage{graphics} %% \usepackage{rotating} %% \usepackage{color}%% \newcommand \sx {\scalebox} %% \newcommand \rot {\begin{rotate}} % \newcommand \ero {\end{rotate}} % \newcommand \ing {\includegraphics} % \newcommand \rmi {\mathrm{i}} % \begin{document} % \begin{picture}(1840,220) % \put(12,12){\sx{10}{\includegraphics{besselj0j1plot}}} % \put( 0,210){\sx{2.4}{$1$}} % \put( 0,112){\sx{2.4}{$0$}} % \put(-15,12){\sx{2.4}{$-\!1$}} % \put( 15,-1){\sx{2.5}{$0$}} % \put(115,-1){\sx{2.5}{$1$}} % \put(215,-1){\sx{2.5}{$2$}} % \put(315,-1){\sx{2.5}{$3$}} % \put(415,-1){\sx{2.5}{$4$}} % \put(515,-1){\sx{2.5}{$5$}} % \put(615,-1){\sx{2.5}{$6$}} % \put(715,-1){\sx{2.5}{$7$}} % \put(815,-1){\sx{2.5}{$8$}} % \put(915,-1){\sx{2.5}{$9$}} % \put(1010,-1){\sx{2.5}{$10$}} % \put(1110,-1){\sx{2.5}{$11$}} % \put(1210,-1){\sx{2.5}{$12$}} % \put(1310,-1){\sx{2.5}{$13$}} % \put(1410,-1){\sx{2.5}{$14$}} % \put(1510,-1){\sx{2.5}{$15$}} % \put(1612,-1){\sx{2.5}{$x$}} % \put(330,154){\sx{3}{$J_1(x)$}} % \put(330,54){\sx{3}{$J_0(x)$}} % \end{picture} % \end{document} %