MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / setInterpolate

Method setInterpolate

qcustomplot.cpp:25758–25762  ·  view source on GitHub ↗

! Sets whether the color map image shall use bicubic interpolation when displaying the color map shrinked or expanded, and not at a 1:1 pixel-to-data scale. \image html QCPColorMap-interpolate.png "A 10*10 color map, with interpolation and without interpolation enabled" */

Source from the content-addressed store, hash-verified

25756 \image html QCPColorMap-interpolate.png "A 10*10 color map, with interpolation and without interpolation enabled"
25757*/
25758void QCPColorMap::setInterpolate(bool enabled)
25759{
25760 mInterpolate = enabled;
25761 mMapImageInvalidated = true; // because oversampling factors might need to change
25762}
25763
25764/*!
25765 Sets whether the outer most data rows and columns are clipped to the specified key and value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected