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

Method drawPlotLine

ij/src/main/java/ij/macro/Functions.java:2597–2607  ·  view source on GitHub ↗
(boolean normalized)

Source from the content-addressed store, hash-verified

2595 }
2596
2597 double drawPlotLine(boolean normalized) {
2598 double x1 = getFirstArg();
2599 double y1 = getNextArg();
2600 double x2 = getNextArg();
2601 double y2 = getLastArg();
2602 if (normalized)
2603 plot.drawNormalizedLine(x1, y1, x2, y2);
2604 else
2605 plot.drawLine(x1, y1, x2, y2);
2606 return Double.NaN;
2607 }
2608
2609 double drawPlotVectors() {
2610 double[] x1 = getFirstArray();

Callers 1

doPlotMethod · 0.95

Calls 5

getFirstArgMethod · 0.95
getNextArgMethod · 0.95
getLastArgMethod · 0.95
drawNormalizedLineMethod · 0.80
drawLineMethod · 0.45

Tested by

no test coverage detected