Loading...

How I make beautiful GRAPHS and PLOTS using LaTeX

525492 15662________

Get started with LaTeX using Overleaf: ► www.overleaf.com/?utm_source=yt&utm_medium=link&ut…. My thanks to Overleaf for sponsoring today's video.

Check out the previous videos in my LaTeX playlist:
   • LaTeX Tutorials  

I make most of my graph and plots inside of LaTeX using a package called pgfplots. LaTeX is a type setting language and I like using it for graphs specifically because I can control all aspects of my graphs very precisely, with formatting native and easily adjustable with the rest of my document, with syntax similar to the syntax of the rest of LaTeX that I use all the time, and best of all it is free and will remain readily available. In this video we will see how to do 2D graphs, scatter plots, bar charts, 3D surface plots and 3D line plots, as well as how to format all aspects of our plots and axes.

♡♡♡SUPPORT THE CHANNEL♡♡♡
►Support on PATREON: patreon.com/DrTrefor
►MATH BOOKS I LOVE (affiliate link): www.amazon.com/shop/treforbazett
►CURIOSITY BOX: www.CuriosityBox.com/DrTrefor use CODE drtrefor for 25% off awesome STEM merch boxes

0:00 Why I use LaTeX and pgfplots for plots and graphs
1:17 Why I use Overleaf as my LaTeX editor
2:00 The simplest 2D plot
3:57 Adjusting the preamble
4:49 Customizing plot color, style, marks, samples
6:25 Adjusting axis bounds, placement, labels and title
9:04 Plot domain
9:45 2nd example: ticks, tick labels, grid lines
13:51 Adding text nodes
15:18 3rd example: Scatter plot with imported data
18:38 4th example: color coded scatter plot
20:16 5th example: stacked bar chart
21:23 Version history in overleaf
22:00 6th example: 3D surface and mesh plots
25:47 7th example: 3D curve plot

The full documention for pgfplots (it's long!) is here: www.iro.umontreal.ca/~simardr/pgfplots.pdf

COURSE PLAYLISTS:
►DISCRETE MATH:    • Discrete Math (Full Course: Sets, Log...  
►LINEAR ALGEBRA:    • Linear Algebra (Full Course)  
►CALCULUS I:    • Calculus I (Limits, Derivative, Integ...  
►CALCULUS II:    • Calculus II (Integration Methods, Ser...  
►MULTIVARIABLE CALCULUS (Calc III):    • Calculus III: Multivariable Calculus ...  
►VECTOR CALCULUS (Calc IV):    • Calculus IV: Vector Calculus (Line In...  
►DIFFERENTIAL EQUATIONS:    • Ordinary Differential Equations (ODEs)  
►LAPLACE TRANSFORM:    • Laplace Transforms and Solving ODEs  
►GAME THEORY:    • Game Theory  

OTHER PLAYLISTS:
►Cool Math Series:
   • Cool Math Series  
►Learning Math Series:
   • 5 Tips To Make Math Practice Problems...  
►LaTeX:    • Intro to LaTeX **Full Tutorial**  Par...  

SOCIALS:
►X/Twitter: X.com/treforbazett
►TikTok: tiktok.com/@drtrefor
►Instagram (photography based): instagram.com/treforphotography

コメント