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

Method getXValues

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

Get the x coordinates of the data set passed with the constructor (if not null) or otherwise of the data set of the first 'addPoints'. Returns null if neither exists

()

Source from the content-addressed store, hash-verified

1357 /** Get the x coordinates of the data set passed with the constructor (if not null)
1358 * or otherwise of the data set of the first 'addPoints'. Returns null if neither exists */
1359 public float[] getXValues() {
1360 PlotObject p = getMainCurveObject();
1361 return p==null ? null : p.xValues;
1362 }
1363
1364 /** Get the y coordinates of the data set passed with the constructor (if not null)
1365 * or otherwise of the data set of the first 'addPoints'. Returns null if neither exists */

Callers 1

showMethod · 0.95

Calls 1

getMainCurveObjectMethod · 0.95

Tested by

no test coverage detected