> From: Sherlock, Ric
> 
> > From: Devon McCormick
> >
> > Has anyone succeeded in getting a 3D plot in 7.01?
> 
> Sure. For example this wiki example works fine.
> 
> http://www.jsoftware.com/jwiki/Studio/Plot#A3DFunctionPlot
> 
> The only changes required are in the last line. The reason they are
> required is that the jengine doesn't include wd & gl2 functionality, so
> you need to specify to output to pdf (note that jconsole in j602 has
> the same issue). The jpdf command that ships with jhs is just a cover
> for the plot command that forces the output to be pdf rather than gl2
> or gtk for Linux.
> 
> 
>    gamma=: !@<:
>    real=: {...@+.
>    x=: steps _3.5 4.5 40
>    y=: steps _1 1 40
>    z=: real gamma x j./ y
>    dat=: _3 >. 12 <. Z
>    'type surface;noaxes;viewpoint _1 _2.5 1' jpdf dat

Sorry the "Z" in the 2nd to last line should of course be lowercase (I'm 
blaming Outlook's auto-correct!! ;-)

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

Reply via email to