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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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