简体   繁体   English

用点而不是逗号显示浮点轴标签

[英]Display float axis labels with dots instead of commas

Is it possible to display the axis labels on a xmgrace plot as 0.5 instead of 0,5, which is what I get by default?是否可以将 xmgrace plot 上的轴标签显示为 0.5 而不是 0,5,这是我默认得到的? Thank you!谢谢!

Yes, it is possible.对的,这是可能的。 You need to set your machine's locale so that it uses the right decimal separator.您需要设置机器的区域设置,以便它使用正确的小数分隔符。 From the command line just use从命令行只需使用

LC_ALL=C xmgrace

orset up an alias .设置别名

Have a look at the answers to this question for more details.请查看此问题的答案以获取更多详细信息。

This other option worked for me:这个其他选项对我有用:

If digital marks are wrong (“,” instead of “.”), type export LC_NUMERIC=C at the terminal xmgrace is run from.如果数字标记错误(“,”而不是“.”),请在运行 xmgrace 的终端键入 export LC_NUMERIC=C

I found here: https://ddcampayo.wordpress.com/2008/10/16/xmgrace/我在这里找到: https://ddcampayo.wordpress.com/2008/10/16/xmgrace/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM