I am trying to use gnuplot to build the results of my experiments.
I wrote a C ++ program that generates a data file that looks like this:
10 3.5 11 3.5 12 3.5 13 3.6
What I'm trying to do is show the x-axis values ββof the first column of this data file as powers of 2. This will look something like this (it shouldn't look exactly the same):
http://i.stack.imgur.com/8BSLr.png
So, with the published data file, I want to have 2 ^ 10, 2 ^ 11, etc. along the x axis. Any idea how to do this?
I can change the data file format if necessary.
Thanks!
source share