|
From: Christian B. <cr...@un...> - 2010-07-10 09:46:23
|
Hi,
I'm looking for a way to plot measurement data of iozone with gnuplot.
The data has this style.
"4" "8" "16" "32" "64"
"64" 1419266 2068710 2198495 2291049 2360570 ...
"128" 1852885 2137077 1907552 2414195 1779689
"256" 1218963 1766143 1391933 2304816 2509077
"512" 1450125 2217077 1580337 1610085 2081676
"1024" 1416237 2106757 1875193 2011379 2437817
"2048" 1603861 1459826 1759561 1841672 1728337
"4096" 1454529 1505890 1501415 1710995 1810833
"8192" 1330492 319961 1582402 1542753 1697480
"16384" 1317258 1512262 1578257 1378195 1579478
...
The first row is the caption of the X-axis.
The first line is the caption of the Y-axis.
A perfect output would be like the first image at the iozone-website [1].
Now, I'm searching for a demo script that does more or less the same. The page [2] with the demo scripts for gnuplot version 4.4 has some scripts for surfaces and 3D plotting but these scripts always plot a function or the data is from this style:
0.092386 0.000000 -0.291706
0.084399 0.037577 -0.291706
0.061819 0.068656 -0.291706
0.028549 0.087865 -0.291706
0.009657 0.091880 -0.291706
...
But this approach is totally different.
I'm not sure, if plotting iozone measurement data can be done with "splot". I also don't know how to import the captions of the X and Y-axis (first row and first line). It's not possible here to work with "set xrange" and "set yrange".
Thanks in advance for any help.
Best Regards,
Christian
[1] http://www.iozone.org
[2] ttp://gnuplot.sourceforge.net/demo_4.4/
|