Yea, that’s one way, my problem with that though has been the fact that I plot multiple similar lines inside a for-loop, so it’s a pain to store the line-object outside the loop just for the sake of a legend. Importantly, the legend does not detail every single line plotted in the loop, just one of them (cause they all are the same “thing”). Let me know if you need to see a MWE to understand my pain-point.
1 Like