Graphics, Figures & Tables ⇒ pgfplots | Multiple Plots with same Legend
pgfplots | Multiple Plots with same Legend
I want to draw multiple plots with a common legend in same figure. For example plotting variation in measurement uncertainty along x, y, z axes for a particular sensor for different distances of object from sensor. Specifically, a common "Distance" vs "Uncertainty" graph with separate plots for x, y, z axes all having common legend (e.g. sensor name) to compare among multiple such sensors.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pgfplots | Multiple Plots with same Legend
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10