[Maxima] Plotting a function which handles lists
maxima at topisoft.fi
Mon Mar 15 16:08:32 CDT 2010
I am trying to plot functions, where lists are handled by indices, but
Following is a reduced example:
plot2d([f(x)], [x,1,5], [y,0,9],[nticks,200]);
Subscript must be an integer:floor(x)+1#0: f(t=x) -- an error.
To debug this try debugmode(true);
The problem seems to be that indexing a list requires an integer, and
Maxima does not recognize floor(t) to be an integer. Perhaps it is right
in general sense as t can be any type other than real-valued scalar.
Any ideas how to get this kind of lookup working?
* My maxima version is "Maxima 5.13.0".
More information about the Maxima