Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
windows终端中的虚线-gnuplot_Gnuplot - Fatal编程技术网

windows终端中的虚线-gnuplot

windows终端中的虚线-gnuplot,gnuplot,Gnuplot,我正在使用默认的Windows终端为Windows使用gnuplot。我需要画一条虚线,而不是普通的实线 我曾经 set style line 1 lt 0 lc 3 plot 'dashcca.txt' 但它不起作用 有什么建议吗?请参阅帮助终端窗口,其中显示终端选项虚线。任用 set terminal windows dashed 或 当然,您必须使用虚线类型。键入test,查看当前终端设置下所有支持的线型 要使用具有不同线条颜色的特定划线图案,请使用例如 plot x linetype

我正在使用默认的
Windows
终端为Windows使用
gnuplot
。我需要画一条虚线,而不是普通的实线

我曾经

set style line 1 lt 0 lc 3
plot 'dashcca.txt'
但它不起作用


有什么建议吗?

请参阅
帮助终端窗口
,其中显示终端选项
虚线
。任用

set terminal windows dashed

当然,您必须使用虚线类型。键入
test
,查看当前终端设置下所有支持的线型

要使用具有不同线条颜色的特定划线图案,请使用例如

plot x linetype 2 linecolor 1
这将使用线型2的虚线图案和线型1的颜色(红色)。您可以将任意颜色与
linecolor rgb
配合使用:

plot x linetype 2 linecolor rgb 'black', x**2 linetype 3 linecolor rgb '#bb0000'

您确切使用的是哪个
终端
?您是否尝试将
lt 0
更改为
lt 1
plot x linetype 2 linecolor rgb 'black', x**2 linetype 3 linecolor rgb '#bb0000'