gpt4 book ai didi

plot - 如何为 Gnuplot 数据文件中的每个点选择颜色?

转载 作者:行者123 更新时间:2023-12-04 17:12:54 25 4
gpt4 key购买 nike

我想绘制点,每个点都有 X、Y 和一种颜色。我如何在 Gnuplot 中做到这一点?

最佳答案

你可以尝试这样的事情:

Line plot in GnuPlot where line color is a third column in my data file?

例如:

plot "./file.dat" u 1:2:3 with points palette

其中 file.dat 包含您的数据,第一列是 x 轴,第二列是 y 轴,第三列是颜色。

关于plot - 如何为 Gnuplot 数据文件中的每个点选择颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5315044/

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