Feature SS-84
2 votes

Maxima Draw: Unit handling

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

 Description

Maxima hangs, if  the expression to plot with Draw2D or Draw3D contains units.

The only recover from such situation is

  • deactivate the command (otherwise the same happens upon reloading)
  • close the SMath program,
  • kill the maxima process in the program manager and
  • re-open the file and try to get rid of the units.

This is a very cumbersome procedure for a very common problem. Also, there is not always a chance to get rid of the units, due to simplification problems of SMath.

Suggested Mitigation:

Within the functions Draw2D or Draw3D, replace any unit by 1. This is safe, because in any case, the preprocessing replaces the units by base units. This may change in the future, but for now it is safe.

This might be done using local maxima definitions or by string replacment.

 

There are no comments for this issue.