Re: Scaling of / measuring inside a profile plot window
Posted by
Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/Scaling-of-measuring-inside-a-profile-plot-window-tp3702001p3702003.html
> I am trying to measure within a profile plot window. But even if I
> scale the original window, the scale of the profile plot window isn't
> set properly.
>
> What I want to do:
> 1. Create a profile plot through some image features using the
> straight line selection.
> 2. Measure a distance between two peaks inside the profile plot using
> the straight line selection inside the plot window.
>
> The coordinates shown at the bottom of the plot windows are correct,
> but the data shown for the lenght of the straight line selection shown
> in the ImageJ command window aren't scaled right. It seems to me as if
> the scale/calibaration of the profile window itself isn't set at all?
> How could I fix this?
The plot window scale is not set. I will fix this but I won't be able
to get to it for a couple of weeks. In the meantime, you can set the
scale by setting "Pixel Width" and "Pixel Height" in the
Image>Properties dialog, where
Pixel Width = (xmax-xmin)/<length of x-axis in pixels>
Pixel Height = (ymax-ymin)/<length of y-axis in pixels>
The length of the x and y axis in pixels can be found in the
Edit>Options>Profile Plot Options dialog box.
-wayne