On 25/04/2019 2:24 p.m., Bernard McGarvey wrote:
If I have a set of data (x,y,z) and I want to plot z(x,y) as a surface plot. 
What I am looking for is one with a lot of functionality like easily rotate the 
plot and so on.

If x and y are on a grid, there are lots of choices. If they are a set of irregular points, there aren't so many. One possibility is to use persp3d(z ~ x + y) (see ?persp3d.formula for help.) Use rglwidget() to write it in a form you can view in a web browser.

Duncan Murdoch



Thanks



Bernard McGarvey

Director, Fort Myers Beach Lions Foundation, Inc.

Retired (Lilly Engineering Fellow).



On April 25, 2019 at 2:13 PM Bert Gunter <bgunter.4...@gmail.com> wrote:

     Depends on what you want to do -- context matters.
     More details would probably enable better answers.

     Bert Gunter

     "The trouble with having an open mind is that people keep coming along and 
sticking things into it."
     -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


     On Thu, Apr 25, 2019 at 10:55 AM Bernard Comcast < 
mcgarvey.bern...@comcast.net mailto:mcgarvey.bern...@comcast.net > wrote:

         > > Does anyone have a recommendation for the best package/function 
for doing surface plots?

         Bernard
         Sent from my iPhone so please excuse the spelling!"
         ______________________________________________
         R-help@r-project.org mailto:R-help@r-project.org mailing list -- To 
UNSUBSCRIBE and more, see
         https://stat.ethz.ch/mailman/listinfo/r-help
         PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
         and provide commented, minimal, self-contained, reproducible code.

     >

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to