MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / getPlot

Method getPlot

src/main/java/com/rtg/graph/DataBundle.java:345–356  ·  view source on GitHub ↗
(int lineWidth, int colour, boolean points)

Source from the content-addressed store, hash-verified

343
344 // Primary line graph
345 PointPlot2D getPlot(int lineWidth, int colour, boolean points) {
346 assert mGraphType != null : "graph type has not been set";
347 updateRangedData();
348 final PointPlot2D lplot = new PointPlot2D();
349 lplot.setData(mRangedPoints);
350 lplot.setPoints(points);
351 lplot.setLines(true);
352 lplot.setLineWidth(lineWidth);
353 lplot.setColor(colour);
354 lplot.setTitle(mTitle);
355 return lplot;
356 }
357
358 // Text labels to overlay on the graph
359 TextPlot2D getScoreLabels() {

Callers 5

testMethod · 0.95
testMethod · 0.95
testProgressMethod · 0.95
RocGraph2DMethod · 0.95

Calls 5

updateRangedDataMethod · 0.95
setDataMethod · 0.80
setLineWidthMethod · 0.80
setColorMethod · 0.80
setTitleMethod · 0.45

Tested by 3

testMethod · 0.76
testMethod · 0.76
testProgressMethod · 0.76