如何在gnuplot中处理大值

发布于 2024-08-14 07:33:46 字数 435 浏览 1 评论 0原文

我有下面的示例文件,其中的值超过 10000000。

date,value1,value2,value3,value4
2009-06-01,16100834.94,20891965.33,15271434.3,9923084.09
2009-06-02,15061830.06,17072556.28,12578230,10591562.41
2009-06-03,14508669.28,18841097.35,15536549.47,13583187.15
2009-06-04,13771192.1,15689469.39,24404897.6,10371282.63

我可以绘制图表,但在图表中,Y 轴的值以指数数字显示。即

10000000 = 1e+7

我如何仅以十进制数字而不是指数形式显示 Y 范围值。

I have below sample file which has large values more than 10000000.

date,value1,value2,value3,value4
2009-06-01,16100834.94,20891965.33,15271434.3,9923084.09
2009-06-02,15061830.06,17072556.28,12578230,10591562.41
2009-06-03,14508669.28,18841097.35,15536549.47,13583187.15
2009-06-04,13771192.1,15689469.39,24404897.6,10371282.63

I can plot the graph but in graph the values in Y axis are shown in exponential numbers. i.e.

10000000 = 1e+7

How can i display the Y range values in decimal numbers only instead of exponential.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏の忆 2024-08-21 07:33:46

在绘图之前使用下面的内容,

gnuplot> set format y "10^{%L}"
gnuplot> set terminal postscript eps enhanced 
gnuplot> set ylabel "Y-AXIS" 2,0  

您将获得 10^ 中的值。对于其他格式,请查看此链接

希望这会有所帮助。

use below before plot

gnuplot> set format y "10^{%L}"
gnuplot> set terminal postscript eps enhanced 
gnuplot> set ylabel "Y-AXIS" 2,0  

you will get the values in 10^. For other formats look at this link

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文