Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


16 Pages«<141516
Options
Go to last post Go to first unread
Offline overlord  
#301 Posted : 24 February 2023 15:49:57(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Why am I getting two different results, is this a bug?
First one is the correct result by the way.

Regards

maximabug.png
Offline mkraska  
#302 Posted : 24 February 2023 22:59:39(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: overlord Go to Quoted Post
Why am I getting two different results, is this a bug?
First one is the correct result by the way.

Regards



This is due to the different preprocessing by SMath in the individual ways to call the maxima function. This is revealed by displaying the full maxima log.
If the expressions are evaluated in wxmaxima you get the same difference, so it is native Maxima behaviour. I'd call it a bug. This bug doesn't appear
if the assumptions are made explicitly.

symbolic integrate.png
symbolic integrate.sm (14kb) downloaded 2 time(s).
2023-02-24 20_26_17-wxMaxima 17.10.0 [ nicht gespeichert_ ].png

Edited by user 24 February 2023 23:01:38(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 25/02/2023(UTC)
Offline mkraska  
#303 Posted : 16 July 2023 02:44:23(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
The Maxima plugin has been updated. A detailed description on the changes will follow.

Most important feature is an integrated option to install Maxima. See Insert> Settings
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 17/07/2023(UTC)
Offline fakemoses  
#304 Posted : 16 July 2023 13:13:00(UTC)
fakemoses


Rank: Member

Groups: Registered
Joined: 10/04/2023(UTC)
Posts: 22
Germany

Was thanked: 15 time(s) in 7 post(s)
Hello everyone,

I have added a few new features to the Maxima plugin, and it is now marked as beta. To download it from the extension manager, please uncheck the "exclude beta version" option.

Screenshot_474.png




Here are the changes in the latest update:

  • Automatic search for Maxima in the C:\\ drive. If you have none installed, it will prompt for installation.
  • Installation dialog with download bar and statuses
  • Automatic download of the latest version of Maxima and silent installation with the user's permission.
  • A new settings dialog with an install option.
  • some bug fixes from the Bug tracking system




Screenshot_475.png
Installer Form

Screenshot_476.png
Settings Form



Maxima Installation:

To install maxima (if you don't have it on your computer), you can run any Maxima function such as MaximaTakeover() or install the maxima software via the setting form (Insert > Maxima > Settings).

The installer form will appear and immediately initiate the download of the latest Maxima installer from the internet. Once the download is completed successfully, a prompt screen will appear requesting admin privileges. Please grant admin privileges by clicking "Yes" on the prompt. The installer will then run silently. After a few minutes, the status bar at the bottom left of the installer will indicate that the installation was successful, and the "Finish" button will be enabled. Please click on the "Finish" button to complete the installation process.


A more detailed examples of the bug fixes can be found in the following attachment: Update20.sm (78kb) downloaded 4 time(s).


I encourage you to try out this new update and provide feedback to help me further improve the plugin. If you encounter any bugs, please don't hesitate to let me know, and I will work on fixing them. More update will be added in the future.

Thank you!

Edited by user 17 July 2023 12:44:52(UTC)  | Reason: typo

thanks 2 users thanked fakemoses for this useful post.
on 17/07/2023(UTC),  on 17/07/2023(UTC)
Offline mkraska  
#305 Posted : 16 July 2023 23:36:33(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Here is an example of what can be done with Maxima 5.47, just as a teaser. Note that the plots use the Maxima Draw region (Insert> Maxima> Draw3D) with some of the settings made via the settings dialog, e.g. the color palette and the sampling density.

Like the whole Maxima plugin, the Draw regions are work in progress. In the attached sheet some issues are listed.

Draw3D_1.sm (177kb) downloaded 13 time(s).
2023-07-16 22_26_39-SMath Solver 1.0.8348 - [Draw3D_1.sm].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 3 users thanked mkraska for this useful post.
on 17/07/2023(UTC),  on 17/07/2023(UTC),  on 17/07/2023(UTC)
Offline Davide Carpi  
#306 Posted : 17 July 2023 11:39:39(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: fakemoses Go to Quoted Post
  • Automatic search for Maxima in the C:\\ drive. If you have none installed, it will prompt for installation.
  • Installation dialog with download bar and statuses
  • Automatic download of the latest version of Maxima and silent installation with the user's permission.
  • A new settings dialog with an install option.


  • Very nice, worked flawlessly for me (Win11 Pro 22H2) OK

    If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
    Offline mkraska  
    #307 Posted : 19 July 2023 03:51:33(UTC)
    mkraska


    Rank: Advanced Member

    Groups: Registered
    Joined: 15/04/2012(UTC)
    Posts: 1,980
    Germany

    Was thanked: 1120 time(s) in 718 post(s)
    These are prototype Draw2D and Draw3D functions, using direct Maxima commands. After some testing, the functions in the plugin get updated based on these prototypes.

    The changes are mainly adjustments to changes in the gnuplot interface.

    Also, appropriate defaults are set in order to reduce the required commands for nice plots. In particular, we want to make use of shaded plots by default.

    Note that the performance of the commands is poor. We still need to find out where the bottleneck is (Plugin, Maxima, Gnuplot?).

    Due to glitches in png format (truncated characters, bug in gnuplot or Maxima) and svg (wrong text alignment, bug of image region), we plan to make pdf the default format.

    2023-07-19 02_40_00-SMath Solver - [Draw-snippet3d.sm_].png
    Draw-snippet.sm (130kb) downloaded 16 time(s).
    Draw-snippet3d.sm (2,560kb) downloaded 16 time(s).
    Martin Kraska

    Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
    thanks 3 users thanked mkraska for this useful post.
    on 19/07/2023(UTC),  on 19/07/2023(UTC),  on 19/07/2023(UTC)
    Offline mkraska  
    #308 Posted : 22 July 2023 18:23:58(UTC)
    mkraska


    Rank: Advanced Member

    Groups: Registered
    Joined: 15/04/2012(UTC)
    Posts: 1,980
    Germany

    Was thanked: 1120 time(s) in 718 post(s)
    The "draw" snippet has been updated. It contains the functions draw2D(2), draw2D(3) and draw3D(2), draw3D(3).

    Changes:

    - now supports pdf (recommended), png and svg format
    - Modified default grid and axes
    - default axes labels

    Due to problems with the DocumentDirectory function, the file name must be absolute. It may happen that a relative path also works but that is unreliable.
    The command "grid=false" doesn't work for removing the grid, you have to use a direct gnuplot command (user_preamble), as shown below. In the Plugin functions, we could implement a workaround (creating the preamble-entry when grid=false is found in the commands)

    Drawtest2.png
    Drawtest2.sm (2,019kb) downloaded 12 time(s).
    Martin Kraska

    Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
    thanks 2 users thanked mkraska for this useful post.
    on 22/07/2023(UTC),  on 23/07/2023(UTC)
    Offline Razonar  
    #309 Posted : 23 July 2023 08:28:13(UTC)
    Razonar


    Rank: Advanced Member

    Groups: Registered
    Joined: 28/08/2014(UTC)
    Posts: 1,356
    Uruguay

    Was thanked: 815 time(s) in 516 post(s)
    Originally Posted by: mkraska Go to Quoted Post
    ... Due to problems with the DocumentDirectory function, the file name must be absolute. ...


    Hi Martin. I don't think the end user cares much about the file name or the intermediate format to get the graphic. In the attached file, a simple way to create a unique file name in the windows temporary directory.

    One detail: if the graph has an error, it continues to show the last correct graph, which is a bit inconvenient when it comes to making sure that things are going well.

    Clipboard01.png

    Drawtest2.sm (2,023kb) downloaded 12 time(s).

    Best regards.
    Alvaro.
    thanks 2 users thanked Razonar for this useful post.
    on 23/07/2023(UTC),  on 24/07/2023(UTC)
    Offline mkraska  
    #310 Posted : 23 July 2023 23:54:37(UTC)
    mkraska


    Rank: Advanced Member

    Groups: Registered
    Joined: 15/04/2012(UTC)
    Posts: 1,980
    Germany

    Was thanked: 1120 time(s) in 718 post(s)
    snippet "draw" is updated.

    The file name handling has been improved
    - if the name is just the extension, then a temporary file name is generated as recommended by Alvaro (and as was standard behaviour in the plugin Draw functions)
    - if a relative file name is given (test by not finding ":" in it), it is augmented by the document directory. If the file is not saved, the temp dir is used.
    - any full name is used as is.

    2023-07-23 22_51_55-SMath Solver - [draw.sm_].png
    draw.sm (1,993kb) downloaded 14 time(s).
    Martin Kraska

    Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
    thanks 2 users thanked mkraska for this useful post.
    on 24/07/2023(UTC),  on 24/07/2023(UTC)
    Offline mkraska  
    #311 Posted : 26 July 2023 01:53:06(UTC)
    mkraska


    Rank: Advanced Member

    Groups: Registered
    Joined: 15/04/2012(UTC)
    Posts: 1,980
    Germany

    Was thanked: 1120 time(s) in 718 post(s)
    Snippet "draw" is updated.

    - The functions have been renamed to Draw2D.s and Draw3D.s in order to avoid naming conflicts during testing.
    - default color palette is restored to gnuplot defaults, rainbow palette is pre-defined (use palette=rainbow)
    - some bug fixing based on the attached test cases (from the SMath handbook)

    Draw2D3D-snippet.sm (2,191kb) downloaded 14 time(s).
    draw_023.png
    Martin Kraska

    Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
    thanks 2 users thanked mkraska for this useful post.
    on 26/07/2023(UTC),  on 26/07/2023(UTC)
    Offline fakemoses  
    #312 Posted : 21 August 2023 11:39:30(UTC)
    fakemoses


    Rank: Member

    Groups: Registered
    Joined: 10/04/2023(UTC)
    Posts: 22
    Germany

    Was thanked: 15 time(s) in 7 post(s)
    Hello Everyone,

    we have updated the latest version of the plugin (as beta). Following are some of the fixes/implementation that we have done.

    1. Fixed bug SS-4680: Translation problem of variable names with prime (https://smath.com/bts/Issues/IssueDetail.aspx?id=4680)

    2. Fixed bug SS-216: Translation problem with Solve() and indexed variables (https://smath.com/bts/Issues/IssueDetail.aspx?id=216)

    3. Further development of built-in maxima installer and settings form.

    • Now provides information on the locally installed version and latest online version in the Insert > Maxima > Settings.
    • Provides options for user to either install maxima manually (with auto download) or install it silently.
    • Added progressbar for the installation process for silent installation.

    Screenshot_500.png

    Screenshot_497.png

    Screenshot_498.png

    4. Updated Draw2D() and Draw3D() functions.

    • Added PDF as an output option.
    • Resolved issue with missing SVG Output generation.
    • Error messages are now displayed to the user as images on errors.
    • Standard output is in PDF format when no filename or extension is given as the second argument.
    • Introduced support for the user_preamble option.
    • Plot styling is based on the Draw2D3D-snippet.sm from previous post.

    Screenshot_584.png

    5. Updated Draw regions (Insert > Maxima > Draw2D / Draw3D

    • PDF output option added.
    • Issue with SVG Output resolved.
    • Standard output format is PNG, changeable via canvas double-click > Diagram Style > Picture.
    • Support for user_preamble option.
    • Plot styling follows Draw2D3D-snippet.sm.
    • Context menu's Save option reflects the current format.

    Screenshot_585.png

    A more detailed description about the updates: Update21.sm (558kb) downloaded 3 time(s).

    Examples can be found in the following files.

    Draw2D3D.sm (580kb) downloaded 12 time(s).


    Due to the large size of the file Draw2D3D Regions.sm, it can be found under the following link along with other examples.

    https://github.com/fakemoses/MaximaPlugin/tree/master/documentations/Examples


    Please note that there might be visual bugs present as this is still in development. I encourage you to test out this new update and share feedback to aid in further plugin improvement. If any bugs are encountered, please inform me, and I'll address them promptly. Expect more updates in the future.
    thanks 4 users thanked fakemoses for this useful post.
    on 21/08/2023(UTC),  on 21/08/2023(UTC),  on 21/08/2023(UTC),  on 22/08/2023(UTC)
    Offline mkraska  
    #313 Posted : 03 October 2023 22:02:36(UTC)
    mkraska


    Rank: Advanced Member

    Groups: Registered
    Joined: 15/04/2012(UTC)
    Posts: 1,980
    Germany

    Was thanked: 1120 time(s) in 718 post(s)
    A new English handbook for SMath with Maxima is available at https://doi.org/10.25933/OPUS4-2949. It has 87 pages, many of them are examples for 2D and 3D graphics. The PDF comes with attached SMath sheets which were used to produce the example screenshots.

    As soon as the compilation problems with the release manager are resolved, we are going to publish a new version of the plugin.

    Note that there are also two new manuals (in German)
    - Introduction https://doi.org/10.25933/OPUS4-2947
    - Matrices (for data handling), 2D plotting (with X-Y plot region) and curve fitting https://doi.org/10.25933/OPUS4-2948
    Martin Kraska

    Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
    thanks 4 users thanked mkraska for this useful post.
    on 04/10/2023(UTC),  on 04/10/2023(UTC),  on 04/10/2023(UTC),  on 04/10/2023(UTC)
    Offline fakemoses  
    #314 Posted : 10 October 2023 11:36:44(UTC)
    fakemoses


    Rank: Member

    Groups: Registered
    Joined: 10/04/2023(UTC)
    Posts: 22
    Germany

    Was thanked: 15 time(s) in 7 post(s)
    A new updated has been released as beta version that can be accessed using the SMath Extension Manager.

    In this update:

    1. Added Maxima Toolbox which can be found on the right side of the software.

    Screenshot_663.png

    2. Added cross product of vectors function which can be accessed by Cross() or clicking the "x" symbol in the Maxima toolbox.

    Screenshot_664.png

    3. Integrated custom glyphs for Maxima plugin which was previously handled by Custom Glyphs plugin.

    4. Added "Help" and "Restart" into the "Insert" menu entry. Clicking the "Help" will redirect the user to local Maxima documentation (if maxima is installed). Clicking on the restart button will restart maxima.

    Screenshot_665.png

    5. Added mouse interaction to the 3D draw region. Plotscale can be done by holding Ctrl button while scrolling the mouse. Meanwhile Z-Scale can be done by holding Shift button while scrolling the mouse. Fixed bugs related to the draw region and scaling of windows form according to the scale of the screen.


    Huge thanks to Davide Carpi for helping us with the Custom Glyphs and the Toolbox!


    A more detailed description about the updates: Update22.sm (58kb) downloaded 10 time(s).

    There might be still some bugs. I encourage you to test out this new update and share feedback to aid in further plugin improvement. If any bugs are encountered, please inform me, and I'll address them promptly.


    thanks 4 users thanked fakemoses for this useful post.
    on 10/10/2023(UTC),  on 10/10/2023(UTC),  on 10/10/2023(UTC),  on 11/10/2023(UTC)
    Offline ioncube  
    #315 Posted : 29 December 2023 08:54:54(UTC)
    ioncube


    Rank: Advanced Member

    Groups: Registered
    Joined: 04/12/2017(UTC)
    Posts: 61
    Man
    Pakistan

    Was thanked: 2 time(s) in 2 post(s)
    This plugin is not available on Linux??
    Offline overlord  
    #316 Posted : 29 December 2023 09:45:54(UTC)
    overlord


    Rank: Advanced Member

    Groups: Registered
    Joined: 23/07/2013(UTC)
    Posts: 1,124
    Turkey

    Was thanked: 506 time(s) in 337 post(s)
    Originally Posted by: ioncube Go to Quoted Post
    This plugin is not available on Linux??

    Unfortunately it is not available.
    You can install but it won't communicate with maxima.
    Actually it should be easier to parse linux command outputs from/to mono smath.
    But since we are even a smaller community, maxima support under linux is at bottom of todo list.
    Offline mkraska  
    #317 Posted : 29 December 2023 13:16:23(UTC)
    mkraska


    Rank: Advanced Member

    Groups: Registered
    Joined: 15/04/2012(UTC)
    Posts: 1,980
    Germany

    Was thanked: 1120 time(s) in 718 post(s)
    Originally Posted by: ioncube Go to Quoted Post
    This plugin is not available on Linux??


    Actually, user fakemoses has tried to run the plugin on linux (see github repository)

    I haven't tried it myself. If I recall correctly, basic functionality was ok, yet graphics did not work (call to gnuplot failed).

    So it seems feasible but fakemoses has finished his thesis and it is unknown whether he will have time to continue work on the plugin.

    Martin Kraska

    Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
    Offline fakemoses  
    #318 Posted : 31 December 2023 23:27:42(UTC)
    fakemoses


    Rank: Member

    Groups: Registered
    Joined: 10/04/2023(UTC)
    Posts: 22
    Germany

    Was thanked: 15 time(s) in 7 post(s)
    Originally Posted by: ioncube Go to Quoted Post
    This plugin is not available on Linux??


    Unfortunately, the current plugin does not work on Linux. A problem has been identified but not yet resolved. When compiling the plugin in a Linux environment, the code that is responsible for Linux functions correctly (though Maxima can't draw anything, which is related to Maxima on Linux itself).

    When compiling the plugin using the release manager of SMath (assuming it is on Windows) and downloading the plugin on SMath in Linux, the code responsible for Linux is not executed. Perhaps this is related to Mono itself, but I am not sure yet. I will check this in the coming weeks.
    thanks 1 user thanked fakemoses for this useful post.
    on 01/01/2024(UTC)
    Users browsing this topic
    Similar Topics
    Error implementing ToolboxGroup for the maxima plugin (Questions)
    by fakemoses 31/07/2023 20:09:47(UTC)
    Maxima Plugin Feedback Survey: Share Your Ideas and Report Bugs (Feature Requests)
    by fakemoses 16/06/2023 13:27:33(UTC)
    MAXIMA PLUGIN expand (Questions)
    by Angel695 21/05/2023 10:43:40(UTC)
    Solve Function Stuck (46/47) with Maxima Plugin (Questions)
    by Albedo 30/08/2022 05:24:23(UTC)
    [Maxima Plugin] Text exportation issue (Questions)
    by SteelCat 11/01/2022 12:47:31(UTC)
    Maxima Plugin problem (Bugs & Problems)
    by FT_PENG 23/12/2021 23:49:19(UTC)
    Text characters not passing correctly to Maxima plugin (Bugs & Problems)
    by gurro 15/08/2021 00:14:03(UTC)
    [Maxima Plugin] is a custom Maxima function call-able in SMath (Questions)
    by 007.000 22/05/2018 13:06:49(UTC)
    [Maxima Plugin] least common multiple (Questions)
    by 007.000 22/05/2018 12:13:20(UTC)
    news for Maxima Plugin (Questions)
    by oscampo 27/01/2016 18:39:35(UTC)
    Maxima plugin error (Bugs & Problems)
    by olik 30/11/2015 10:17:28(UTC)
    16 Pages«<141516
    Forum Jump  
    You cannot post new topics in this forum.
    You cannot reply to topics in this forum.
    You cannot delete your posts in this forum.
    You cannot edit your posts in this forum.
    You cannot create polls in this forum.
    You cannot vote in polls in this forum.