Bug SS-87
2 votes

Maxima Draw: sets cannot be given as options

Created by Martin Kraska on 3/27/2014 4:18 PM Last Updated by Martin Kraska on 4/7/2014 12:02 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

The draw functions cannot be given set arguments (e.g. for custom tick marks or contour levels)

In principle, the translation of sets is not supported in the Maxima plugin. However, sets can be created using the function set(), which is correctly conveyed to maxima.

Maxima represents a set by curly braces. In Back-translation to SMath, these are replaced by parens () and lead to an error in the math region.

It would be safe, to convert such sets {....} in curly braces to set(....) expressions, which could not be evaluated in SMath but would survive the two-step translation process within the Draw functions.

Alternatively, the problem could be solved by using a single Maxima call to issue the draw command (just as in issue SS

There are no comments for this issue.