|
From: Gunter K. <gu...@pe...> - 2020-09-25 16:12:57
|
My guess is that the problem is that the user wants to open multiple plot windows at the same time. For wxMaxima users the solution typically is do replace the command name plot by the command name wxplot. In plain maxima the following might work instead: load(draw); /* Parabola in window #1 */ draw2d(terminal=[aqua,1],explicit(x^2,x,-1,1)); /* Parabola in window #2 */ draw2d(terminal=[aqua,2],explicit(x^2,x,-1,1)); /* Paraboloid in window #3 */ draw3d(terminal=[aqua,3],explicit(x^2+y^2,x,-1,1,y,-1,1)); On September 25, 2020 5:40:58 PM GMT+02:00, Robert Dodier <rob...@gm...> wrote: >On Fri, Sep 25, 2020 at 7:29 AM Qiang Lu <ql...@sh...> wrote: > >> I found you are all using Maxima on Mac. Probably you can help me with this problem. On my Mac, while using Maxima, >> >> plot2d(sin(x),[x,-10,10]); >> >> it will plot the 2d graph in gnuplot and shows >> >> (%o3) ["/var/folders/jg/vhvbhgfs041_1b9lpgz_hzgw0000gn/T/maxout86471.gnuplot_pipes"] >> Warning: slow font initializationqt.qpa.fonts: Populating font family aliases took 2069 ms. Replace uses of missing font family "Sans" with one that exists to avoid this cost. > >Hmm, the plot appears and plot2d returns normally (returning the 2 >file names it was using). It sounds like plot2d worked as expected for >the most part. > >The warning about "missing font family" is a bug in either Gnuplot or >the way Gnuplot is configured on installation (by whatever package >manager you are using); Gnuplot's default terminal says "qt font Sans" >and the font manager for Qt doesn't recognize "font Sans". > >I find that I can suppress the warning like this: > >plot2d (sin(x), [x,0,10], [gnuplot_term, "qt font \"Arial,16\""]); > >Note the "\"embedded quote marks\"". > >By the way, how did you install Gnuplot? Macports, Homebrew, other? > >> However, I cannot execute any command anymore on that page. >> For example, If I try to run >> plut2d(sin(x),[x,-10,10]); >> >> I can still type in, but it won’t run or execute. > >Is Maxima generally responding? e.g. if you enter 1 + 1; does it output 2 ? > >Do I understand correctly that you are working with wxMaxima? If so, >what if you enter the same commands in command-line Maxima? > >There has been some discussion ongoing about how to set the right >terminal on macOS ... I hope we can figure out something soon! > >best, > >Robert Dodier > > >_______________________________________________ >Maxima-discuss mailing list >Max...@li... >https://lists.sourceforge.net/lists/listinfo/maxima-discuss -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |