Hello,
> <>I spent several hours today to get the right version of maxima
> running on my Debian Linux.
> The version of the distribution was too old. I thought I had all
> required parts ready, but
> "load(draw)$" says:load failed. I also replaced gnuplot with version
> 4.2 which was also
> not so easy because of the dependencies.<>
>
> Furthermore, the line
>
> vect1: makeset(vf(x,y,z), [x,y,z], points1)$
>
> gives:
>
> Function makeset expects a list or a set, instead found cartesian
> product.
The following sequence should work for him; it does not depend on which
draw version he has:
a: {5,10,15,20};
vf(x,y,z):= vector([x,y,z],2*[sin(x),cos(y),log(z)]);
points1: cartesian_product(a,a,a);
vect1: makeset(vf(x,y,z), [x,y,z], points1);
(If it doesn't work, could you send me a copy of the session?)
Now comes the draw part. If he has an older version of maxima, don't
worry. Gnuplot 4.2 is what he needs. Follow these steps:
1. Download the latest draw version from cvs (share/draw)
2. Place it in a folder of your choice
3. From maxima, type:
load("path_to_folder/draw.lisp");
apply(draw3d,listify(vect1));
That's all.
Let me know how it goes.
--
Mario Rodriguez Riotorto
www.biomates.net