-
Notifications
You must be signed in to change notification settings - Fork 99
[wxMaxima] File Format .mac
Parlazo edited this page Apr 15, 2021
·
2 revisions
The .mac
files are ordinary text files that contain Maxima commands.
They can be read using Maxima’s batch()
or load()
command or wxMaxima’s File
/Batch File
menu entry.
You can be use .mac
files for writing your own library of macros. But since they don’t contain enough structural information they cannot be read back as a wxMaxima session.
Quadratic.mac
defines a function and afterwards generates a plot with wxdraw2d()
. Afterwards the contents of the file Quadratic.mac
are printed and new defined function f()
is evaluated.
Although the file Quadratic.mac
has an usual Maxima extension (.mac
), it can only be read by wxMaxima, since the command wxdraw2d()
is a wxMaxima-extension to Maxima.