gnuplot 4.4上的线型 [英] Line styles on gnuplot 4.4

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

问题描述

好吧,我正在尝试绘制此图形:

Well, I'm trying to plot this graphic:

gnuplot> plot exp(-x) t 'MB' w l lw 3, (exp(x)-1)**(-1) w l lw 3 t 'BE', (exp(x)+1)**(-1) w l lw 3 t 'FD'

并使用

set terminal latex

我必须如何处理图形以虚线和虚线绘制的不同线条样式?

How, or what, I have to do to the graphics be plotted in different lines styles, as dotted and dashed?

推荐答案

为了指定线条样式,请查看文档

In order to specify line styles check the documentation here. You can specify the line type, line color, line width, point type etc.
To specify a blue dotted line on an X11 terminal do

set style line 1 lt 0 lc 3
plot x**2 ls 1

请注意,样式还取决于您使用的终端.要查看有什么可能性,请在gnuplot控制台中运行test,以使用当前终端的测试页.

Note that the styles also depend on the terminal you are using. To see what possibilities there are use the test page of the current terminal by running test in your gnuplot console.

可以在此处.

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

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