data : makelist([x, random(1)], x, 1, 10, 1);
draw2d(points(data)); gives no graph, but the error:
[gr2d(points)]
wxdraw2d(points(data));
Gives just an "error" image
Windows7
wxbuild_info()$
wxMaxima version: 14.12.0
Maxima version: 5.35.1
Maxima build date: 2014-12-23 14:34:16
Host type: i686-pc-mingw32
Lisp implementation type: SBCL
Lisp implementation version: 1.2.1
Did you enter the commands manually or were they loaded from a file?
The above commands where keyed in manually
In the other bug reports, the commands where stored in a .wxmx - file created using an previous version
When I enter it manually - it works
When I try load (lsquares) two times - it seems to work the second time
The others seems to work afterwards, when they are entered manually in an empty worksheet the first time...
The above seems to be true with all the packages I have been using:
load(fmin_cobyla);
load (lsquares);
load("draw");
load("simplify_sum");
load(interpol);
load (graphs);
load("fft");
However
load (lsquares);
Reported an error during the first compilation:
; file: C:/Program Files (x86)/Maxima-5.35.1/share/maxima/5.35.1/share/lbfgs/lb1.lisp
; in: DEFUN LB1
; (PROG ((I 0))
; (DECLARE (TYPE (INTEGER) I))
; (COND
; ((= ITER 0)
; (F2CL-LIB:FFORMAT MP
; ("*******"
; "~%"))
; (F2CL-LIB:FFORMAT MP
; (" N=" 1 # " NUMBER OF CORRECTIONS=" 1 # "~%"
; " INITIAL VALUES" "~%")
; N M)
; (F2CL-LIB:FFORMAT MP (" F= " 1 # " GNORM= " 1 # "~%") F GNORM)
; (COND (# # # # #))
; (F2CL-LIB:FFORMAT MP
; ("*******"
; "~%"))
; (F2CL-LIB:FFORMAT MP
; ("~%" " I NFN" "~5@T" "FUNC" "~20@T" "GNORM" "~19@T"
; "STEPLENGTH" "~%" "~%")))
; (T
; (IF (AND # #)
; (GO END_LABEL))
; (COND (# #) (T # #)) (COND (# # # #))
; (IF FINISH
; (F2CL-LIB:FFORMAT MP #))))
; (GO END_LABEL)
; END_LABEL
; (RETURN (VALUES NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL)))
; --> BLOCK
; ==>
; (LET ((I 0))
; (DECLARE (TYPE (INTEGER) I))
; (TAGBODY
; (COND
; ((= ITER 0) (F2CL-LIB:FFORMAT MP #) (F2CL-LIB:FFORMAT MP # N M)
; (F2CL-LIB:FFORMAT MP # F GNORM) (COND #) (F2CL-LIB:FFORMAT MP #)
; (F2CL-LIB:FFORMAT MP #))
; (T
; (IF #
; #)
; (COND # #) (COND #)
; (IF FINISH
; #)))
; (GO END_LABEL)
; END_LABEL
; (RETURN (VALUES NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL))))
;
; caught STYLE-WARNING:
; The variable I is defined but never used.
;
; compilation unit finished
; caught 1 STYLE-WARNING condition
(%o2) "C:/PROGRA~2/MAXIMA~1.1/share/maxima/5.35.1/share/lsquares/lsquares.mac"
Back to wxdraw2d(points(..))
When I try to save an existing wxmx fie as an xmx file and reload that one, the plot(points(..)) dosen't work.
When copying the commands needed to do the plot into an fresh wxMaxima worksheet, the plot works. Wierd ??
This is a duplication of bug #2628.
Also look at https://github.com/andrejv/wxmaxima/issues/393