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

Method getEquation

ij/src/main/java/ij/plugin/frame/Fitter.java:125–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 }
124
125 String getEquation() {
126 GenericDialog gd = new GenericDialog("Formula");
127 gd.addStringField("Formula:", equation, 38);
128 gd.showDialog();
129 if (gd.wasCanceled())
130 return null;
131 equation = gd.getNextString();
132 return equation;
133 }
134
135 public static void plot(CurveFitter cf) {
136 plot(cf, false);

Callers 1

doFitMethod · 0.95

Calls 4

addStringFieldMethod · 0.95
showDialogMethod · 0.95
wasCanceledMethod · 0.95
getNextStringMethod · 0.95

Tested by

no test coverage detected