-
大小: 3.23MB文件类型: .gz金币: 1下载: 0 次发布日期: 2023-11-17
- 语言: 其他
- 标签: QCustomPlot
资源简介
下载完后将里面的.c .h文件复制到自己的工程文件夹下,在工程里添加这两文件,.pro里第九行加上greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport,就可以正常使用 QCustomPlot
代码片段和文件信息
/***************************************************************************
** **
** QCustomPlot an easy to use modern plotting widget for Qt **
** Copyright (C) 2011-2016 Emanuel Eichhammer **
** **
** This program is free software: you can redistribute it and/or modify **
** it under the terms of the GNU General Public License as published by **
** the Free Software Foundation either version 3 of the License or **
** (at your option) any later version. **
** **
** This program is distributed in the hope that it will be useful **
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
** GNU General Public License for more details. **
** **
** You should have received a copy of the GNU General Public License **
** along with this program. If not see http://www.gnu.org/licenses/. **
** **
****************************************************************************
** Author: Emanuel Eichhammer **
** Website/Contact: http://www.qcustomplot.com/ **
** Date: 13.09.16 **
** Version: 2.0.0-beta **
****************************************************************************/
#include “qcustomplot.h“
/* including file ‘src/vector2d.cpp‘ size 7340 */
/* commit 633339dadc92cb10c58ef3556b55570685fafb99 2016-09-13 23:54:56 +0200 */
////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////// QCPVector2D
////////////////////////////////////////////////////////////////////////////////////////////////////
/*! \class QCPVector2D
\brief Represents two doubles as a mathematical 2D vector
This class acts as a replacement for QVector2D with the advantage of double precision instead of
single and some convenience methods tailored for the QCustomPlot library.
*/
/* start documentation of inline functions */
/*! \fn void QCPVector2D::setX(double x)
Sets the x coordinate of this vector to \a x.
\see setY
*/
/*! \fn void QCPVector2D::setY(double y)
Sets the y coordinate of this vector to \a y.
\see setX
*/
/*! \fn double QCPVector2D::length() const
Returns the length of this vector.
\see lengthSquared
*/
/*! \fn double QCPVector2D::lengthSquared() const
Returns the squared lengt
- 上一篇:PL22.7z
- 下一篇:无人机飞行PID控制及智能PID控制技术
相关资源
- qt下超强绘图控件 QCustomPlot
- qt下超强绘图控件 - QCustomPlot
- qcustomplot_demo4.zip
- qcustomplot_realtime.zip
- QCustomPlot 实验demo
- QCustomPlotDemo范例
- CustomPlotTest.zip
- QCustomPlot鼠标跟随显示坐标值
- qt用QCustomPlot实现鼠标实时回调xy轴数
- QCustomPlot之QCPAxisTicker坐标轴类功能实
- QT使用QCustomPlot绘制曲线并动态显示曲
- TimeDynamicListDemo.rar
- qcustomplot.zip
- 基于Qt的实时曲线绘制
- QCustomPlot
- qcustomplot鼠标点击后在坐标轴显示值
- QT中利用QCustomPlot类画曲线图
- QCustomPlot时间横坐标轴动态刷新unti<
- 发动机数据监测软件模拟数据.zip
- 可用动态曲线图加强版.zip
评论
共有 条评论