Qt如果只是使用QPainter绘制的话会比较慢,找到这个类QCustomPlot是利用QT封装的,效率很高,而且使用也是比较方便,自己需改了一下,放到网上,大家可以看看。
提供几个绘制的截图,很漂亮的:
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用

Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用
Qt中关于绘图表QCustomPlot的使用

开发环境:
VS2013+QT5.7
Qt中关于绘图表QCustomPlot的使用

代码下载

相关文章:

  • 2021-08-04
  • 2021-06-20
  • 2021-05-07
  • 2021-06-28
  • 2021-04-21
猜你喜欢
  • 2021-10-02
  • 2022-12-23
  • 2021-08-26
  • 2021-05-21
  • 2022-12-23
  • 2021-11-19
  • 2021-10-21
相关资源
相似解决方案