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:
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?
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”);