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

Method getYValues

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

Get the y 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

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 */
1366 public float[] getYValues() {
1367 PlotObject p = getMainCurveObject();
1368 return p==null ? null : p.yValues;
1369 }
1370
1371 /** Get the data of the n-th Plot Object containing xy data in the sequence they were added
1372 * (Other Plot Objects such as labels, arrows, lines, shapes and hidden PlotObjects are not counted).

Callers 1

showMethod · 0.95

Calls 1

getMainCurveObjectMethod · 0.95

Tested by

no test coverage detected