Maxima Plugin - Messages
If the current portable version does not recognize your Maxima installation, please check the following information:
- Maxima version installed on your system?
- Can Maxima be started manually (console version)?
- Is the search path pointing to the path containing maxima.bat?
- post the sm file with the init command
New features:
- det() is now handled by Maxima, this enhances the numeric as well as the symbolic performance and resolve some issues in the native version.
- support of the vector product operator for simplification. Adresses an issue with native symbolic optimization.
- support of Re() and Im() including use of units.
- Improvements for auxiliary messages from Maxima commands (not handled as errors any more)
- support for Lagrangean (prime) format of derivatives, currently limited to x as argument.
- Numeric solver function mNewton(). By far not as good as FindRoot(), but those who know it from Maxima, may use it now in SMath.
Note: you must re-initialize the plugin after the update using MaximaControl("init","path to your maxima installation" ).
Having issues with the solve, see attached to see what i'm seeing. I used the plugin manager to instal and i'm fairly certain I have the most up to date smath. All other functions work like your demo except for the solve. I've tried redoing the max path update with no luck.
WrotePlugin updated.
New features:
- det() is now handled by Maxima, this enhances the numeric as well as the symbolic performance and resolve some issues in the native version.
- support of the vector product operator for simplification. Adresses an issue with native symbolic optimization.
- support of Re() and Im() including use of units.
- Improvements for auxiliary messages from Maxima commands (not handled as errors any more)
- support for Lagrangean (prime) format of derivatives, currently limited to x as argument.
- Numeric solver function mNewton(). By far not as good as FindRoot(), but those who know it from Maxima, may use it now in SMath.
Note: you must re-initialize the plugin after the update using MaximaControl("init","path to your maxima installation" ).
Changes/Features::
- Custom Control Window (Insert> Maxima control window)
- Settings window for specification of Maxima path
- Debugger Window for step by step Maxima calls
- Log window for more convenient session inspection
- MaximaTakeover() for fine tuning of function takeover
- Maxima path can be documented in the sheet
- stale maxima processes are killed automatically
- Back-translation of at()
- Access to draw package (works only with Maxima 5.31.1-1 or older)
Documentation update in progress...
Update7.sm (88 KiB) downloaded 170 time(s).
Glad to see that the progress has been made in Maxima plugin

