Skip to content
Prev 246289 / 398502 Next

how to invert the axes in the wireframe() plot

On Jan 3, 2011, at 7:07 PM, Simone Gabbriellini wrote:

            
Well, there is more to reproducing that figure than just rotating  
around the z axis by 180, which is what I now take your question to be:

?panel.3dwire

Run  the 2nd example in ?wireframe and then compare to this minor  
modification of the screen arguments:

  wireframe(z ~ x * y, data = g, groups = gr,
            scales = list(arrows = FALSE),
            drape = TRUE, colorkey = TRUE,
            screen = list(z = 30+180, x = -60), )

(Rotated 180 around the z-axis.)