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

Method getPlotLimits

ij/src/main/java/ij/macro/Functions.java:2771–2778  ·  view source on GitHub ↗
(Plot plot)

Source from the content-addressed store, hash-verified

2769 }
2770
2771 double getPlotLimits(Plot plot) {
2772 double[] limits = plot.getLimits();
2773 getFirstVariable().setValue(limits[0]); //xMin
2774 getNextVariable().setValue(limits[1]); //xMax
2775 getNextVariable().setValue(limits[2]); //yMin
2776 getLastVariable().setValue(limits[3]); //yMax
2777 return Double.NaN;
2778 }
2779
2780 double getPlotFrameBounds(Plot plot) {
2781 Rectangle r = plot.getDrawingFrame();

Callers 1

doPlotMethod · 0.95

Calls 5

getFirstVariableMethod · 0.95
getNextVariableMethod · 0.95
getLastVariableMethod · 0.95
getLimitsMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected