> but I'm having the new problem of plotting the amatrix object:
> %i1: wxplot2d([discrete,m1[2 .. 10,1],m1[2 .. 10, 2]]);
> %o1: draw2d (discrete): argument must be a list; found:
> amatrix(9,0,1,1,0,9,?g34228)
> -- an error. To debug this try: debugmode(true);
> I figured it out that I could convert an amatrix object back to
> ordinary matrix using new2old_matrix, but I still have problem to plot
> the data:
> %i2:wxplot2d([discrete,new2old_matrix(m1[2 ..
> 10,1]),new2old_matrix(m1[2 .. 10,2])]);
> %o2:draw2d (discrete): argument must be a list; found:
> matrix([0.3],[0.32],[0.34],[0.36],[0.38],[0.4],[0.42],[0.44],[0.46])
> -- an error. To debug this try: debugmode(true);
>
> Any suggestions?
try:
sub: m1[[1,2,3],all];
draw3d(points(new2old_matrix(sub)));
for more info on 'points', type
? points
It shouldn't be too hard to plot amatrix objects directly; in fact,
graphic object 'points' also plots lisp arrays.
--
Mario