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

Method setAxisXLog

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

Sets the X Axis format to Log or Linear. Call update() thereafter to make the change visible (if it is shown already).

(boolean axisXLog)

Source from the content-addressed store, hash-verified

727 /** Sets the X Axis format to Log or Linear.
728 * Call update() thereafter to make the change visible (if it is shown already). */
729 public void setAxisXLog(boolean axisXLog) {
730 pp.axisFlags = axisXLog ? pp.axisFlags | X_LOG_NUMBERS : pp.axisFlags & (~X_LOG_NUMBERS);
731 }
732
733 /** Sets the Y Axis format to Log or Linear.
734 * Call update() thereafter to make the change visible (if it is shown already). */

Callers 4

doPlotMethod · 0.95
setAxesMethod · 0.95
setLogScaleXMethod · 0.95
dialogItemChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected