2021-01-09 02:48:20 +0100 | received badge | ● Popular Question (source) |

2019-05-11 18:11:13 +0100 | received badge | ● Scholar (source) |

2019-05-01 13:12:40 +0100 | received badge | ● Editor (source) |

2019-05-01 10:23:32 +0100 | commented question | Legend attached to curve in plot ("PlotLabels") Having read the solution ("add labels manually") I now see why a more concrete example than f(x) = n*x is useful. I will add a simplified version of one of my real plots. |

2019-05-01 10:17:36 +0100 | commented answer | Legend attached to curve in plot ("PlotLabels") This is very useful: it's simple and works out of the box in many cases. |

2019-04-30 18:20:59 +0100 | received badge | ● Supporter (source) |

2019-04-30 15:48:41 +0100 | received badge | ● Student (source) |

2019-04-30 12:48:44 +0100 | asked a question | Legend attached to curve in plot ("PlotLabels") Hello, I have a plot with several curves (say, 5) and I need to clearly mark them. The plot should be grayscale friendly (I am giving curves different shades, but it is not enough), and line style (dotted...) already has a different meaning. I am using a legend, but it goes in a separate box and does not really help a lot. Since the different curves never cross in a given plot, just attaching the legend label to the curve tail would be great: how can I achieve this? To be clear, I am looking for an equivalent of Mathematica PlotLabels. The following example gives an idea of the 'most overlapping' case I can be interested in (actually an exaggeration, a real plot would stop at nexp=2.5): Using slelievre answer (and imitating the PlotLabels idea, putting gray lines between plot and label), I came up with this: This approach requires to analyse each plot case by case and playing around to find a solution, but I am afraid there is nothing one can do to partially automate it. Also, I am not sure that I am doing this the best way, or whether the result could look better/more professional. |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.