|
From: Raymond <ray...@gm...> - 2017-07-30 13:07:24
|
That change worked to eliminate the plot error for me! But..
Now quit(); (in xmaxima) is giving me a problem. It seems that maxima
has been shut down but xmaxima just keeps trolling along.
If nobody else has a problem then ignore this and I will do a complete
reinstall.
RayR
Session info ( if the long lines are inconvenient I can put this in an
attached file)
xmaxima
....
(seperate terminal)
ps aux|egrep maxima
rrogers 18104 4.8 0.1 88308 17248 pts/9 Sl+ 09:01 0:00 wish
/usr/local/bin/xmaxima --
rrogers 18109 1.4 0.1 46788 17892 pts/9 S+ 09:01 0:00
/usr/local/lib/maxima/5.40.0/binary-clisp/lisp.run -q -M
/usr/local/lib/maxima/5.40.0/binary-clisp/maxima.mem -- -r :lisp
(start-client 4008)
rrogers 18128 0.0 0.0 9464 2012 pts/14 S+ 09:01 0:00 egrep
maxima
(quit(); in xmaxima)
rrogers@raymond-mint-17 /usr/local/share/info $ ps aux|egrep maxima
rrogers 18104 1.3 0.1 89336 17248 pts/9 Sl+ 09:01 0:00 wish
/usr/local/bin/xmaxima --
rrogers 18132 0.0 0.0 9464 2068 pts/14 S+ 09:02 0:00 egrep
maxima
Notice wish is still running.
On 07/30/2017 03:35 AM, 有坂富雄 wrote:
> Hello,
>
> I think the error happens due to "xmaxima".
> (the value of "stepsize" included in xmaxima has been changed.)
> Following examples included in manual of Maxima cause the same error.
>
> plotdf([v,-k*z/m], [z,v], [parameters,"m=2,k=2"],
> [sliders,"m=1:5"], [trajectory_at,6,0])$
>
> plotdf([y,-(k*x + c*y + b*x^3)/m],
> [parameters,"k=-1,m=1.0,c=0,b=1"],
> [sliders,"k=-2:2,m=-1:1"],[tstep,0.1])$
>
> In my case, next patch fixed this problem.
> ----------------------------------------
> $ diff -u xmaxima.orign xmaxima
> --- xmaxima.orign 2017-06-02 17:56:45.000000000 +0900
> +++ xmaxima 2017-07-30 14:52:07.000000000 +0900
> @@ -5355,7 +5355,7 @@
> {psfile "" "A filename where the graph will be saved in PostScript."}
> {nobox 0 "if not zero, do not draw the box around the plot."}
> {axes "xy" "if zero, no axes are drawn. x, y or xy to draw the
> axes."}
> - {number_of_arrows 225 "Approximate. Choose a square number as the
> number of arrows to draw"}
> + {number_of_arrows 196 "Approximate. Choose a square number as the
> number of arrows to draw"}
> {nolegend 0 "if not zero, do not write down the legend."}
> }
>
> ----------------------------------------
> My environment is the following:
>
> $ wish
> % info patchlevel
> 8.6.6
> % exit
> $
> $ rmaxima
> (%i1) build_info();
> (%o1)
> Maxima version: "5.40.0"
> Maxima build date: "2017-06-02 03:14:38"
> Host type: "x86_64-apple-darwin10.8.0"
> Lisp implementation type: "SBCL"
> Lisp implementation version: "1.3.14"
> ----------------------------------------
>
> Thanks,
>
> Tomio Arisaka
>
>
> On 2017-7-30, Robert Dodier <rob...@gm...> wrote:
>
> > On 2017-07-29, Jaime Villate <vi...@fe...> wrote:
> >
> >> Here is a feature that only works if xmaxima is correctly installed
> >> (direction fields)
> >>
> >> plotdf([-y,x]);
> >>
> >> To make that command work, even if you are using Wxmaxima or console
> >> Maxima, you need to run xmaxima in the background. As a matter of fact,
> >> somebody made some recent commits to Xmaxima which have completely
> >> broken plotdf, even in Unix. It used to run fine in version 5.37.3 but
> >> since version 5.38.0 it stopped working.
> >
> > When I try plotdf([-y, x]) with current Maxima, I get an error about
> > "Input file has syntax errors". I've pasted the whole message below.
> > What are you seeing?
> >
> > FWIW I glanced at the output of
> > git diff branch-5_37-base...branch-5_38-base -- interfaces/xmaxima and
> > and I don't see anything related to that.
> >
> > best
> >
> > Robert Dodier
> > PS.
> > Input file has syntax errors
> > domain error: argument not in valid range
> > while executing
> > "expr {$fac * $dfx}"
> > (procedure "drawDF" line 64)
> > invoked from within
> > "drawDF $win $tinitial"
> > (procedure "replotdf" line 14)
> > invoked from within
> > "replotdf $win"
> > (procedure "plotdf" line 28)
> > invoked from within
> > "plotdf -dxdt "-1.0*y" -dydt "x" -xaxislabel x -yaxislabel y "
> > ("eval" body line 1)
> > invoked from within
> > "eval $inputdata"
> >
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Maxima-discuss mailing list
> Max...@li...
> https://lists.sourceforge.net/lists/listinfo/maxima-discuss
|