gpt4 book ai didi

rotation - gnuplot 旋转轴标签(xlabel、ylabel 和 zlabel)在 3d 图中不起作用

转载 作者:行者123 更新时间:2023-12-02 06:56:05 25 4
gpt4 key购买 nike

我很难在我的 3d 图上将 y 轴和 z 轴标签与坐标轴对齐。这是我的代码。

  set ylabel "Infectious Duration (days)" rotate by 90
set zlabel "Compute Time (sec)" rotate by 90
set logscale x

splot "TCompISIS3d.txt" using 1:2:3 title 'SIS-Inf1' with points , \
"TCompISIS3d.txt" using 1:4:5 title 'SIS-Inf4' with points , \
"TCompISIS3d.txt" using 1:6:7 title 'SIS-Inf10' with points , \
"TCompISIS3d.txt" using 1:8:9 title 'SIS-Inf50' with points

但它不会旋转任何标签。请帮忙!

最佳答案

使用 rotate by 设置轴标签的任意旋转仅适用于 2D 图。在 3D 中,您只能使用 rotate parallel 将标签方向更改为平行于各自的轴。来自 III Commands → Set-show → Xlabel 下的文档:

The orientation (rotation angle) of the x, x2, y and y2 axis labels in 2D plots can be changed by specifying rotate by . The orientation of the x and y axis labels in 3D plots defaults to horizontal but can be changed to run parallel to the axis by specifying rotate parallel.

关于rotation - gnuplot 旋转轴标签(xlabel、ylabel 和 zlabel)在 3d 图中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31162753/

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