0

gnuplot安装使用

 6 months ago
source link: https://charon-cheung.github.io/2022/07/07/SLAM%E5%B7%A5%E5%85%B7/gnuplot%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

gnuplot安装使用 | 沉默杀手

gnuplot安装使用
2022-07-07|SLAM工具|
Word count: 125|Reading time: 1 min
sudo apt-get install gnuplot
sudo apt-get install gnuplot-x11

输入 gnuplot,出现命令行,输入 plot sin(x),如果出现正弦曲线说明安装成功。

下载地址

解压gnuplot-cpp,输入 make 进行编译。如果在其它项目需要使用gnuplot将gnuplot_i.hpp复制到对应项目,在程序中加入 #include "gnuplot_i.hpp"

还可以通过使用gnuplot-iostream来实现c++调用,gnuplot-iostream库需要boost库才能使用

参考:C++ 调用Gnuplot实现图形绘制的过程

©2018 - 2022 By Charon Cheung
Driven - Hexo|Theme - Melody

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK