  Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,198  Was thanked: 548 time(s) in 368 post(s)
|
Why am I getting two different results, is this a bug? First one is the correct result by the way. Regards 
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 post(s)
|
Originally Posted by: overlord  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.sm (14kb) downloaded 6 time(s).![2023-02-24 20_26_17-wxMaxima 17.10.0 [ nicht gespeichert_ ].png](/forum/resource.ashx?a=46332&b=2) Edited by user 24 February 2023 23:01:38(UTC)
| Reason: Not specified |
|
 1 user thanked mkraska for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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 |
|
 1 user thanked mkraska for this useful post.
|
|
|
  Rank: Member Groups: Registered
Joined: 10/04/2023(UTC) Posts: 22  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. 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
 Installer Form  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 6 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
|
 2 users thanked fakemoses for this useful post.
|
on 17/07/2023(UTC), on 17/07/2023(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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 19 time(s).![2023-07-16 22_26_39-SMath Solver 1.0.8348 - [Draw3D_1.sm].png](/forum/resource.ashx?a=47661&b=2) |
|
 3 users thanked mkraska for this useful post.
|
on 17/07/2023(UTC), on 17/07/2023(UTC), on 17/07/2023(UTC)
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,736   Location: Italy Was thanked: 1405 time(s) in 914 post(s)
|
Originally Posted by: fakemoses 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) |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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](/forum/resource.ashx?a=47688&b=2) Draw-snippet.sm (130kb) downloaded 23 time(s). Draw-snippet3d.sm (2,560kb) downloaded 23 time(s). |
|
 3 users thanked mkraska for this useful post.
|
on 19/07/2023(UTC), on 19/07/2023(UTC), on 19/07/2023(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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.sm (2,019kb) downloaded 20 time(s). |
|
 2 users thanked mkraska for this useful post.
|
on 22/07/2023(UTC), on 23/07/2023(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,533  Was thanked: 990 time(s) in 618 post(s)
|
Originally Posted by: mkraska  ... 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.  Drawtest2.sm (2,023kb) downloaded 20 time(s).Best regards. Alvaro.
|
 2 users thanked Razonar for this useful post.
|
on 23/07/2023(UTC), on 24/07/2023(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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](/forum/resource.ashx?a=47717&b=2) draw.sm (1,993kb) downloaded 20 time(s). |
|
 2 users thanked mkraska for this useful post.
|
on 24/07/2023(UTC), on 24/07/2023(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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 21 time(s). |
|
 2 users thanked mkraska for this useful post.
|
on 26/07/2023(UTC), on 26/07/2023(UTC)
|
|
  Rank: Member Groups: Registered
Joined: 10/04/2023(UTC) Posts: 22  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.
   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.
 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.
 A more detailed description about the updates: Update21.sm (558kb) downloaded 9 time(s).Examples can be found in the following files. Draw2D3D.sm (580kb) downloaded 25 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/ExamplesPlease 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.
|
 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)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 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 |
|
 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)
|
|
  Rank: Member Groups: Registered
Joined: 10/04/2023(UTC) Posts: 22  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.  2. Added cross product of vectors function which can be accessed by Cross() or clicking the "x" symbol in the Maxima toolbox.  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.  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 15 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.
|
 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)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 04/12/2017(UTC) Posts: 72   Was thanked: 3 time(s) in 3 post(s)
|
This plugin is not available on Linux??
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,198  Was thanked: 548 time(s) in 368 post(s)
|
Originally Posted by: ioncube  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.
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 post(s)
|
Originally Posted by: ioncube  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. |
|
|
|
|
  Rank: Member Groups: Registered
Joined: 10/04/2023(UTC) Posts: 22  Was thanked: 15 time(s) in 7 post(s)
|
Originally Posted by: ioncube  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.
|
 1 user thanked fakemoses for this useful post.
|
|
|
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.