Regards,
Radovan
P.S. This time I broke the Gallery again with installing Maxima plugin. It did not help just to delete the Maxima plugin folder, I had to delete all plugings now, as I did few times before. I have no Idea why the Online Gallery become broken sometimes after the installing a plugin.
[Edit] How stupid of me. It was a folder path therefore the path is C:\Program files\Maxima..\bin - without maxima.bat at the end
The Settings window is somewhat non-intuitive in that it writes the full path to maxima.bat as preset to the entry field and at the same time does accept directory names only. You have to remove "maxima.bat" then this will work.
I admit that this is not a highlight in user-friendly GUI design. I decided not to fight this, because the general solution shall be a file selector dialog. Other glitches like existing windows not coming to the foreground also shall be mitigated in parallel to Kay mastering windows programming.
As to the draw package: this just works with Maxima 5.31.1-1 or older, thus it won't work with Maxima 5.31.2 (see update note). The problem has been reported to the Maxima list, but it is special to our plugin and as such not reproducible by ordinary Maxima users.
Online Gallery: I need to remove Maxima, Include and FunctionsExtensions in order to get access. This is annoying, as in principle, there should be no need any more to re-initialize Maxima after updates. This, however, requires old plugin directories still to exist...
PS: When switching Maxima versions, make sure to delete any compiled maxima stuff in your user directory (search for binary-gcl). The draw package compiles lisp files when loaded for the first time. These are not binary-compatible between different Maxima versions but share the same temp space for object files.
Wrote
... As to the draw package: this just works with Maxima 5.31.1-1 or older, thus it won't work with Maxima 5.31.2 (see update note). The problem has been reported to the Maxima list, but it is special to our plugin and as such not reproducible by ordinary Maxima users.
Sorry, It seems I missed this too, because it did not work with my previous Maxima 5.30.0 version as well. I was not careful enough and I thought 5.31.1 or "newer" and not "older".
Never mind, I will uninstall it and install Maxima 5.31.1 and see if this will work for me.
WrotePS: When switching Maxima versions, make sure to delete any compiled maxima stuff in your user directory (search for binary-gcl). The draw package compiles lisp files when loaded for the first time. These are not binary-compatible between different Maxima versions but share the same temp space for object files.
Ah yes, thank you. I forgot about it as well because I have few Maxima instances here.
Regards,
Radovan
WroteBy the way, I am just curious why product() is not under "takeover" by Maxima ?
Just nobody seemed to need it including us. If you give us some examples then I put this to the todo list. Expect similar problems like with sum(), which won't work properly if not-yet-supported vector and matrix functions are involved (heavy collateral damage to functions from NonlineaSolvers). Therefore, we removed sum() from takeover by MaximaControl("takeover" ).
WroteWroteBy the way, I am just curious why product() is not under "takeover" by Maxima ?
Just nobody seemed to need it including us. If you give us some examples then I put this to the todo list. Expect similar problems like with sum(), which won't work properly if not-yet-supported vector and matrix functions are involved (heavy collateral damage to functions from NonlineaSolvers). Therefore, we removed sum() from takeover by MaximaControl("takeover" ).
Yes, I see your point. I just saw now that, contrary to MaximaControl( "takeover" ), MaximaTakeover( "all" ) will use sum() as well. It seems that sum() (and not yet supported product()) should be avoided in Maxima at the moment (see the picture please - is this a bug?). To be honest, I have more confidence in Maxima than in SMath regarding some more complicated sums and products.
Regards,
Radovan
Regards,
Radovan
In stats package, there are nice stat tests but the output is in text format and I do not know how to get that, for instance
(%i1) load( "stats" )$
(%i2) data: [78,64,35,45,45,75,43,74,42,42]$
(%i3) test_mean(data,'conflevel=0.9,'alternative='less,'mean=50);
| MEAN TEST
|
| mean_estimate = 54.3
|
| conf_level = 0.9
|
| conf_interval = [minf, 61.51314273502712]
|
(%o3) | method = Exact t-test. Unknown variance.
|
| hypotheses = H0: mean = 50 , H1: mean < 50
|
| statistic = .8244705235071678
|
| distribution = [student_t, 9]
|
| p_value = .7845100411786889
I struggled with this, but no success.
In descriptive package, there are quite interesting functions for me, but do not know how to use few stats plots from that package (see the picture). There is no error issued, but there is one step I missed (I suppose). How to export the graph to say SVG and to import it into SMath?.
Regards,
Radovan
With the stat plots: they are just like any draw based plots, add filename and terminal as options and import the images. It is essential to append the optional arguments and not to put them in front of required arguments (data).
WroteWith the text output we shall see what we can do.
Thank you. Looking forward to that

WroteWith the stat plots: they are just like any draw based plots, add filename and terminal as options and import the images. It is essential to append the optional arguments and not to put them in front of required arguments (data).
Thank you for this as well. Martin, could you please open this file. I can not see what I was doing wrong. Files have not been saved. I tried to recalculate many times (sometimes peculiar things happened when load(stats) was present - therefore I deleted it at the moment)
Regards,
Radovan
stat distrib-1.sm (25 KiB) downloaded 112 time(s).
There are some strange things that happened here. Find attached the files I was played with. If you have patience, please just take a look at this video
Maxima draw
The strange thing is that when I have deleted the *.svg files, then I can not see the plots never mind how many times I restart.
I can see the files when I just open your "Update7.sm" file and after that I restart "stat distrib-3.sm" file.
Pictures are a bit distorted, and after restarting they change their size. I hav no idea why is this happening. Only the boxplot keeps its size
Regards,
Radovan
Update7.sm (88 KiB) downloaded 119 time(s).
nice to see you seriously digging into Maxima plotting. I confirm the problem of deleted files not re-appearing after re-calculation. This problem is gone if you reset your session using MaximaControl("restart" ).
The problem with distorted plots is in fact a problem of proportional axes scaling which is set as plot default in the beginning of the sheet. BTW, you might reduce the plot size by assigning appropriate defaults there.
I should have paid more attention on these parameters

By the way, I hope I would not mind if I ask you why the last plot refuses to use the plot name (I can use maxima_out.png though which has been made here - not quite understand this as well)
Regards,
Radovan
-
New Posts
-
No New Posts