MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setKeyRange

Method setKeyRange

qcustomplot/qcustomplot.cpp:25254–25257  ·  view source on GitHub ↗

! Sets the coordinate range the data shall be distributed over in the key dimension. Together with the value range, This defines the rectangular area covered by the color map in plot coordinates. The outer cells will be centered on the range boundaries given to this function. For example, if the key size (\ref setKeySize) is 3 and \a keyRange is set to QCPRange(2, 3) there will

Source from the content-addressed store, hash-verified

25252 \see setRange, setValueRange, setSize
25253*/
25254void QCPColorMapData::setKeyRange(const QCPRange &keyRange)
25255{
25256 mKeyRange = keyRange;
25257}
25258
25259/*!
25260 Sets the coordinate range the data shall be distributed over in the value dimension. Together with

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected