From: Jaime V. <vi...@fe...> - 2023-12-03 20:24:53
|
Hello, It works fine for me. And by the way, this has nothing to do with VTK; the confusion may arise because there is an option 'points' in draw3d and also in VTK visualization. What Maxima version are you using? Does a simple command such as: draw3d(points([1,2,3],[4,5,6],[7,8,9])); work in your system? Regards, Jaime On 03/12/23 09:02, Karen Kharatian wrote: > Hi, > I get an error when trying to render using vtk. > Maxima encountered a Lisp error: > > invalid number of arguments: 3 > Automatically continuing. > To enable the Lisp debugger set *debugger-hook* to nil. > > Here is my code: > > [sigma, rho, beta]: [10, 28, 8/3]$ > eq: [sigma*(y-x), x*(rho-z)-y, x*y-beta*z]$ > sol: rk(eq, [x, y, z], [1, 0, 0], [t, 0, 50, 1/100])$ > len: length(sol)$ > x: makelist(sol[k][2], k, len)$ > y: makelist(sol[k][3], k, len)$ > z: makelist(sol[k][4], k, len)$ > draw3d(points_joined=true, point_type=-1, points(x, y, z), > proportional_axes=xyz)$ |