MCPcopy Create free account
hub / github.com/KDE/labplot / plot

Method plot

src/backend/worksheet/Worksheet.cpp:552–557  ·  view source on GitHub ↗

! * \brief Worksheet::plot * \param index Number of plot which should be returned * \return Pointer to the CartesianPlot which was searched with index */

Source from the content-addressed store, hash-verified

550 * \return Pointer to the CartesianPlot which was searched with index
551 */
552CartesianPlot* Worksheet::plot(int index) {
553 auto plots = children<CartesianPlot>();
554 if (plots.length() - 1 >= index)
555 return plots.at(index);
556 return nullptr;
557}
558
559TreeModel* Worksheet::cursorModel() {
560 Q_D(const Worksheet);

Callers 1

retransformMethod · 0.45

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected