rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

plot2d implicit function #1503

Open rtoy opened 1 month ago

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:10 Created by str255 on 2021-11-24 06:01:44 Original: https://sourceforge.net/p/maxima/bugs/3886


(%i1) plot2d (x^2-y^3+3*y=2, [x,-2.5,2.5], [y,-2.5,2.5])$
plot2d: expression evaluates to non-numeric value everywhere in plotting range. plot2d: nothing to plot.


Maxima version: "5.37.2" Maxima build date: "2015-10-30 02:08:33" Host type: "x86_64-unknown-linux-gnu" Lisp implementation type: "GNU Common Lisp (GCL)" Lisp implementation version: "GCL 2.6.12"

The above information is also reported by the function 'build_info()'.

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:11 Created by str255 on 2021-11-24 13:52:18 Original: https://sourceforge.net/p/maxima/bugs/3886/#d023/91a9


Hi Robert,

Great thanks! implicit_plot works well.

I am running Maxima on Debian and this is the default release. Any idea on how to get updates easily on Debian?

Nicholas

Attachments:

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:14 Created by peterpall on 2021-11-24 14:31:26 Original: https://sourceforge.net/p/maxima/bugs/3886/#d023/91a9/969f


Using Debian basically means that you absolutely don't want to be surprised by updates, but want to profit from a quite active team that cherry-picks small Bugfixes for the packages you have installed.

The best way of getting a new version might be to compile it yourself or to try a package from https://code.launchpad.net/~peterpall/+archive/ubuntu/wxmaxima-nightlies

Kind regards,

Gunter.

Attachments:

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:18 Created by robert_dodier on 2021-11-24 18:24:40 Original: https://sourceforge.net/p/maxima/bugs/3886/#d023/91a9/60bd


One way to get an up to date version is to build it from source code. This is pretty straightforward on Linux systems. Download a tar.gz from the "Files" tab above this page, and then:

$ sudo apt-get install texinfo
$ sudo apt-get install sbcl
$ tar xvzf maxima-5.nnn.tar.gz
$ cd maxima-5.nnn
$ ./configure --enable-sbcl
$ make
$ sudo make install

About texinfo, it's for building the documentation, and it might not be installed already. About SBCL, it's a Lisp implementation, and I recommend it. Other Lisp implementations are workable, too,

Another approach is to install a wxmaxima package from the peterpall package repository mentioned by Gunter. I believe that installs command line maxima in addition to the wxmaxima GUI, although I'm not 100% sure.

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:22 Created by l_butler on 2021-11-25 13:10:48 Original: https://sourceforge.net/p/maxima/bugs/3886/#d023/91a9/969f/dff3


"Gunter Königsmann" peterpall@users.sourceforge.net writes:

Using Debian basically means that you absolutely don't want to be surprised by updates, but want to profit from a quite active team that cherry-picks small Bugfixes for the packages you have installed.

That may be true for Debian stable. Debian testing has the latest release of maxima.

https://packages.debian.org/search?keywords=maxima https://packages.debian.org/bookworm/maxima

Leo

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:25 Created by robert_dodier on 2021-11-29 05:28:32 Original: https://sourceforge.net/p/maxima/bugs/3886/#1a7b


rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:29 Created by villate on 2022-02-11 14:37:45 Original: https://sourceforge.net/p/maxima/bugs/3886/#3da1


rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:32 Created by robert_dodier on 2022-02-13 01:51:41 Original: https://sourceforge.net/p/maxima/bugs/3886/#bd38


For the record, I see that the example given in the original bug report, plot2d (x^2-y^3+3*y=2, [x,-2.5,2.5], [y,-2.5,2.5])$, works as expected with recent versions of Maxima, I think the plot2d(f(x, y) = c, ...) syntax was introduced in Maxima 5.45. Anyway I just tried it with current Git version (post-5.45) and it works as expected.

rtoy commented 1 month ago

Imported from SourceForge on 2024-07-04 18:00:36 Created by villate on 2022-02-13 05:11:01 Original: https://sourceforge.net/p/maxima/bugs/3886/#5c6f


Of course it works, because that example was taken from the manual (https://maxima.sourceforge.io/docs/manual/maxima_64.html)