plot - gnuplot - 偏移 xtics

标签 plot graph gnuplot axis-labels

所以我有 x 的测量值在0,100,500,100,1500,2000,2500正在策划with linespoints .

现在的问题是,当我

set xtics (0,100,500,1000,1500,2000,2500)

0100抽动重叠。

enter image description here

我能以某种方式抵消它们吗?他们不? (例如,将0 tic向上移动,靠近轴?)

最佳答案

您无法抵消单个抽动。

我看到的一种黑客方法是向这两个标签添加一些空格:

set xtics ("0    " 0, "    100" 100, 500,1000,1500,2000,2500)

关于plot - gnuplot - 偏移 xtics,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50151857/

相关文章:

java - 如何像在 Matlab 中一样在 Java 中绘图(相同的语法)

Python:如何检索和绘制 numpy 数组的未屏蔽部分?

c++ - 使用 for_each 时出错

plot - 无法设置行堆叠直方图条的边框线宽

c++ - qwt图: no plot update on replot

python - 如何使用 matplotlib 在背景图像上绘制多个子图?

algorithm - 完美匹配的二分流网络的残差图中怎么会存在有向环呢?

python - Ubigraph 的免费替代品

gnuplot - gnuplot 中的水平直方图

plot - gnuplot:绘制带有线点但点较少的文件