Posted by
Avital Steinberg on
Sep 18, 2017; 12:40pm
URL: http://imagej.273.s1.nabble.com/question-about-plot-API-tp5019381p5019382.html
Hi Aryeh,
Which class does the plt object that you created belong to?
Thanks,
Avital
בתאריך 18 בספט' 2017 3:26 PM, "Aryeh Weiss" <
[hidden email]> כתב:
I have not been able to figure out how to plot connected markers, other
than circles. For example:
plt.addPoints(range(1,14), dsum, None, Plot.CONNECTED_CIRCLES, "Total Area")
adds a trace to plt. However, in another line, I have
plt.addPoints(range(1,14),[x/tmp[0] for x in tmp], None, i%8 , "Track "+
str(i))
where I use i%8 to cycle through the various markers (CROSS, DOT, TRIANGLE,
etc).
and I would like to plot these connected, just like the connected circles,
but I cannot find the option to do that.
A second question is how to use the labels that are in the last argument of
the addPoints command. I would like to put them in the legend, but I do not
see how to recover them in order to add them to the addLegend command.
Thanks in advance for any help on these issues.
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html