search for: polarplot3d

Displaying 1 result from an estimated 1 matches for "polarplot3d".

Did you mean: polarplot
2012 Mar 02
1
3d surface plot (ideally using rgl package)?
...r HelpeRs, I would be grateful for anybody who might help to produce the following plot (the code for matlab is below) using the "rgl" package of R? [t,r] = meshgrid(linspace(0,2*pi,361),linspace(-4,4,101)); [x,y] = pol2cart(t,r); P = peaks(x,y); figure('color','white'); polarplot3d(P,'colordata',gradient(P)); view([-18 72]); You may see the code and plot output at: https://plus.google.com/u/0/109789409461372488563/posts/YfcrsMhkjyf Many Thanks A. [[alternative HTML version deleted]]