I don't think you can mix the calling conventions:
use either all pd's or all in right arg to plot.
vp=. 'viewpoint',' ',(":xa),' ',(":ya),' ',(":za),';'
('surface;viewsize 1 1 0.5;',vp) plot__plot caa
--- Robert O'Boyle <[EMAIL PROTECTED]> wrote:
> 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
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm