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

Method addPlotText

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

Source from the content-addressed store, hash-verified

2586 }
2587
2588 double addPlotText(Plot plot) {
2589 String str = getFirstString();
2590 double x = getNextArg();
2591 double y = getLastArg();
2592 plot.setJustification(justification);
2593 plot.addLabel(x, y, str);
2594 return Double.NaN;
2595 }
2596
2597 double drawPlotLine(boolean normalized) {
2598 double x1 = getFirstArg();

Callers 1

doPlotMethod · 0.95

Calls 5

getFirstStringMethod · 0.95
getNextArgMethod · 0.95
getLastArgMethod · 0.95
setJustificationMethod · 0.65
addLabelMethod · 0.45

Tested by

no test coverage detected