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

Method setPlotColor

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

Source from the content-addressed store, hash-verified

2673 }
2674
2675 double setPlotColor(Plot plot) {
2676 interp.getLeftParen();
2677 Color color = getColor();
2678 Color color2 = null;
2679 if (interp.nextToken()!=')') {
2680 interp.getComma();
2681 color2 = getColor();
2682 }
2683 plot.setColor(color, color2);
2684 interp.getRightParen();
2685 return Double.NaN;
2686 }
2687
2688 double setPlotBackgroundColor(Plot plot) {
2689 interp.getLeftParen();

Callers 1

doPlotMethod · 0.95

Calls 6

getColorMethod · 0.95
getLeftParenMethod · 0.80
getCommaMethod · 0.80
getRightParenMethod · 0.80
setColorMethod · 0.65
nextTokenMethod · 0.45

Tested by

no test coverage detected