You need a grid for the sticks. Try this
   load 'plot'
   im=: (# ,:@i.)/
   xy=: [EMAIL PROTECTED] ; |:@im@|[EMAIL PROTECTED] ; ]
   'stick' plot xy 10 20 [EMAIL PROTECTED] 100


----- Original Message ----
> From: Robert O'Boyle <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, June 6, 2008 4:29:43 PM
> Subject: [Jprogramming] 3D plots
> 
> According to the PLOT guide on the wiki, stick, surface and wire are all
> possible types of 3D plots. I've tried surface and wire and the results make
> sense but those for stick don't. For example, take an arbitrary matrix (mat
> =. 7 10$? i.100) and plot as 'surface' plot mat. 'wire' plot mat also gives
> the expected result but 'stick' doesn't. It is still 2D. Anyone know how I
> can produce a 3D stick plot? I am looking for the equivalent of the 3D
> column chart in EXCEL. Thanks, Bob



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

Reply via email to