Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## gnuplot-info

 [Gnuplot-info] Plotting 1D-bar From: Paulo J. Matos - 2006-03-20 13:03:15 ```Hi all, I'm currently trying to find out a way to do a simple plot which it turned out not to be so simple. 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. Is there any way to do this with gnuplot? If not, is there any other software able to do this? I think the problem I face with gnuplot is the range of the numbers, right? Can gnuplot handle numbers that big? Cheers, -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group ```
 Re: [Gnuplot-info] Plotting 1D-bar From: - 2006-03-20 15:03:41 ```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. ```