Department of Physics
University of Qom
Useful Items
Gnuplot
- Gnuplot Online
- (plot-01.plt) terminal wxt, ternary operator, style line, border, xtics, ytics, out, nomirror, xzeroaxis, arrow from (x1, y1) to (x2, y2), nohead, dashtype (dt), xlabel, ylabel, sample, linetype (lt), linecolor (lc) rgb, linewidth (lw), notitle, sum [k=... : ...]
- (plot-01-latex.plt) (plot-01-latex.pdf) terminal cairolatex pdf standalone color, ternary operator, style line, border, xtics, ytics, out, nomirror, xzeroaxis, arrow from (x1, y1) to (x2, y2), nohead, dashtype (dt), xlabel, ylabel, sample, linetype (lt), linecolor (lc) rgb, linewidth (lw), notitle, sum [k=... : ...]
- (plot-02.plt) terminal wxt, ternary operator, style line, border, xtics, ytics, out, nomirror, mxtics, mytics, grid xtics ytics mxtics mytics, xzeroaxis, sample, linetype (lt), linecolor (lc) rgb, linewidth (lw), for [i=... : ...], title sprintf("{%d}", i)
- (plot-02-latex.plt) (plot-02-latex.pdf) terminal cairolatex pdf standalone color, ternary operator, style line, border, xtics, ytics, out, nomirror, mxtics, mytics, grid xtics ytics mxtics mytics, xzeroaxis, sample, linetype (lt), linecolor (lc) rgb, linewidth (lw), for [i=... : ...], title sprintf("{%d}", i)
- (plot-03.plt) (data.zip) terminal wxt, style line, border, xtics, ytics, out, nomirror, mxtics, grid xtics ytics, format y, datafile separator ",", logscale y, linetype (lt), linecolor (lc) rgb, linewidth (lw)
- (plot-03-latex.plt) (plot-03-latex.pdf) (data.zip) terminal cairolatex pdf standalone color, style line, border, xtics, ytics, out, nomirror, mxtics, grid xtics ytics, format y, datafile separator ",", logscale y, linetype (lt), linecolor (lc) rgb, linewidth (lw)
- (plot-04.plt) terminal wxt, style line, border, xtics, ytics, out, nomirror, grid xtics ytics, linetype (lt), linecolor (lc) rgb, linewidth (lw), key left top Right
- (plot-04-latex.plt) (plot-04-latex.pdf) terminal cairolatex pdf standalone color, style line, border, xtics, ytics, out, nomirror, grid xtics ytics, linetype (lt), linecolor (lc) rgb, linewidth (lw), key left top Right
- (plot-05.plt) terminal wxt, style line, border, arrow from (x1, y1) to (x2, y2), label at (x, y), dashtype (dt)
- (plot-05-latex.plt) (plot-05-latex.pdf) terminal cairolatex pdf standalone color, style line, border, arrow from (x1, y1) to (x2, y2), label at (x, y), dashtype (dt)
- (plot-06.plt) terminal wxt, style line, unset border, unset key, unset tics, label at (x, y) lincolor (lc) rgb dashtype (dt), linewidth (lw)
- (plot-06-latex.plt) (plot-06-latex.pdf) terminal cairolatex pdf standalone color, style line, unset border, unset key, unset tics, label at (x, y) lincolor (lc) rgb dashtype (dt), linewidth (lw)
- (plot-07.plt) terminal wxt, style line, border front, xtics, ytics out nomirror, y2tics out, mytics, my2tics, ylabel, y2label, axis x1y1, axis x1y2
- (plot-07-latex.plt) (plot-07-latex.pdf) terminal cairolatex pdf standalone color, style line, border front, xtics, ytics out nomirror, y2tics out, mytics, my2tics, ylabel, y2label, axis x1y1, axis x1y2
- (plot-08.plt) terminal wxt, sample, border, multiplot layout, ctics, ytics, mxtics, mytics, xzeroaxis, label, xlabel, ylabel, key width ... spacing ..., key front
- (plot-08-latex.plt) (plot-08-latex.pdf) terminal cairolatex pdf standalone color, sample, border, multiplot layout, ctics, ytics, mxtics, mytics, xzeroaxis, label, xlabel, ylabel, key width ... spacing ..., key front
- (plot-09-latex.plt) (plot-09-latex.pdf) terminal cairolatex pdf standalone color, splot (sp), xlabel, ylabel, zlabel, xtics out nomirror, ytics out nomirror, ztics out nomirror, mztics, style line, border back, isosamples, hidden3d, set view azimuth(degree), elevation(degree), 1.0, 1.20, contour base, cntrparam order, cntrparam levels, key at screen 1, 1 right top vertical Right noreverse enhanced autotitle nobox
- (plot-10-latex.plt) (plot-10-latex.pdf) terminal cairolatex pdf standalone color, splot (sp), xlabel, ylabel, zlabel, xtics out nomirror, ytics out nomirror, ztics out nomirror, mztics, style line, border back, isosamples, hidden3d, contour base, cntrparam order ... levels discrete ..., unset surface, key outside
- (plot-11.plt) (data.zip) terminal wxt, splot (sp), xlabel, ylabel, zlabel, xtics out nomirror, ytics out nomirror, ztics out nomirror, mztics, style line, border back, isosamples, hidden3d, set view azimuth(degree), elevation(degree), 1.0, 1.20, contour base, cntrparam order, cntrparam levels, key at screen 1, 1 right top vertical Right noreverse enhanced autotitle nobox
- (plot-11-latex.plt) (plot-11-latex.pdf) (data.zip) terminal cairolatex pdf standalone color, splot (sp), xlabel, ylabel, zlabel, xtics out nomirror, ytics out nomirror, ztics out nomirror, mztics, style line, border back, isosamples, hidden3d, set view azimuth(degree), elevation(degree), 1.0, 1.20, contour base, cntrparam order, cntrparam levels, key at screen 1, 1 right top vertical Right noreverse enhanced autotitle nobox
- (plot-12.plt) (plot-12.gif) terminal gif animate delay, xrange, yrange, sample, do for [i=1: ...] {plot ... title sprintf("t = %.1f", i*0.1)}
- (plot-13.plt) (plot-13.gif) terminal gif animate delay, parametric, xrange, yrange, sample, do for [i=1: ...] {plot x(t), y(t) ...}, unset tics, unset border
- (plot-14.plt) (plot-14.gif) terminal gif animate delay, parametric, xrange, yrange, sample, do for [i=1: ...] {plot x(t), y(t) ...}, unset tics, unset border
Matplotlib
- Creating multiple subplots using plt.subplots
- Latex Render plt.rcParams
Arguments in a function
Introduction to Python Programming
- Lecture-01(mp4)(pdf)(Anaconda and Spyder)
- Lecture-02(mp4)(pdf)(Python)
- Lecture-03(mp4)(pdf)(Pycharm)
Introduction to C++ Programming
- Lecture-18(mp4) (code) (code)
- Lecture-19(mp4) (code)
- Lecture-20(mp4) (code) (code)
- Lecture-21(mp4) (code) (code)
- Lecture-22(mp4) (code) (code) (code) (code)
- Lecture-23(mp4) (code) (code)
- Lecture-24(mp4) (code)
- Lecture-25(mp4) (code) (code) (code) (code)
- Lecture-32(mp4) (code) (code)
- Lecture-33(mp4) (code)
- Lecture-34(mp4) (code)
- Lecture-35(mp4) (code) (code) (code) (code)
- Lecture-36(mp4) (code) (code) (code) (code)
- Lecture-37(mp4) (code) (code)
- Lecture-38(mp4) (code) (code)
- Lecture-39(mp4) (code) (code)
- Lecture-40(mp4) (code) (code)
- Lecture-41(mp4) (project) (project)
- Lecture-42(mp4) (project) (project)