Subject: plot2d failed to plot too many discrete points
From: Raymond Toy
Date: Sun, 13 May 2012 09:30:37 -0700
On 5/12/12 1:33 AM, XeCycle wrote:
> Hello,
>
> I'm trying to plot my computed numbers, roughly millions; then I
> found plot2d failed to plot these many points. Even, it failed
> to plot 65536 points --- should I check my compiler?
My car is broken. Please fix it.
Please provide more information on exactly what "failed to plot" means.
On the other hand:
(%i41) zz:makelist(k,k,0,100000)$
(%i42) plot2d([discrete,zz,zz]);
produces a nice straight line for me (current git, cmucl, osx).
>
> I'm using SBCL on x86_64 Linux, and the plot function was called
> From Lisp.
>
> Or just tell me Maxima is not well suited to numeric computing,
> then convince me to try something else.
Could be true. Hard to tell from what you've given us.
>
> I'm considering to output these numbers to a pipe and spawn the
> gnuplot myself, is it recommended?
Maxima already does that. (Well, the default is to pipe the data to
gnuplot.) You could just save the data to a file and see if gnuplot
will plot them. That would at least give way more information on
whether it's gnuplot or maxima.
Ray