背面的gnuplot 3d轴
我需要画一个3d轴gnuplot,后面是0,0,0,而不是现在的左边。。。 欢迎任何提示。。。 数据文件如下所示:背面的gnuplot 3d轴,gnuplot,Gnuplot,我需要画一个3d轴gnuplot,后面是0,0,0,而不是现在的左边。。。 欢迎任何提示。。。 数据文件如下所示: 0 0 0 1 0 .5 .5 1 0 1 1 2 1 1 1 3 我正在使用以下代码: #!/usr/bin/env gnuplot set xyplane 0 set xlabel 'X axis' set ylabel 'Y axis' set zlabel 'Z axis' set ticslevel 0 set key center below splot "dat
0 0 0 1
0 .5 .5 1
0 1 1 2
1 1 1 3
我正在使用以下代码:
#!/usr/bin/env gnuplot
set xyplane 0
set xlabel 'X axis'
set ylabel 'Y axis'
set zlabel 'Z axis'
set ticslevel 0
set key center below
splot "data.txt" matrix using 1:2:3 t "Data 1" w lines lc rgb "green",\
"" using 1:2:4 t "Data 2" w lines lc rgb "red"
谢谢请澄清您的问题。通常,您可以将splot的结果旋转到您喜欢的任何视图角度。用鼠标左键单击并拖动。当你达到一个令人满意的视角时,要求用show view打印当前视角。要为以后的打印再现相同的视角,可以在打印前指定保存的角度。 例如 例如: 设置视图65115
只需尝试不同的值谢谢,这很简单:-只需单击图形并在任意位置旋转。。。视图也可以工作。。。
gnuplot> splot "MyFile"
### rotate with mouse to desired view ###
gnuplot> show view
view is 63 rot_x, 60 rot_z, 1 scale, 1 scale_z
axes are independently scaled
azimuth 0
gnuplot> set view 63, 60
gnuplot> replot