gnuplot的Pointtype命令 [英] Pointtype command for gnuplot

查看:283
本文介绍了gnuplot的Pointtype命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在gnuplot上使用pointtype命令遇到麻烦.我尝试了几种方法,例如:

I'm having trouble using the pointtype command on gnuplot. I've tried several ways such as:

set pt 5
set pointtype 5
plot " " w pt 5
plot " " w pointtype 5

由于某种原因,似乎没有任何效果.我尝试使用帮助"功能,显然我的gnuplot版本没有"pt"或"pointtype"作为选项.这也许是其他功能吗?我知道点在那里,当我绘制多组数据时,点类型会自动更改,但是我对选择点类型没有任何个人控制权.

And for some reason nothing seems to work. I tried using the "help" feature, and apparently my version of gnuplot doesn't have "pt" or "pointtype" as an option. Is this perhaps listed as some other feature. I know the points are there, when I plot multiple sets of data, the point type automatically changes, but I have no personal control over choosing the point type.

任何帮助将不胜感激.

Any help would be greatly appreciated.

推荐答案

您首先必须告诉Gnuplot使用使用点的样式,例如with pointswith linespoints.尝试例如:

You first have to tell Gnuplot to use a style that uses points, e.g. with points or with linespoints. Try for example:

plot sin(x) with points

输出:

现在尝试:

plot sin(x) with points pointtype 5

输出:

您可能还想查看test命令的输出,该命令向您显示当前终端的功能.这是我的pngairo终端的功能:

You may also want to look at the output from the test command which shows you the capabilities of the current terminal. Here are the capabilities for my pngairo terminal:

这篇关于gnuplot的Pointtype命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