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

Method replacePlot

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

Source from the content-addressed store, hash-verified

2838 }
2839
2840 double replacePlot(Plot plot) {
2841 int index = (int)getFirstArg();
2842 String shape = getNextString();
2843 double[] x = getNextArray();
2844 double[] y = getLastArray();
2845 plot.replace(index, shape, x, y);
2846 return Double.NaN;
2847 }
2848
2849 double enableLivePlot(Plot plot) {
2850 boolean b = getBooleanArg();

Callers 1

doPlotMethod · 0.95

Calls 5

getFirstArgMethod · 0.95
getNextStringMethod · 0.95
getNextArrayMethod · 0.95
getLastArrayMethod · 0.95
replaceMethod · 0.45

Tested by

no test coverage detected