MCPcopy Index your code
hub / github.com/gonum/plot / Plot

Method Plot

plotter/heat.go:105–111  ·  view source on GitHub ↗

Plot implements the Plot method of the plot.Plotter interface.

(c draw.Canvas, plt *plot.Plot)

Source from the content-addressed store, hash-verified

103
104// Plot implements the Plot method of the plot.Plotter interface.
105func (h *HeatMap) Plot(c draw.Canvas, plt *plot.Plot) {
106 if h.Rasterized {
107 h.plotRasterized(c, plt)
108 } else {
109 h.plotVectorized(c, plt)
110 }
111}
112
113// plotRasterized plots the heatmap using raster-based drawing.
114func (h *HeatMap) plotRasterized(c draw.Canvas, plt *plot.Plot) {

Callers

nothing calls this directly

Calls 2

plotRasterizedMethod · 0.95
plotVectorizedMethod · 0.95

Tested by

no test coverage detected