Ahhhh, perfect... thanks.

Henry Rich 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Zach Reiter
> Sent: Saturday, March 17, 2007 12:17 PM
> To: Programming forum
> Subject: RE: [Jprogramming] Need 3D point plot
> 
> 
> It looks like fit3d was the wrong verb; the other plot3d types use
> fitgrafxy3d.  I think the problem with fit3d is that fitxyz 
> does some of
> the same transformation as Tfm does.  This is changed to use 
> fitgrafxy3d
> and cleaned up a bit.
> 
> plot3d_dot_jzplot_ =: 3 : 0
> 'x y z'=. y { Data
> 
> dat=. 1 |: (x ,: y),"2 1 citemize z
> shape=.$dat
> dat=.}:"1 project ,/ dat
> dat=.(-1{shape) ]\ fitgrafxy3d dat
> 
> clr=. getitemcolor #dat
> 
> for_d. dat do.
>   drawdot iDATA;(d_index{clr);PENSIZE;d
> end.
> )
> 
> -Zach
> 
> On Sat, 17 Mar 2007 10:59:38 -0400, "Henry Rich" 
> <[EMAIL PROTECTED]>
> said:
> > That's a big step.  Something goes wrong in the projection when
> > the numbers are outside the range 0-1:
> > 
> > 'type dot;pensize 5'plot ;/ |: +: #: i. 8  NB. double-size cube
> > 
> > 'type dot;pensize 5'plot ;/ |: <: +: #: i. 8  NB. cube with 
> vertices at
> > +-1
> > 
> > It looks like the transformation matrix Tfm doesn't match 
> the viewing
> > box; any ideas?
> > 
> > Henry Rich
> > 
> ----------------------------------------------------------------------
> For information about J forums see 
> http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to