There exists a plot 3d functions (or similar) in R? Thanks, =======================================Cezar Freitas (ICQ 109128967) IMECC - UNICAMP Campinas, SP - Brasil -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Cezar Augusto de Freitas Anselmo wrote:> > There exists a plot 3d functions (or similar) in R?and 49 minutes later:> Im looking for functions that draw 3d graphics. Is it possible in R?Well, at first it's not neccessary to ask almost the same question two times, particularly if it is not very specific in both cases. There are several options, here is what comes to my mind: - persp() "This function draws perspective plots of surfaces over the x?y plane." - image(): "Creates a grid of colored or gray-scale rectangles with colors corresponding to the values in z. This can be used to display three-dimensional or spatial data aka ``images''." - several functions() in package rgl (only for windows, available at http://www.stats.uwo.ca/faculty/murdoch/software). - scatterplot3d() in package scatterplot3d (available at CRAN) for plotting 3D point clouds. As you can see, it is hard to help if your question is not very specific (what kind of 3D graphics as we can imagine several different kinds, your OS, version of R, etc). There were many questions regarding 3D graphics in the last two years on R-help. Searching the archives could have been successful. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi R users and developers: Recently Dr Ligges answer the following to a 3d plot question:>- several functions() in package rgl (only for windows, available at >http://www.stats.uwo.ca/faculty/murdoch/software). >I have download the package rgl on my windows 2000 (Service Pack 2) on a R 1.4.1. platform with the rgui --sdi option, but I obtain the following window error messages when I use the command "example(hist3d)" privileged instruction After several windows of this messages it appears the following message: OpenGL error OGLGroup initlist: 1283:desbordamiento de pila And the program crashes What am I missing? Thank you very much for your help. Kenneth -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 19 Mar 2002, Kenneth Cabrera wrote:> Hi again, R users and developers: > > How can I convert an image to a numerical matrix in R? > The image must be in a particular format? BMP, JPG, GIF? > The original image are not too big 800 x 600 pixels and 16 colors. > > Finaly I want the 800x600 integer matrix of the image to handle in R. >library(pixmap) reads pnm, all of the above can be converted to pnm. My guess would be that you need an indexed pixmap. Roger -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Breiviksveien 40, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93 e-mail: Roger.Bivand at nhh.no and: Department of Geography and Regional Development, University of Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
You may try ''scatterplot3d'' library, or just use persp function in the base library. Best, isaia. Cezar Augusto de Freitas Anselmo wrote:> There exists a plot 3d functions (or similar) in R? > Thanks, > > =======================================> Cezar Freitas (ICQ 109128967) > IMECC - UNICAMP > Campinas, SP - Brasil > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Ennio D. Isaia ~ Dep. of Statistics & Mathematics, University of Torino ~ Piazza Arbarello, 8 - 10128 Torino (Italy) ~ Phone: +39 011 670 62 51 ~~ Fax: +39 011 670 62 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._