search for: plot3d

Displaying 20 results from an estimated 257 matches for "plot3d".

2005 Jun 09
7
plot3d
hello, to use the function plot3d, i should use the package R.basic! plot3d {R.basic} If people know exactly a site to load this package, please give me the URL! Thanks Sabine --------------------------------- [[alternative HTML version deleted]]
2013 Aug 24
2
Correct NAMESPACE approach when writing an S3 method for a generic in another package
Dear List, In one of my packages I have an S3 method for the plot3d generic function from package rgl. I am trying to streamline my Depends entries but don't know how to have plot3d(foo) in the examples section for the plot3d method in my package, without rgl being in Depends. Note that I importFrom(rgl, plotd3d) and register my S3 method via S3Method() in t...
2008 Dec 16
1
surface contour plot help
I am trying to do a surface profile plot. data is X                  Y(1)             Z(1) 1-jan-02       2002        number 2-jan-02       2002        number . . . 1-jan-03       2003 (Y2)     number Z(2) 2-jan-03       2003 (Y2)     number Z(2) . . . until dec 31 2007.   I used the plot3d funtions to build a scatter point plot. Call rinterface.rrun("library(rgl)") Call rinterface.rrun("plot3d(x,y1,z1,xlab='Date',ylab='Year',zlab='Vol',ylim=c(2001,2008))") Call rinterface.rrun("plot3d(x,y2,z2,add=TRUE)") Call rinterface.rrun(&quot...
2019 Jan 18
2
plot3d con library(rgl)
Buenas tardes. ¿Sabe alguno de vosotros cómo indicar la variable con la que identificar los puntos con plot3d? library(rgl) plot3d(Data$RTLML,Data$JD,Data$SB) Las muestras pertenecen a una de dos categorías, según la variable "Family", pero no sé cómo hacer que me las represente de diferente color. Gracias, Manuel . -- Dr Manuel Mendoza Depart...
2010 Jul 23
1
greek letters in rgl plot3d
Dear RGL experts, I haven't been able to add greek letters to my rgl plot3d. I have tried "expression" with no success. Here is the interested bit: > library(rgl) > cb <- cube3d() > plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5) The expression(alpha) appears as "alpha", rather than as a greek sym...
2009 Jul 09
2
Save rgl plot3d Graph as Image
Dear Users: I wish to save 3d scatter plots I have generated using the plot3d command in the rgl package. Any image format such as .tiff would work. Can anyone tell me how to do this? Thank you [[alternative HTML version deleted]]
2011 Apr 12
1
plot3d crashes R
Hi Duncan, I've just read the help for the plot3d function you've written and tried out the example code given at the bottom of the page. I then modified the function by adding an aspect ratio of 0.1 and ran it again, which crashed my R. I am using 2.12.2 on Windows, if that tells you anything. Best wishes, Roman
2010 Apr 28
1
What is the best way to plots surfaces in 3 dimensions?
Hi R help, What is the best way to plots surfaces in 3 dimensions? I also have the following availability problem with "plot3d" and "scatterplot3d", and "wireframe": install.packages("scatterplot3d") Warning: unable to access index for repository http://cran.ch.r-project.org/bin/macosx/leopard/contrib/2.10 Warning message: In getDependencies(pkgs, dependencies, available, lib) : package...
2007 Dec 20
2
plot3d, wireframe, persp help
....6 5 9 2.4 9 8 9.8 ... to (60,000 rows down) From my homework, the persp function only works with evenly spaced data points with the z data beeing in a matrix. my data is not in that format. the wireframe fxn gives me an error, no applicable method for "wireframe" the plot3d fxn I got working thanks to Scionforbai's help. However it does not represent the data like wireframe or persp would. Any help would be appreciated. thanks --------------------------------- [[alternative HTML version deleted]]
2017 Jun 21
0
customizing color key with plot3D
...= list(length = 0.2, width = 0.4, shift = -0.15, cex.axis = 0.8, cex.clab = 0.85, addlines=TRUE, tick=FALSE, at = c(1.33, 2, 2.66), labels=paste("Class", 1:3)), clab = c("","Elev Classes"), plot = TRUE) Your package plot3D is a huge help to me. Previously I had to use a completely different software, VisIt, to do these kinds of composite plots. R is my preferred tool and it is great to finally be able to do these at "home". Thanks, Scott Waichler scott.waichler at pnnl.gov Pacific Northwest National Labo...
2008 Sep 17
1
rgl: plot3d and ellipse3d
Hi I'm trying to make a 3d plot showing a point cloud, the corresponding data ellipse and the principal axes of the ellipse as vectors. library(rgl) data(trees) cov <- cov(trees) mu <- mean(trees) plot3d(trees, type="s", size=0.5, col="blue", cex=2) In this step, an extra box is added. I've tried using box=FALSE, but it has no effect. # how to avoid the extra box? plot3d( ellipse3d(cov, centre=mu, level=0.68), col="pink", alpha=0.2, add = TRUE) Here's wha...
2010 Jan 07
1
adding 3D arrows to 3D plots
Greetings, I would like to add 3D arrows (i.e. arrow-headed vectors linking X1Y1Z1 to X2,Y2,Z2) to a 3D plot; ideally the sort of plot that can be rotated interactively. Is this possible using plot3d, or another 3d plotter in R? While it is easy to draw segments in plot3d (e.g. below), I haven't figured out how to add arrow heads, or to create 3d arrows from scratch. ##two headless segments: library(rgl) matrix(1:2,2,3)->segment1 matrix(1:3,2,3)->segment2 plot3d(segment2,type=&qu...
2011 Feb 18
1
plot3d, color points by group
...My data look like this: food group x y z apple fruit 0.216 -0.112 -0.893 orange fruit 0.814 0.097 0.460 broccoli veg -0.239 0.240 -0.425 banana fruit 0.222 0.968 -0.050 parsnip veg 0.139 0.897 0.378 garlic veg -0.104 0.510 -0.400 pca <- read.table(... p3d<- plot3d(pca$x, pca$y, pca$z, xlab="Component 1", ylab="Component 2", zlab="Component 3", col="blue",box=FALSE, size=5) food.v<-as.vector(pca$food) text3d(pca$x, pca$y, pca$z, food.v, cex=0.9, adj = 1) Many thanks, Leigh [[alternative HTML version deleted]]
2013 Jan 24
0
Creating a "scene" with plot3d or point3d
Hi the list, As far as I understand, a possibility to create a "scene" is to provide a list of triangles to the function makeTriangles. Is there also a way to turn the data that are used by "plot3d" into a scene? I would like to write: --- 8< --------- M <- matrix(runif(12),4) plot3d(M) ### Some secretes operations that turn M into a Mscene Mscene <- turn.M.into.Scene(M) drawScene(Mscene) --- 8< --------- Any idea? Thanks Christophe -- View this message in context: h...
2007 Oct 22
1
plot3d with more than 8 colors
...uot;8", 1), rep("9", 15), rep("10", 53), rep ("11",3), rep("12",3), rep("13", 8), rep("14", 90), rep("15", 8), rep ("16", 9), rep("17", 32), rep("18",11)) PCoA<-cmdscale(Dist.Gower, k = 3) plot3d(PCoA, type="s",col= colors, size=0.5) but I get only different colors for the numbers 1 to 8 and after that it starts again with the first colour black. How can get more different colours? And two further questions: how can I ad a legend to the 3d-plot and is there now a possibilit...
2011 Dec 09
1
rgl.postscript() failure when saving a scene
...ed a 3d cloud of spheres whose radius is set proportional to a given variable and coloured by another group variable and with 95% ellipsoids for distribution of any group. I had no problem at all for coding but I had two problem when saving the scene (in any format) using rgl.postscript() 1- using plot3d(), if the points are set to sphere whose radius is proportional to a given variable the rgl.postscript() causes R crash 2- using simple points the scene is saved but the transaprencies of ellipsoids are lost. HERE below I copy a script with simulated data. I use R.2.14 but even with R2.12 I got t...
2007 Jul 19
1
plot3d labels
Hello R users, I am a newby using R 2.5.0 on a Apple Power Book G4 with Mac OS X 10.4.10. Sorry that I ask again such stupid questions, but I haven´t found how to label the points created with plot3d (rgl). Hope somebody can help me. Thanks in advance. Birgit Birgit Lemcke Institut für Systematische Botanik Zollikerstrasse 107 CH-8008 Zürich Switzerland Ph: +41 (0)44 634 8351 birgit.lemcke@systbot.uzh.ch [[alternative HTML version deleted]]
2009 Jun 29
1
Export rgl plot3d scatter
Hello, I have created a 3d scatter plot using plot3d. Is it possible to export the resulting graph so that it can be placed in a pdf, powerpoint, or something of the sort and still be able to rotate it? Thanks [[alternative HTML version deleted]]
2008 Aug 26
1
plot3d origin
Hi all, I am trying to do a 3d plot where the x,y,z axes intersects with the origin (0,0,0) using the plot3d() funtion in the rgl package without success. I looked back at the past archives on this subject and someone suggested using djmrgl package. I searched and found it, installed it but when I try to load it I get the error ... Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to l...
2012 Apr 20
1
Interactive stereoscopic 3d rendering with RGL plot3d?
...: > http://shop.fujitsu.com/de/displays/display-p23t-6p-fpr-3d Does anyone know if there are developments toward this feature? Or perhaps someone know how to implement such a function... Perhaps it can be easily implemented by synchronizing two windows with different view angles (RGL package plot3d) and send those two pictures towards a screen driver. But i have now idea how to realize such thing. Best regards, Bene [[alternative HTML version deleted]]