I plot two time series with pgfplots
in one chart. I have a legend in the top right corner. Now, I would like to add a label (saying "Correlation = 0.86") in the top left corner. I have tried a lot with nodes, but I did not succeed in placing them in the top left corner. Is it possible to do that without using coordinates?
[Tex/LaTex] Placing a label in specific corner of the chart
nodespgfplotspositioning
Best Answer
You can use the
rel axis cs
coordinate system to add nodes with labels(rel axis cs:0,0)
is the lower left corner of the plot, and(rel axis cs:1,1)
is the upper right corner of the plot. A little example:To add the label outside the axis you'll need
clip=false
asaxis
option.