plot - gnuplot - "How to draw an asymptote"/"Get axis value range",获取 x 或 y Axis 最小值和最大值

标签 plot gnuplot axis asymptote

是否可以“获取”x/y(或其他) Axis 绘图范围值?

我尝试这样做的原因是我想在图形上渐近点的位置绘制一条垂直线...也许有比绘制箭头更好的替代方法或更好的方法(使用图表上没有头)?

最佳答案

感谢@Christoph(再次),我能够执行以下操作:

#Plot asymptote
set arrow from b,graph 0 to b,graph 1 lt 2 lw 2 lc rgb "green" nohead

此代码执行以下操作:

  • 绘制箭头
  • 起始位置:x=变量b,y=图 0(图 [y] Axis 的最小值)
  • 结束位置:x=变量b,y=图 1(图 [y] Axis 的最大值)
  • 线条类型 2(可能需要 set termoption dashed 才能启用虚线,请参阅文档)
  • 线宽2
  • 线条颜色绿色
  • 没有箭头(一条线)

关于plot - gnuplot - "How to draw an asymptote"/"Get axis value range",获取 x 或 y Axis 最小值和最大值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30914107/

相关文章:

python - pandas any 中 Axis 的定义

python - Pandas:绘制从上到下的表现者

python - 计算 Matplotlib 文本旋转

gnuplot - 使用 Gnuplot 对缺失值的间隔进行着色

linux - gnuplot 中的列名和行名格式

javax.net.ssl.SSLException : Unrecognized SSL message, 明文连接?

r - 更改 image.plot 中的图例刻度

python - 如何将一个热图堆叠在另一个热图之上

gnuplot - x 范围无效。也许时间错了

r - 抑制 r 图中的刻度