I have been exploring jzplot.ijs with this problem
in mind. There is a plot3d_dot verb which seems to be the
driver for such plots.

plot3d_dot_jzplot_=: 3 : 0

'x y z'=. y { Data

dat=. 1 |: (x ,: y),"2 1 citemize z
dat=. }:"1 project"2 dat               NB. I have added "2
dat=. ,"2 dat    NB. I suspect this line should be removed

rws=. #dat
cls=. 1&{$dat
clr=. getitemcolor #dat

rws=. 1

while. #dat do.
  drawcircle iDATA;({.clr);4;({.clr);1;_2[\{.dat  NB. ***
  dat=. }.dat
  clr=. 1|.clr
end.
)

        The drawcircle line above (marked with NB. ***) is
particularly problematic because of the definition of
drawcircle which requires a y argument of 5 boxes, while
there are 6 boxes here as can be seen below.

draw2d=: 4 : 0
'i e s c p'=. y
setp x;i;s;0;0;e;c;p
)
drawcircle=: 'circle' & draw2d

        Any ideas about this? Perhaps if the meaning of each
the components of y (i e s c p) were known, more could be
done.

(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to