Linear mapping of xrange into a new range

Dario Sanfilippo <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <CALWGsHhxS5DfVk+2mmUn7WNDZhno87skRyP0C9PD7KHhf26uzQ@mail.gmail.com>
Hello, list.

I must be looking for the wrong keywords as I haven't found a solution for
this yet.

I'm plotting the magnitudes of some FFT processing by feeding Gnuplot with
a 1-column, comma-separated csv file.

So if I have 512 elements, the x-axis goes from 0 to 512, and the
magnitudes of the corresponding elements are on the y-axis.

Is there a way to have the x-axis displaying the 0:512 range linearly
mapped to, say, 0:24000?

Thank you so much for your help,
Dario

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.