printing an array on one line
Posted by
Ted Lewis on
URL: http://imagej.273.s1.nabble.com/printing-an-array-on-one-line-tp3705198.html
In a macro, I've been calculating statistics based on results from
'analyze particles', and I'm sending the results to the 'log' window
with a 'print' statement.
This is fine when the statistics are defined as variables, but for some
statistics (histogram bins & percentiles), I need to use arrays: the
number of bins and percentiles is user-defined.
Is there any way to print an array on *one* log-window line, if you
don't know in advance the length of the array?
Thank you.
--
Ted Lewis
PhD Candidate
Climate System Research Center
Department of Geosciences
University of Massachusetts at Amherst
413-545-0659
http://www.geo.umass.edu/gradstud/lewist/