Displaying 5 results from an estimated 5 matches for "3dplot".
Did you mean:
cdplot
2007 Aug 13
2
help with scatterplot3d
Hello,
I am having a bit of trouble with scatterplot3d().
I was able to plot a 3d cloud of points using the following code:
>my.3dplot<-scatterplot3d(my.coords, pch=19, zlim=c(0,1), scale.y=0.5,
angle=30, box=FALSE)
where my.coords is a data frame that contains x, y, and z coordinates for
grid points whose elevation we sampled.
The problem occurs when I try to add points using points3d. I tried to
follow the code in the exam...
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...
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
2007 Dec 18
1
3d plotting
I am trying to dp a 3d plot.
I tried persp but my data is not a matrix.
the 3dplot function returns this error, (list) object cannot be coerced to 'double'
heres my code,
td<-read.csv("td.csv", header=TRUE)
price<-read.csv("price.csv", header=TRUE)
contractdate<-read.csv("contractdate.csv", header=TRUE)
library(rgl)
plot3d(td,con...
2006 Jan 25
0
Log-Likelihood 3d-plot and contourplot / optim() starting values
...s2
}
# the data
t<-c(7,11,8,10,15,22,20,25,28,35)
# now i want to do a 3d-plot and a contourplot in order to see at which
values of N and phi the loglikelihood function becomes zero.
# i do this in order to get an idea where the starting values for a
optimization for the mle of N could be
# 3dplot and contourplot
phi<-seq(0,1,length=50)
N<-seq(101,110,length=50)
z<-outer(N,phi,loglik_jm(N,phi,t))
persp(phi,N,z, theta = 30, phi = 30, expand = 0.5, col = "lightblue")
contourplot(z~N*phi)
# but i get some error messages, i don't know why?
# if you are interested, the m...