![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
plplot
hgxh
这个作者很懒,什么都没留下…
展开
-
Plplot绘制简单2D函数图二
本文在一幅图中显示两张子图,可更换图片背景颜色,绘图颜色,线型和线宽,图例如下:源程序如下:#include "plc++demos.h"#ifdef PL_USE_NAMESPACEusing namespace std;#endifplstream *pls;#define NSIZE 101void plot0();//绘图函数void p原创 2017-01-14 18:08:44 · 2332 阅读 · 0 评论 -
Plplot绘制随时间变换的动态图
这是一张随时间变换的动态图像,用到的plot函数有:// Create 1d stripchart,可同时绘4条函数 void stripc( PLINT *id, const char *xspec, const char *yspec, PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT原创 2017-01-14 21:08:47 · 5889 阅读 · 0 评论 -
plplot绘制3d图
需要用到的plplot主要函数:// Allocates a block of memory for use as a 2-d grid of PLFLT's. void Alloc2dGrid( PLFLT ***f, PLINT nx, PLINT ny );// Frees a block of memory allocated with plAlloc2dGrid().原创 2017-01-14 22:17:18 · 1570 阅读 · 0 评论