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. 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.4567 at 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.bernard at comcast.net mailto:mcgarvey.bernard at 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 at r-project.org mailto:R-help at 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]]
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.4567 at 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.bernard at comcast.net mailto:mcgarvey.bernard at 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 at r-project.org mailto:R-help at 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 at 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. >
That works nicely for what I need Thanks Bernard Sent from my iPhone so please excuse the spelling!"> On Apr 25, 2019, at 3:21 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > >> 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.4567 at 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.bernard at comcast.net mailto:mcgarvey.bernard at 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 at r-project.org mailto:R-help at 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 at 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. >