anorman728/MaximaPlugins

lessthan() fails under maxima 5.41.0

jrminter opened this issue · 3 comments

I really liked the videos and wanted to give this a try. I found the github repo (thanks for making it public.) I tried if with the lessthan(3) example from the video. It fails withe the error:

The value 3 is not of type SEQUENCE.

Not sure how to fix this. I'd appreciate any pointers.

Also verified that this fails under Windows as well.

I know this is old but I think the problem is caused by the "label()" functions in the draw2d functions on line 15, 42, 67, 89, 114, 115, 142, 143, 165, 166, 189,and 190 of ineqgraph.mac. Getting rid of those allow it to work. I don't know what the "label()" functions should be replaced with but looking at the maxima manual, draw2d uses xlabel and ylabel for options and it may be that something was changed after these files were created.

Hope this helps you.

I know this is old but I think the problem is caused by the "label()" functions in the draw2d functions on line 15, 42, 67, 89, 114, 115, 142, 143, 165, 166, 189,and 190 of ineqgraph.mac. Getting rid of those allow it to work. I don't know what the "label()" functions should be replaced with but looking at the maxima manual, draw2d uses xlabel and ylabel for options and it may be that something was changed after these files were created.

Hope this helps you.

That's right.

The function could be more dynamic, what if someone type, for instance, lessthan(24)? Some stuff would not appeared because the xrange is static.