Graphics, Figures & Tablespgfplots | Multiple Plots with same Legend

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
pranav
Posts: 5
Joined: Mon Nov 26, 2012 9:24 am

pgfplots | Multiple Plots with same Legend

Post by pranav »

Hi,

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pgfplots | Multiple Plots with same Legend

Post by localghost »

In order to give an adequate problem description and to prevent others from random shots and guesswork please show what you have tried so far by a self-contained and minimal example.


Thorsten
Post Reply