Hey,
I have a plot like that :
I would like the legends to be placed next to the end of curves like that :
and so on for all of them. Is that possible ?
Hey,
I have a plot like that :
I would like the legends to be placed next to the end of curves like that :
and so on for all of them. Is that possible ?
You should be able to use annotations for this
https://docs.juliaplots.org/stable/gallery/gr/generated/gr-ref020/#gr_ref020
Exactly what i need, thank you very much.
The GR backend actually has this implemented
using Plots
plot(Plots.fakedata(4,4), legend=:inline)
what is your version? I’m on Plots v1.39.0
1.40.1
are you on a different backend then?
How can i check by backend ?
wow, I’m an idiot
I almost always use GR, but I had switched to plotly in this session and couldn’t spot the difference between the plots. Sorry for the confusion
backend()
So i do have the GR backend indeed.
Thaks a lot for the :inline legend !
This is neat. I wish Makie had this as well.
Is it possible to have the legendfontcolor
attribute matching the curves colors?
I think that is a subplot attribute and not a seriesattribute.