Xmgrace中的轮廓图

坦莫·查克拉伯蒂(Tanmoy Chakraborty)

在此处输入图片说明我有一个包含3列的数据文件。现在,我想使用xmgrace绘制轮廓图,因为我主要使用xmgrace。但是不知何故,我现在无法绘制它。谁能帮我一下吗?提前致谢。数据格式如下所示:

3.24 4.78 0.015776 3.24 4.80 0.011777 3.24 4.82 0.00986 3.24 4.84 0.010185 3.24 4.86 0.012515 3.26 4.78 0.009244 3.26 4.80 0.006368 3.26 4.82 0.005792 3.26 4.84 0.007121 3.26 4.86 0.010361 3.28 4.78 0.004666 3.28 4.80 0.0028 3.28 4.82 0.003017 3.28 4.84 0.005285 3.28 4.86 0.0095 3.30 4.78 0.001295 3.30 4.80 0.000557 3.30 4.82 0.001924 3.30 4.84 0.005266 3.30 4.86 0.010401 3.32 4.78 0 3.32 4.80 0.000233 3.32 4.82 0.002508 3.32 4.84 0.006666 3.32 4.86 0.012515 3.34 4.70 0.012943 3.34 4.72 0.006904 3.34 4.74 0.002791 3.34 4.76 0.000662 3.36 4.70 0.011024 3.36 4.72 0.005998 3.36 4.74 0.003063 3.36 4.76 0.001814 3.38 4.70 0.011203 3.38 4.72 0.007077 3.38 4.74 0.004755 3.38 4.76 0.004188 3.40 4.70 0.01263 3.40 4.72 0.009182 3.40 4.74 0.007685 3.40 4.76 0.007985

The final curve should be like as shown in the attachment.

feedMe

Google快速搜索显示xmgrace(又名Grace)不支持等高线图

对于使用gnuplotmatplotlibOrigin等的等高线图有很多示例脚本

这是使用数据的gnuplot的简单示例:将数据另存为3列数据文件后,data.dat将以下内容另存为脚本文件:

set parametric
set contour base
set view 0,0,1
unset surface
unset key
unset ztics
set dgrid3d
set title "Simple contour plot example" 
set xlabel "X" 
set ylabel "Y" 
set cntrparam levels 10
splot "data.dat" using 1:2:3 with line

并从UNIX命令行调用gnuplot -persist scriptfile这给出以下输出:在此处输入图片说明

因此,您似乎没有使用xmgrace,使用了gnuplot,这就是为什么您无法弄清楚如何在xmgrace中重新制作原始图的原因!

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章