Thanks, Oleg, that worked Bob
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oleg Kobchenko Sent: March 17, 2008 1:32 PM To: Programming forum Subject: Re: [Jprogramming] 3D plots 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
