Gallery
Example gallery
111 examples in 23 areas. Each area has its own page of live figures; the same examples are in the Examples menu of the editor.
- BasicsWelcome: lines and a legend · Polar roses · Implicit curves · Subplots: four plot types …8 examples
- AnimationsTwo waves and their sum · Rotating ripple (3D) · Fourier series of a square wave · Lissajous figure …7 examples
- 3DSurface: peaks · Torus (parametric surface) · Trefoil knot3 examples
- ResearchGaussian splats (2D) · Lorenz attractor · Logistic map bifurcation · Gradient descent on a valley4 examples
- FieldsContours and gradient field · Mandelbrot set2 examples
- PhysicsDamped oscillator (ODE) · Heat equation · Pendulum phase portrait · Electric field of two charges …8 examples
- StatisticsHistogram with a normal fit · Curve fitting with residuals · Monte Carlo estimate of π · Central limit theorem …5 examples
- Signal processingSignal and its spectrum · Sampling and aliasing · Spectral leakage and windows3 examples
- Audio & DSPBeats between two tones · Spectrogram of a chirp · FIR filter: moving average · Synth tone with an ADSR envelope …7 examples
- AstrophysicsPlanetary orbit (two-body) · Blackbody spectra of stars · Exoplanet transit light curve · Hubble's law …5 examples
- HealthcareSIR epidemic model · ECG and heart-rate detection · Kaplan–Meier survival curves · Vaccination flattens the curve4 examples
- BiopharmaPharmacokinetics: repeated oral dosing · Dose–response (Hill) curves · Enzyme kinetics (Michaelis–Menten)3 examples
- ElectronicsBode plot of an RC filter · RLC circuit step response · Diode operating point (load line)3 examples
- EconomicsCompound interest and a mortgage · Supply, demand and a tax · Solow growth model · Inequality: Lorenz curve and Gini …5 examples · live data
- DemographicsWorld population and a logistic fit (live) · Population pyramids (illustrative) · The demographic transition (model)3 examples · live data
- World issuesCO₂ in the atmosphere (live Mauna Loa data) · Global temperature vs CO₂ (live data) · Renewable energy share (live World Bank data) · Life expectancy vs income (live, all countries)4 examples · live data
- FinanceProject appraisal: NPV and IRR · Mortgage schedule and extra repayments · Option prices and Greeks (Black–Scholes) · Monte Carlo: stock paths, VaR and option pricing …8 examples
- Image processingColour channels and greyscale · Noise and filters · Edge detection: Sobel, Canny, LoG · Histograms and contrast …8 examples · live data
- OptimisationLinear programming: a production plan · Constrained minimisation with fmincon · Curve fitting with lsqcurvefit · Integer programming: packing a knapsack4 examples
- Control systemsSecond-order systems: damping and overshoot · PID control of a DC motor · Bode plot and stability margins · Root locus and Nyquist4 examples
- Symbolic mathsDerivatives and integrals, exactly · Solving equations · Taylor series approximations · Projectile range: optimise by hand, symbolically4 examples
- EconometricsRegression with standard errors (fitlm) · ARIMA forecast of atmospheric CO₂ (live data) · Volatility modelling with GARCH(1,1) · Autocorrelation and unit-root tests4 examples · live data
- MappingLife expectancy around the world (live data) · CO₂ emissions per person in Europe (live data) · Earthquakes of the past month (live USGS data) · Great-circle routes from Amsterdam …5 examples · live data