gnuplot - Gnuplot 中 tic 之间的间距

标签 gnuplot

我一直在疯狂地寻找这个问题的答案。如何设置 gnuplot 上抽动之间的距离?目前我的情节中的抽搐被挤得太紧了。我希望它们更加分散。

这是一个例子:

我有一个如下所示的图表:

100 ——
      |
      |
 50 —— 
      |
      |
  0 ——

我希望它看起来像这样:

 50 ——
      |
      |
      | 
      |
      |
  0 ——

请注意,后示例中实际上少了一次抽动。

最佳答案

抽动之间的距离由set xticsset ytics命令设置。例如,如果我使用命令 plot sin(x) 那么xtics之间的间距默认为5。命令

  set xtics  -10,2,10
  replot

使xtics以2的间隔出现。在上面的命令中,格式为

  set xtics <start>, <increment>, <end>

有关详细信息,请参阅 gnuplot 内的 help xtics

希望这有帮助!

关于gnuplot - Gnuplot 中 tic 之间的间距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24976412/

相关文章:

gnuplot tikz 终端

background - Gnuplot - 如何更改按键背景的不透明度?

ubuntu - 使用 Gnuplot 制作多重折线图

graph - 如何在 gnuplot 上绘制树/图/网络数据?

linux - 通过 gnuplot 创建图形文件

gnuplot - 与 gnuplot 格式说明符 %t 和 %T 不一致?

dictionary - Gnuplot:如何在 Axis 和 pm3d map 之间有一些空间

gnuplot - Octave opengl_renderer : Error 1286 occurred in init_gl_context

linux - 在 gnuplot 中定义 xrange 时如何使用变量?

Gnuplot 填充曲线翻转轴