本站教程收集整理的这篇文章主要介绍了gnuplot上的x轴值,本站教程本站觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在玩gnuplot.My数据集看起来像这样。
1 0.530000 0.510000 2 0.420000 0.310000 4 0.400000 0.160000 8 0.390000 0.070000 16 0.390000 0.040000 32 0.310000 0.020000 64 0.170000 0.020000 128 0.070000 0.000000 256 0.030000 0.000000 512 0.020000 0.000000 1024 0.000000 0.000000
我的gnuplot文件是给予打击。
#!/usr/bin/gnuplot reset set terminal png set ylabel “time in ms” set xlabel “k” set title “update every kth element” set key reverse Left outside set grid set style data linespoints set output ‘cache_access.png’ plot “time_mem_access.dat” using 1:2 title “cache access 1″,”” using 1:3 title “cache access 2”
我得到的图如下所示。
GNUPLOT无法放大
如何将String转换为gnuplot中的数字
在gnuplot中的组多槽上设置标签
在现有的QtWidget中embeddedgnuplot
GNUplot中的多个绘图
我的问题是,我想要X轴显示第一列中的确切值
ie 1,2,4,8,16,32,64 etc.
我无法find任何文件在线如何完成这个完成。
绘制单点时,Gnuplot脚本文件在Windows下不起作用
如何停止从窗口中的命令行使用它时,gnuplot窗口popup?
蟒gnuplot从文件中读取
图像的“黑色墨水水平”横轴的直方图
我的程序在C中打开GnuPlot
不要打电话:
plot “time_mem_access.dat” using 1:2 title “cache access 1″,”” using 1:3 title “cache access 2”
你可以试试:
plot “time_mem_access.dat” using 1:2:xtic(1) title “cache access 1″,”” using 1:3:xtic(1) title “cache access 2”
哪个会给你下面的情节:
但是,您可能需要记录x值的日志:
plot “time_mem_access.dat” using (log($1)):2:xtic(1) title “cache access 1″,”” using (log($1)):3:xtic(1) title “cache access 2”
哪个会给你:
香港vps
本站总结
以上是本站教程为你收集整理的gnuplot上的x轴值全部内容,希望文章能够帮你解决gnuplot上的x轴值所遇到的程序开发问题。
如果觉得本站教程网站内容还不错,欢迎将本站教程推荐给好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。