Are there instructions for Image>Axes>Set Active Axis

I’m looking for a function that sets the origin of the axis from the upper left corner to somewhere else on the image…like the center.

If you want to set the origin you can use Edit > Properties:
https://imagej.nih.gov/ij/docs/guide/146-28.html#sub:Image>Properties

If you really want more information on Set Active Axis, the best I can find is the source code:

Thanks…the properties setting is fine for my use…I wonder what image>Axes>Set Active Axis does?

Ron

I used the properties to offset the axis, but getPixel and setPixel still reference the upper left corner.

newImage(“Untitled”, “8-bit black”, 10, 10, 1);
run(“Properties…”, “channels=1 slices=1 frames=1 unit=pixel pixel_width=1.0000 pixel_height=1.0000 voxel_depth=1.0000 origin=5,5”);
setPixel(0,0,25);
run(“Maximize”);
run(“glasbey”);
print(getPixel(-5,-5));

Ron