Gnuplot x 轴缩放
抱歉,标题表达不清,我想不出一个无需解释就足够的标题。
我有一个图表,其 x 轴的比例不相关。我想做的是有第二个 x 轴,我知道这是可能的,但缩放比例很奇怪。
第二个轴不用于绘制任何内容,我只需要顶部值与“重要”的轴对齐。假设我的轴分为 10 个不同的抽动,从 0 - 1000。
0--100--200--300--400--500--600--700--800--900- -1000
我希望第二个 x 轴执行此操作(这是棘手的部分):
0---0----0----0----0----0----0----0---100--200--500
我的想法是让值实际上也为 0-1000,但标签不同(用“0”作为 0,100,...,700 的标签,然后用“100”,“200”, “500”作为它们各自值的标签
我知道这是可能的 。直方图,但我不处理直方图,
谢谢!
Sorry about the poorly articulated title, I couldn't think of a title that would suffice without explaination.
I have a graph with an x axis with an irrelevant scale. What I want to do is have a second x-axis, which I know is possible, that is scaled strangely.
The second axis is not used in plotting anything, I just need the top values to align with the axis that "matters." Let's say that my axis is devided into 10 different tics, going from 0 - 1000.
0--100--200--300--400--500--600--700--800--900--1000
I would like the second x-axis to do this(heres the tricky part):
0---0----0----0----0----0----0----0---100--200--500
What I was thinking was having the values actually be 0-1000 as well, but have the label be different (having "0" as a label for 0,100,...,700 and then "100" , "200" , "500" as labels for their respective values.
I know it's possible in histograms, but I'm not dealing with histograms.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许您正在寻找这个:
Perhaps you are looking for this: