Login  Register

Add data labels within the Plot lists

Posted by CARL Philippe (LBP) on Mar 14, 2019; 1:14pm
URL: http://imagej.273.s1.nabble.com/Add-data-labels-within-the-Plot-lists-tp5021900.html

Dear all (probably mostly Michael and/or Wayne),
What do you think about adding labels for the data within the plots so that
when you list the plot data there is the possibility to not anymore read: X0
Y0, Y1,… but instead attributed data names.
This could for example be done by extending the "Plot.add(type, xValues,
yValues)" method by something like "Plot.add(type, xValues, yValues, "Data
name")".
And a method "Plot.setLegend()" could as well be added.
Indeed, in the case there is only 1 to 3 data sets the way the code is now
is in not an issue, but with more data it becomes easily difficult to
understand and interpret the listed data.
Also do you see any issue which could limit or prohibit such an update?
If not I could generate the needed code and submit it to you guys for
validation.
Bien cordialement,
Philippe

Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 41 84

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html