如何在gnuplot中设置相等的比例长度
你好 是否可以在gnuplot中设置比例以使scaleX和scaleY的长度相同? 我尝试了不同的技巧(设置大小、设置比例等),但即使scaleX和scaleY的范围相同 - 比例的长度也是不同的。看起来从 0 到 1 的范围长度(在scalex上)大于从0到1的范围长度(在scaleY上)。
Hi
Is it possible in gnuplot to set scales so that length of scaleX and scaleY would be the same??
I tried different tricks (set size, set ratio etc) but even if the range of scaleX and scaleY is the same - the length of that scales are different. It looks like length of range from 0 to 1(on scalex) is greater then length of range from 0 to 1 (on scaleY).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
实际上,
set size Ratio -1
在独立于窗口的所有方向上设置相同的比例,而set size square
在方框中绘制,无论您使用什么范围。Actually,
set size ratio -1
set the same ratio in all direction independently of the window whileset size square
plot in a square box, no matter what range you use.出色地,
既然我们找到了答案(请参阅问题的评论),我不妨将其发布以供其他人更轻松地找到它:
有窍门吗?
切里奥·沃尔坦
Well,
now that we found the answer (see comments of the question), I might just as well post it for others to find it more easily:
does the trick.
Cherio Woltan
这对于绘图(2D)来说效果很好。对于样图 (3D) 使用
设置视图等于 xyz
That works fine for plot (2D). For splot (3D) use
set view equal xyz