I am trying to update the parameters of the viewpoint command in a form to
allow rotation of 3-D plots. Here is the command
pd 'viewpoint',' ',(":xa),' ',(":ya),' ',(":za)
'surface; viewsize 1 1 0.5' plot__plot caa
The parameters xa, ya and za are provided by scrollbars. When I include the
viewpoint command right in the plot line, I get syntax errors. When I do it
this way, J seems to be using my pre-set defaults (1 1 1) set elsewhere in
the program.
Can the viewpoint (and indeed any of the plot options) be updated like this
and if so, what am I missing?
Bob
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm