search for: text3d

Displaying 20 results from an estimated 22 matches for "text3d".

Did you mean: text32
2009 Feb 16
1
Help with rgl
...ameters, with no luck... I would like to generate a movie from a 3D object (code below), where the vortex A is closer to the observer, and then the object rotates and the B vortex gets closer. I would like to capture this movie to a file. By the way, I am not being able to insert unicode text with text3d. rgl 0.82, R 2.8.1, Windows Vista. Any help would be appreciated. Code follows: library(rgl) open3d() coord.1=c(0,100,0) coord.2=c(100,100,0) coord.3=c(100,0,0) coord.4=c(0,0,0) coord.5=c(50,50,70) pyrcolor="red" triangles3d(rbind(coord.1,coord.4,coord.5),color=pyrcolor) triangles3d...
2011 Sep 07
2
rgl 'how-to's
...,0,-7,0),y=c(0,0,7,0,0,-7),z=c(7,0,0,-7,0,0)) dotframe plot3d(dotframe$x,dotframe$y,dotframe$z, radius=3, type='s',col=c('red','green','blue','purple','orange','gray'), axes=FALSE, box=FALSE, xlab='',ylab='',zlab='') text3d(x=7,y=0,z=0, text="hello, world",adj = 0.5, color="blue") #adds a label at one of the points My questions: 1) is there a way to label the points (spheres in this case) so that the label 'stays on top'? other than text3d(), which adds labels, but they are hidden whe...
2012 Sep 25
1
RGL plot : cex and zlim arguments do not work
Dear all, I have a quiet simple problem (shared by a collegue) but no solution at yet. The arguments I use in bbox3d or text3d do not have any effect on the graph. I need to use 'cex' and 'zlim' but It does not work. Maybe my problem could appear trivial but I have spent a lot of time on that. If you have a solution, please let me know! stephane [[alternative HTML version deleted]]
2012 Jul 05
1
Adding Text to a persp plot using specific coordinates
...2,2),zlim=c(-8,8), phi=30, theta=-30,nticks=8,ticktype="detailed") I've tried the text() function : text(x=0,y=0,z=0,texts="O") It returns the following error message: >Error: evaluation nested too deeply: infinite recursion / options(expressions=)? I've seen that text3d from the rgl library could add text on a plot3d object or a persp object. But when I try this: text3d(x=0,y=0,z=1,texts="O") The result is that R opens a new window with the string "O" printed in the new window. And no text is added to my previous persp plot. I've seen that...
2006 Feb 20
1
Further rgl()/spheres3d() query
Hi, I am applying the following code to map pca loadings onto a 3d grid, my problem is this - the output only plots the spheres in the requested color (in this case "red") for the first argument. The sphere from the second argument appear as flat dark circles. Also the text3d() command only seems to work for a couple of the positions, with no text added in most cases. Could anyone offer any suggestions? g.pca <- prcomp(RtG , retx = TRUE) scale <- 0.4 bg3d("black") amp <- 6 zlim <- amp*range(z) zlen <- (zlim[2] - zlim[1])*100 colorlut &lt...
2011 Jul 29
2
change pch in 3dplot, export graph
Hello I was wondering if anyone has been able to change the pch value for points in 3dplot()? I am able to change point colors just not symbol types. I have included a portion of my code below. I realize this won't work outside of my script, but thought, maybe there is something obvious that I am doing wrong. Also is it possible to utilize the interactive feature of 3dplot in a
2009 Aug 02
1
Character from Symbol Font on rgl Plot
I want to print characters from the symbol font (or perhaps even Wingdings) in an rgl 3d plot, but I am having no luck. So, what do I have to do in order to get this snippet to print out a character from the symbol font? library(rgl) open3d() text3d(1,1,1,"a",adj=c(0.5,0.5),cex=10,family="symbol",font=1) I am on Windows XP with R 2.9.1. Tom -- View this message in context: http://www.nabble.com/Character-from-Symbol-Font-on-rgl-Plot-tp24781990p24781990.html Sent from the R help mailing list archive at Nabble.com.
2007 Sep 24
1
save 3dplot to file
I think it is an easy question but i haven´t found a solution since I am r beginner. I did this plot3d(PCoA, type="p", col=rainbow(1000),size=5) text3d(PCoA, text=Nam) How can I save it including the labels to a jpg-file? 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 Apr 07
2
Annotation rgl plot
Hi, i was wondering if there is a way to annotate rgl plot, after searching i haven't found anything suitable. I saw function text3d but was thinking more about text on the margin, so not interactive. Thanks -- View this message in context: http://www.nabble.com/Annotation-rgl-plot-tp22930428p22930428.html Sent from the R help mailing list archive at Nabble.com.
2011 Feb 18
1
plot3d, color points by group
....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]]
2008 Oct 03
1
3D scatter, groups, RdbiPgSQL...
hello, I wish to create some 3d scatter diagrams visualising different grouped data set by a given field in the database. I tried the scatterplot3d package, as well as the plot3d and scatter3d functions (both within the rgl resp. Rcmdr package). My first question is, whether is it possibe to group data in the scatterplot3d and plot3d, because I did not succeed to use the groups = ...
2007 Jun 05
2
biplot package
...cex=cex, col=col.var) } if(n.values == 3) { if (rgl.use) { require(rgl) require(mgcv) size = max(g)/20 * sphere.factor if (clear3d) clear3d() if (spheres) spheres3d(g, col=col.obj, radius=size, alpha=.5) else text3d(g, texts=rownames(g), col=col.obj, alpha=.5) aspect3d(aspect3d) for(i in 1:nrow(hl)) { segments3d(rbind(matrix(0, nc=3), hl[i,]*var.red), col=col.var) } text3d(hl*var.red, texts=rownames(hl),...
2001 Jan 06
4
3D package in R
Hi all, I am considering writing a 3D visualisation package for R. Purposes: - Visualise 3 dimension data - Manipulate the data or series or any other object with the mouse as in any 3D software (3D Studio Max, Lightwave...) - Eventually display more than just 3D objects. Justification: - It's always interesting to plot data before performing any analysis - Manipulating (rotating,
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
2008 Nov 05
2
"Text" function in 3D graph
Fellow R users, I often use « text » to annotate plots in 2 dimensions. Having grown up to 3 dimensions recently, I am looking for a similar function. Could anyone provide code for how to annotate points in a 3-d plot? Your help is greatly appreciated. For Sébastien Velazquez. --------------------- Merci de répondre à cette adresse e-mail et à davidwevans1@gmail.com
2010 Apr 05
1
Using pch with the RGL library
Hi, I am trying to compare two 3D plots. For that, I am trying to use the "pch" parameter in the "points3d" function, but it is not working. Is it implemented? Any suggestion? Here goes a reproducible code. I wanted the second plot having different symbols for the points. x <- rbind(matrix(rnorm(100, sd = 0.3), ncol = 2), matrix(rnorm(100, mean = 1, sd = 0.3),
2010 Feb 22
3
Re : how to plot select points in preexisting persp plot
Hello, I am trying to plot selected data points to a preexisting persp plot that satisfies a condition. I used the following statement - text(coords[,1], coords[,2], names(act[which(act > 8.75)]), cex=0.7) But I get all the points labeled, instead of the points that satisfy the condition specified. Is there any way to plot only the points I want? Also can this be done using
2016 Apr 04
0
Question about function DrawDensity3D {VecStatGraphs3D}
...mooth = TRUE, lit = TRUE, line_antialias = FALSE, alpha = 0.2) x <- c(0, max(module), 0, 0) y <- c(0, 0, max(module), 0) z <- c(0, 0, 0, max(module)) labels <- c("", "X", "Y", "Z") i <- c(1, 2, 1, 3, 1, 4) text3d(x, y, z, labels, adj = 0.8, cex = 1.5, font = 2, color = "black") segments3d(x[i], y[i], z[i], lwd = 3) rgl.points(x = Cx, y = Cy, z = Cz, size = 3, color = "black") contour3d(Cr$d, level = th[c(-1, -(Layers + 2))], x = Cr$x, y = Cr$y, z = Cr$z, alpha =...
2010 Jul 29
0
[R-pkgs] heplots 0.9-3 and candisc 0.5-18 released to CRAN
...gonalization of a matrix or data frame, preserving column means and standard deviations o Avoid Deprecated warnings (linear.hypothesis) with car2 o Fixed documentation warnings with car2 (linear.hypothesis, data.ellipse) Version 0.9-2 (2010-02-12) o Added demo/Big5.R o fixed buglet with text3d causing rgl to crash (thx: Duncan Murdoch) o switched inst/CHANGES to NEWS o Added data/RatWeight and examples o Added data/Headache and examples o Fixed buglets in heplot, heplot1d, heplot3d regarding number of variables o Added etasq.mlm methods for multivariate measures of association (\eta...
2009 Oct 28
2
Labelling individual points on 3D PCA scatterplot
Hi There, I'm attempting to plot 10 values on a three-dimensional PCA with text labels next to each point. While i have no trouble doing this on 2D plots using the 'text' or 'textxy' function, I cannot find a function to do this on a 3D plot. I am using princomp for my PCA: >PCA<-princomp(eucdata, cor=TRUE) >PCA$scores [,1:3] # the three principal components i