Re: I can't set the row label
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Aug 01, 2015; 7:37pm
URL: http://imagej.273.s1.nabble.com/I-can-t-set-the-row-label-tp5013843p5013846.html
> On Aug 1, 2015, at 1:49 PM, Avital Steinberg <
[hidden email]> wrote:
>
> Hi,
> I'm using the latest version of ImageJ (1.50a) on a mac. I would like to
> set a row label.
>
> I tried to use the following command:
>
> *setResult("Label", row, string)*
>
> *The problem is that it does absolutely nothing - it doesn't give an error
> message and it doesn't set the row label. *
This works for me:
run("Clear Results");
setResult("Label", 0, "This is a label");
updateResults();
In ImageJ 1.47 or later, any column can contain strings. Here is an example:
run("Clear Results");
setResult("Str1", 0, "String 1");
setResult("Value", 0, 123);
setResult("Str2", 0, "String 2");
updateResults();
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html