Vector gnuplot中带有矢量轮廓的矢量场3D绘图(底部)

Vector gnuplot中带有矢量轮廓的矢量场3D绘图(底部),vector,plot,gnuplot,Vector,Plot,Gnuplot,我想做一个向量场图,底部也画有向量箭头,就像在曲面等高线图中使用“将pm3d设置为b”一样 我的文件的格式如下: x y y dx dy dz 1 0 2 4 3 1 2 3 4 2 6 3 2 4 6 1 9 2 . . . . . . 我使用了这个gnuplot脚本: set style arrow 1 set xrange[0.7:0.0] set yrange[-0.4:0.4] set zrange[-0.4:1.0] set xti

我想做一个向量场图,底部也画有向量箭头,就像在曲面等高线图中使用“将pm3d设置为b”一样

我的文件的格式如下:

x  y  y  dx dy dz
1  0  2  4  3  1 
2  3  4  2  6  3
2  4  6  1  9  2
.  .  .  .  .  .
我使用了这个gnuplot脚本:

set style arrow 1 
set xrange[0.7:0.0]
set yrange[-0.4:0.4]
set zrange[-0.4:1.0]
set xtics (-0.7,-0.5,-0.33,-0.15,0.0,0.15,0.33,0.5,0.7) font "Times-Roman,18"
set ytics (-0.7,-0.5,-0.33,-0.15,0.0,0.15,0.33,0.5,0.7) font "Times-Roman,18"
unset ztics
set palette rgbformulae 30,31,32
set ticslevel 0
unset key
scale = 0.4
splot 'file.dat' u 1:2:3:($4*scale):($5*scale):($6*scale) w vectors arrowstyle 1
我还附加了两个具有不同视图的三维向量场图。我实际上想要的是两者的结合,以便打印向量的轮廓应显示在底部(就像使用“set view 0180”的俯视图一样),该俯视图由合并到(侧视图)打印中的第二个图像(俯视图)表示

因为我还没有看到任何gnuplot这样一个绘图的例子,所以我不确定它是否能够做到这一点。如果不能,你会推荐我使用哪个软件(Matlab,matplotlib,…)

提前谢谢

我真的很感激任何帮助

致以最良好的祝愿


DaveS

由于您知道z范围,您只需自己进行投影,然后将
z
设置为z轴的最小值,将
dz
设置为零:

set style arrow 1 
set xrange[0.7:0.0]
set yrange[-0.4:0.4]
set zrange[-0.4:1.0]
set xtics (-0.7,-0.5,-0.33,-0.15,0.0,0.15,0.33,0.5,0.7) font "Times-Roman,18"
set ytics (-0.7,-0.5,-0.33,-0.15,0.0,0.15,0.33,0.5,0.7) font "Times-Roman,18"
unset ztics
set palette rgbformulae 30,31,32
set ticslevel 0
unset key
scale = 0.4
splot 'file.dat' u 1:2:3:($4*scale):($5*scale):($6*scale) w vectors arrowstyle 1,\
    '' u 1:2:(-0.4):($4*scale):($5*scale):(0) w vectors as 1