MCPcopy Create free account
hub / github.com/arrayfire/forge / setAxesLimits

Method setAxesLimits

src/backend/opengl/chart_impl.cpp:185–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void AbstractChart::setAxesLimits(const float pXmin, const float pXmax,
186 const float pYmin, const float pYmax,
187 const float pZmin, const float pZmax)
188{
189 mXMin = pXmin; mXMax = pXmax;
190 mYMin = pYmin; mYMax = pYmax;
191 mZMin = pZmin; mZMax = pZmax;
192
193 /*
194 * Once the axes ranges are known, we can generate
195 * tick labels. The following functions is a pure
196 * virtual function and has to be implemented by the
197 * derived class
198 */
199 generateTickLabels();
200}
201
202void AbstractChart::setAxesLabelFormat(const std::string& pXFormat,
203 const std::string& pYFormat,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected