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

Method createImage

ij/src/main/java/ij/gui/PlotWindow.java:201–204  ·  view source on GitHub ↗

Called by the constructor to generate the image the plot will be drawn on. This is a static method because constructors cannot call instance methods.

(String title, String xLabel, String yLabel, float[] xValues, float[] yValues)

Source from the content-addressed store, hash-verified

199 /** Called by the constructor to generate the image the plot will be drawn on.
200 This is a static method because constructors cannot call instance methods. */
201 static ImagePlus createImage(String title, String xLabel, String yLabel, float[] xValues, float[] yValues) {
202 staticPlot = new Plot(title, xLabel, yLabel, xValues, yValues);
203 return new ImagePlus(title, staticPlot.getBlankProcessor());
204 }
205
206 /** Sets the x-axis and y-axis range.
207 * @deprecated use the corresponding method of the Plot class */

Callers 1

PlotWindowMethod · 0.95

Calls 1

getBlankProcessorMethod · 0.80

Tested by

no test coverage detected