Login  Register

Overlay plots from plot profile

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Overlay plots from plot profile

Gareth Howell
10 posts
Hi

Is it possible to overlay plots generated with the Plot Profile tool?
We are interested in placing red and green fluorescence intensities along a line using this tool. Additionally would we be able to colour each line with either red or green. It would be quicker than having to create overlay plots in excel.

Thanks in advance

Gareth
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Overlay plots from plot profile

Jan Eglinger-5
35 posts
Hi Gareth,


Gareth Howell wrote:
> Is it possible to overlay plots generated with the Plot Profile tool?

You can set "Edit>Options>Profile Plot Options..." to a fixed y-axis,
then run Plot Profile on each channel and overlay the plots.
The following macro does this on an example image:

// ---------- Start Macro --------------
// Three Color Overlay Plot of a Line
run("Fluorescent Cells (400K)");
run("Profile Plot Options...", "width=450 height=200 minimum=0
maximum=255 fixed interpolate draw");
makeLine(226, 166, 327, 464);
run("Plot Profile");
run("Invert");
rename("red");
selectWindow("FluorescentCells.tif");
setSlice(2);
run("Plot Profile");
run("Invert");
rename("green");
selectWindow("FluorescentCells.tif");
setSlice(3);
run("Plot Profile");
run("Invert");
rename("blue");
run("Merge Channels...", "red=red green=green blue=blue gray=*None*
create keep");
// ---------- End Macro --------------

Hth,
Jan