![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
QCustomPlot
文章平均质量分 56
基于QT的第三方绘图控件。
历史五千年
母校-太原工业学院
展开
-
QCustomPlot 1.0.1学习(5)-Sinc函数绘制
界面:核心代码: customPlot->legend->setVisible(true); customPlot->legend->setFont(QFont("Helvetica",9)); // set locale to english, so we get english decimal separator: customPlot->setLocale(QLocale(QLocale::English, QLocale::UnitedKin原创 2022-03-03 10:23:33 · 337 阅读 · 0 评论 -
QCustomPlot 1.0.1学习(4)-绘制多条曲线
界面:核心代码: // add two new graphs and set their look: customPlot->addGraph(); customPlot->graph(0)->setPen(QPen(Qt::blue)); // line color blue for first graph customPlot->graph(0)->setBrush(QBrush(QColor(0, 0, 255,20))); // first.原创 2022-03-02 16:22:44 · 892 阅读 · 0 评论 -
QCustomPlot 1.0.1学习(3)-绘制二次函数
界面:核心代码: // generate some data: QVector<double> x(101), y(101); // initialize with entries 0..100 for (int i=0; i<101; ++i) { x[i] = i/50.0 - 1; // x goes from -1 to 1 y[i] = x[i]*x[i]; // let's plot a quadratic.原创 2022-03-01 16:57:50 · 250 阅读 · 0 评论 -
QCustomPlot 1.0.1学习(1)-下载和使用QCustomPlot
1、QCustomPlot介绍QCustomPlot is a Qt C++ widget for plotting and data visualization. It has no further dependencies and is well documented. This plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as of原创 2022-03-01 14:22:30 · 636 阅读 · 0 评论 -
QCustomPlot 1.0.1学习(2)-类层次结构
目录QCPBarDataQCPCurveDataQCPDataQCPItemAnchorQCPBarDataHolds the data of one single data point (one bar) for QCPBarsQCPCurveDataHolds the data of one single data point for QCPCurveQCPDataHolds the data of one single data point for QCPGr原创 2021-11-18 20:11:37 · 1017 阅读 · 0 评论