andrejv / wxmaxima

1 stars 1 forks source link

Trying to increase plot size #12

Open oakleaflr opened 2 years ago

oakleaflr commented 2 years ago

Using wxplot2d with a plot size of 800x800 or a plot size of 900x900 give plots of equal size. I can't seem to increase the plot size.

I'm using: (%i1) build_info(); (%o1) build_info(version="5.42.1",timestamp="2018-11-08 07:21:46",host= "armv8l-unknown-linux-gnueabihf",lisp_name="GNU Common Lisp (GCL)",lisp_version= "GCL 2.6.12") on a Pi4.

and

wxMaxima is a graphical user interface for the computer algebra system Maxima based on wxWidgets.

wxWidgets: 3.0.4 Unicode support: yes Maxima version: 5.42.1 (armv8l-unknown-linux-gnueabihf) Lisp: GNU Common Lisp (GCL) GCL 2.6.12

gunterkoenigsmann commented 2 years ago

wxMaxima is now here: https://github.com/wxMaxima-developers/wxmaxima/issues

Anyway: wxMaxima automatically scales down big bitmaps to fit on the screen. If you created them using draw() you can right-click on them and popup them in an interactive window that allows for zoom etc.

oakleaflr commented 2 years ago

Hello Gunter, Thank you for your response. I bookmarked the link and can use it in the future. I use wxMaxima and Maxima from time to time and enjoy both programs. I appreciate your work on keeping up wxMaxima and have seen improvements over time. I will try to use draw() to solve my problem.

I am not a rank newbie, but I have a ways to go to understand the system. I was wondering if there is a more recent version of wxMaxima for use on the Raspberry Pi4? The current version is wxMaxima 19.01.2x. Also, I wanted to ask if you thought that it would be worthwhile to try to compile the current source code on a Pi4 using the Raspbian OS? I would like to give it a try if at all reasonable. After all, someone did 19.01.2x so it must not be impossible.

Also, i want to send you additional data from the current little project I'm doing. This data was created using the wxMaxima Export option that creates a .html file and associated graphics. You might not wish to spend any time looking at the results but I send them just to be helpful. Some of the HTML output is a little confusing. The html graphics output however, is just what I needed.

Thanks for your work on the Maxima GUI.

Larry Reed

On Sat, May 21, 2022 at 12:56 AM Gunter Königsman @.***> wrote:

wxMaxima is now here: https://github.com/wxMaxima-developers/wxmaxima/issues

Anyway: wxMaxima automatically scales down big bitmaps to fit on the screen. If you created them using draw() you can right-click on them and popup them in an interactive window that allows for zoom etc.

— Reply to this email directly, view it on GitHub https://github.com/andrejv/wxmaxima/issues/12#issuecomment-1133541834, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYUIWLVADBLU6MPYY4PAGLVLB3KRANCNFSM5WQOQBSQ . You are receiving this because you authored the thread.Message ID: @.***>

gunterkoenigsmann commented 2 years ago

"Ubuntu", "Debian" or similar means that you don't want to be surprised by updates [except of trivial bugfixes], but want absolutely make sure you run a version the program's maintainer has declared as "stable". But you are right: For the next version of these operating systems I really need to upload a new version as the current version is more stable than the 2019 one.

Compiling your own version isn't too complicated if you are somehow used to the shell:

Download (and unzip) the sources, open a console and use the cd command in order to arrive in the order the program is in and do a

sudo apt-get install build-essential libwxbase3.0-dev libwxgtk3.0-dev ibus-gtk ibus-gtk3 checkinstall gettext cmake pandoc po4a
mkdir build
cd build
cmake ..
make
sudo make install
oakleaflr commented 2 years ago

Gunter,

Flawless from beginning to end. Now have wxMaxima 22.03.0 installed. Thanks to you of course and to all of you who have generated this mountain of code. Should I be so bold, can something similar be done for Maxima??

Thanks again.

Larry

On Sun, May 22, 2022 at 7:56 AM Gunter Königsman @.***> wrote:

"Ubuntu", "Debian" or similar means that you don't want to be surprised by updates [except of trivial bugfixes], but want absolutely make sure you run a version the program's maintainer has declared as "stable". But you are right: For the next version of these operating systems I really need to upload a new version as the current version is more stable than the 2019 one.

Compiling your own version isn't too complicated if you are somehow used to the shell:

Download (and unzip) the sources, open a console and use the cd command in order to arrive in the order the program is in and do a

sudo apt-get install build-essential libwxbase3.0-dev libwxgtk3.0-dev ibus-gtk ibus-gtk3 checkinstall gettext cmake pandoc po4a mkdir build cd build cmake .. make sudo make install

— Reply to this email directly, view it on GitHub https://github.com/andrejv/wxmaxima/issues/12#issuecomment-1133890754, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYUIWKYXNIPLJQOI7E2QGDVLIVHTANCNFSM5WQOQBSQ . You are receiving this because you authored the thread.Message ID: @.***>

gunterkoenigsmann commented 2 years ago

Building the manual [which is part of maxima's build process] requires installing many programs. But the rest is easy:

sudo apt install sbcl libffi-dev libreadline-dev locales automake autoconf  awk texlive-latex-recommended texlive-latex-base python3 gnuplot

cd into the directory maxima's sources are in and

./configure --enable-sbcl-exec
make
sudo make install

Maxima can be compiled using many compilers. The one that debian-based systems normally use is gcl. Many swear that this is the best one. I use sbcl instead, as it most of the times is faster and has less bugs that affect me. clisp has a way more effective memory management, but is slow as treacle, instead.