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

Method setAxes

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

Sets the properties of the axes. Call update() thereafter to make the change visible (if the image is shown already).

(boolean xLog, boolean yLog, boolean xTicks, boolean yTicks, boolean xMinorTicks, boolean yMinorTicks,
			int tickLenght, int minorTickLenght)

Source from the content-addressed store, hash-verified

768 /** Sets the properties of the axes. Call update() thereafter to make the change visible
769 * (if the image is shown already). */
770 public void setAxes(boolean xLog, boolean yLog, boolean xTicks, boolean yTicks, boolean xMinorTicks, boolean yMinorTicks,
771 int tickLenght, int minorTickLenght) {
772 setAxisXLog (xLog);
773 setAxisYLog (yLog);
774 setXMinorTicks (xMinorTicks);
775 setYMinorTicks (yMinorTicks);
776 setXTicks (xTicks);
777 setYTicks (yTicks);
778 setTickLength (tickLenght);
779 setMinorTickLength(minorTickLenght);
780 }
781
782 /** Sets log scale in x. Call update() thereafter to make the change visible
783 * (if the image is shown already). */

Callers

nothing calls this directly

Calls 8

setAxisXLogMethod · 0.95
setAxisYLogMethod · 0.95
setXMinorTicksMethod · 0.95
setYMinorTicksMethod · 0.95
setXTicksMethod · 0.95
setYTicksMethod · 0.95
setTickLengthMethod · 0.95
setMinorTickLengthMethod · 0.95

Tested by

no test coverage detected