gpt4 book ai didi

windows - 绘制单点时 Gnuplot 脚本文件在 Windows 下不起作用

转载 作者:可可西里 更新时间:2023-11-01 11:52:51 24 4
gpt4 key购买 nike

我有点困惑,我有相同的 gnuplot 脚本可以在

版本 4.6 补丁级别 4 构建系统:Linux x86_64

但不在

版本 4.6 补丁级别 5 构建系统:MS-Windows 32 位

脚本文件是

clear

set terminal epslatex size 20cm,14cm
set output 'mwe.tex'

set style data points

set style line 101 lc rgb "black" lw 2 pt 1 ps 2

set grid

set xlabel 'xlabel'
set ylabel 'ylabel'
xmin= -0.2
xmax= 0.7
set xrange [xmin:xmax]


set key below

plot "<echo '0.408 270.7'" with points ls 101 notitle,\

执行命令 "<echo不知何故不能在 Windows 下工作?

我在 Windows 上遇到的错误是“跳过无法读取的文件”

最佳答案

<通过 shell 传输以下命令(参见 help special-filenames )。命令本身主要依赖于系统,而不是 gnuplot 的一部分(在本例中为 echo)。

如果你想要一种可移植的方式来指定单个点,你可以设置一个空标签并使用 point选项:

set style line 101 lc rgb "black" lw 2 pt 1 ps 2
set label at 0.408, 270.7 "" point ls 101

请注意,这仅在您还绘制其他内容时才有效,因为标签仅在 plot 时设置。命令被调用。

关于windows - 绘制单点时 Gnuplot 脚本文件在 Windows 下不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25594827/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com