http://imagej.273.s1.nabble.com/Is-it-possible-to-add-new-data-to-a-plot-from-a-macro-tp5006482p5006494.html
Awesome, I am now creating beautiful multi-colour graphs.
Much appreciated.
> Hi James,
>
> You have to use Plot.show() at the end, after adding all data with
> Plot.add().
> Once shown, the graph can't be updated.
>
> Christophe
>
>
> 2014-02-11 12:14 GMT+01:00 James Burchfield <
[hidden email]>:
>
> > Dear all,
> > I am making certain measurements as i go through a macro and would like
> to
> > add these data to a single plot.
> > I am I correct in thinking that to create a plot and modify it all plot
> > commands must be in a single group?
> >
> > For example this works
> > Plot.create("event profile", "Slice", "Intensity");
> > Plot.setLimits(0, nslices, gmin, gmax);
> > Plot.add("line",x, y);
> > Plot.show();
> >
> > but if i then repopulate y
> >
> > Plot.add("line",x, y);
> > Plot.show();
> >
> > This will not work.
> >
> > Is there a simple work around?
> >
> > Thanks in advance,
> > James
> >
> >
> > *Dr James Burchfield*
> > The Garvan Institute of Medical Research
> > 384 Victoria Street
> > Darlinghurst, NSW, 2010
> > Australia
> >
> > Email:
[hidden email]
> > Phone:+61 2 92958229
> > Web: *www.garvan.org.au <
http://www.garvan.org.au>*
> >
> > --
> > ImageJ mailing list:
http://imagej.nih.gov/ij/list.html> >
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>