MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / setYTicks

Method setYTicks

ij/src/main/java/ij/gui/Plot.java:748–750  ·  view source on GitHub ↗

Sets whether to show major ticks at the y axis. Call update() thereafter to make the change visible (if the image is shown already).

(boolean yTicks)

Source from the content-addressed store, hash-verified

746 /** Sets whether to show major ticks at the y axis.
747 * Call update() thereafter to make the change visible (if the image is shown already). */
748 public void setYTicks(boolean yTicks) {
749 pp.axisFlags = yTicks ? pp.axisFlags | Y_TICKS : pp.axisFlags & (~Y_TICKS);
750 }
751
752 /** Sets whether to show minor ticks on the x axis (if linear). Also sets major ticks if true and no grid is set.
753 * Call update() thereafter to make the change visible (if the image is shown already). */

Callers 1

setAxesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected