Paulo J. Matos wrote:
> I want a 1d-plot, i.e., to plot some points along a given line. The
> problem comes with the points. The points range from 0 to 10^1000 and
> there are hundreds of points so I probably would need to have a big
> image, filling an A4 page.
Well, a line usually doesn't do a very good job of filling an area
(special plane-filling curves like the Hilbert and Peano fractals
excluded). But if you really have to, a spiral should work. You won't
get automatic tics, though:
factor = 100 # adjust this
sp_x(t) = t*cos(t/factor)
sp_y(t) = t*sin(t/factor)
plot 'file' u (sp_x($1)):(sp_y($1))
> I think the problem I face with gnuplot is the range of the numbers,
> right? Can gnuplot handle numbers that big?
Only if your computer's C "double" type does. Which almost certainly it
won't. So you'll have to preprocess them to fit them into a less insane
dynamic range. Just divide them all by 1e1000 or so, or logarithmize them.
|