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

Method setXYLabels

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

Sets the labels of the x and y axes. 'xLabel', 'yLabel' may be null. If a label has the form {txt1,txt2,txt3}, the corresponding axis will be labeled not by numbers but rather with the texts "txt1", "txt2" ... instead of 0, 1, ... In this special case, there will be no label for the axis on the p

(String xLabel, String yLabel)

Source from the content-addressed store, hash-verified

689 * In this special case, there will be no label for the axis on the plot.
690 * Call update() thereafter to make the change visible (if it is shown already). */
691 public void setXYLabels(String xLabel, String yLabel) {
692 pp.xLabel.label = xLabel!=null ? xLabel : "";
693 pp.yLabel.label = yLabel!=null ? yLabel : "";
694 }
695
696 /** Sets the maximum number of intervals in a plot.
697 * Call update() thereafter to make the change visible (if the image is shown already). */

Callers 7

doPlotMethod · 0.95
PlotMethod · 0.95
dialogItemChangedMethod · 0.80
addObjectFromTableMethod · 0.80
evaluateStackForRadiiMethod · 0.80
processStackMethod · 0.80
updateXYValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected