0

I am trying to plot three figures using pgf/tikz, and want to have the following effect:plots with the legend written inside them

In other words, rather than having the legend separately, I want to remove the legend to become one. In my particular plot (the image is a stylized example) writing the legend next/above the lines is not elegant, so I thought of writing them within the plots themselves.

Any advice would be appreciated!

Spark
  • 145

1 Answers1

1

It seems that my previously asked question here:

How do I place legend keys above bars/next to lines in Tikz?

already answers this perfectly. Just adding yshift and xshift will make things work.

Spark
  • 145