Displaying 20 results from an estimated 5000 matches similar to: "3dscatter for linux"
2007 Sep 24
1
urgent for R graphics
Hi, everyone,
I am green with R. Now I am working on a graphics projects.
I have a dataset:
-----------------------
a b c
1 228 83 6.69
2 274 83 7.36
3 320 83 8.86
4 366 83 7.36
5 412 83 6.81
6 228 129 5.58
---------------------
I want to draw a 3d graphic.
I use the code
__________________
2006 Jun 28
1
persp/ scatterplot3d
Dear WizaRds,
I would like to create a 3d-plot with persp(). I sampled 17 points
with xyz-coordinates (real-life example!), representing the peaks of the
whole plane with "zero coordinates" x=3,y=3,z=3. My intention is to show
which entries are above or below the "zero" level with persp() on a
nicely created grid. I also tried scatterplot3d(), but, alas, I am
unable
2004 Oct 20
2
Plotting a 3D surface
Hi
Does R have a function or has someone written a function to draw a 3d
surface from a scatter plot of values using either ksmooth or locpoly. OR a
transform function a that merges x relation z and y relation z to (x,y)
relation z?
I tried out scatterplot3d but it seems it would take a bit of work to get
scatterplot3d to draw a curved surface.
Lawrence
2007 Apr 11
2
persp Error. x,y,z with the same length
Hello,
I have a problem in drawing a 3d graphic. I simplified the program to show you the problem.
I have a text file with hundreds of entries in 3 columns. I scaned these columns with matrix(scan). Then, I transformed some datas. Now I have the datas in h,x,y.
I created a new matrix to use persp . But I got an error. The reason is probably the same length of x,y,z.
But what can I do the draw
2012 Mar 26
1
Drape 3D scatterplot
Hi,
*Warning: R newb here. *
I've got a 3D scatterplot (
http://www.fleetwoodswoodworks.com/scatterPlot.jpg) which I want to drape
in color, with the draped plane corresponding to the mean z values on the
plot (similar to: http://www.fleetwoodswoodworks.com/draped3Dscatterplot.jpg).
Does anyone know what package will allow me to do this? I used *
scatterplot3d()* for my first plot. I've
2000 Jul 07
2
Question of programming style
This is really a question of how to program this *BETTER*. It works as I have
done it, but is quite ugly.
I want to do a 3d scatterplot of the upper triangle of a matrix, where the
z-values are the values in the matrix, and the row and column indices are the y-
and x-values. The complete (11 by 11) matrix is mmtop94.2. Here is my awkward
code:
mmtop94.2[lower.tri(mmtop94.2)] <- NA
# Here i
2004 Oct 26
1
persp(), scatterplot3d(), "..." argument
Hello list.
I very often need 3d scatterplots, and use scatterplot3D quite a lot.
I am trying to modify persp() to plot scatterplots, and make use of
the theta and phi arguments that persp() offers. I am having some
difficulty passing the correct arguments to persp().
Here is my function so far. Much of it is copied from the persp() manpage.
points3d <- function(x,y,z,
2004 Oct 26
1
persp(), scatterplot3d(), "..." argument
Hello list.
I very often need 3d scatterplots, and use scatterplot3D quite a lot.
I am trying to modify persp() to plot scatterplots, and make use of
the theta and phi arguments that persp() offers. I am having some
difficulty passing the correct arguments to persp().
Here is my function so far. Much of it is copied from the persp() manpage.
points3d <- function(x,y,z,
2009 Oct 19
3
Variant of cloud with "sticks" from points to surface
Hi,
I'd like to
(1) plot a perspective view of a 3D scatterplot, with a fitted (curved)
surface;
(2) have a "stick" from each point vertically to the surface.
The latter helps one visualize where a point lies in 3D, relative to the
surface. Is there a variant of the cloud function (lattice package) which
might do this? As far as I can tell, the cloud function will
2006 Jun 03
2
Help on plotting a 3 dimensional surface
Hi
Im working on my master thesis, I need to get a plot currents distributed
over a surface.
I have the data listed in a dataframe with the x coordinates, y coordinates
and the value.
Im using the persp function but I’ve not found out how to put the data into
the z1 variable
es <-read.table("RDatalog_pass_dev_1_wafers_1_8V.txt",header=T,sep="\t")
x1 <-
2003 Sep 20
4
persp graphs
Hi,
I am doing my way on R, with much experimenting. So, I am trying to plot a 3d
graphic ussing "persp" and entering a data set (attached) of UTM coordinates
as x,y and a pH values as z. However when I try an error message comes out
telling that increasing x and y values are expected. Jus ordering the first
vector does not help, and, of course, order the first two independently
2011 Jul 13
1
Plotting parametrized curves (2D or 3D)
The curve() function plots an expression in x over an interval [from,to]. I
am looking for a function that would allow me to plot a parametrized curve
t -> x(t) where x is a vector in 2 or 3 dimensions.
For example (cos(t), sin(t)) (a2D circle) or (cos(t), sin(t), t) (a 3D
helix). It seems that neither curve(), plot(), nor persp() are helpful for
that particular problem. I bet I?m not the
2002 Mar 18
2
persp(): add second plane (second, long question)
Thank you for your replies so far.
Sorry for bothering you again, but I'm still not able to get what I need as
I don't understand all parts of the replies (just using R for easy
things....).
Is there a code for plane3d() like some of you sent me for points3d()? I was
not able to get that out of the scatterplot3d package...
What I can do is to get the x,y and z-range for the xlim,ylim and
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
ideas, I will be grateful.
TIA,
Partha
2001 Mar 19
3
3D plots
Hi all,
I've got at really basic Q for you all: How do I produce a 3D plot in R?
Like the one in the screenshot on the R-project wab-page.
What is the command?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and Linguistics
Ume? University
S-901 87 UME?
SWEDEN
Tel: +46 90 786 56 84 Web:
2003 Dec 25
6
Plot a sphere
Hi,
I'm new to R (and math ;) Would somebody please be so kind as to direct me
in plotting a 3D sphere?
I tried something in the lines of:
####
y <- x <- seq(-pi, pi, length=pi*10)
f <- function(x,y)
{
z <- sqrt(pi - x^2 - y^2)
#z[is.na(z)] <- 0
z
}
z <- outer(x, y, f)
persp(x, y, z, theta = 120, phi = 30)
####
I've also tried: .... make.surface.grid(...) ..
2011 Dec 29
2
3d plotting alternatives. I like persp, but regret the lack of plotmath.
I have been making simple functions to display regressions in a new
package called "rockchalk". For 3d illustrations, my functions use
persp, and I've grown to like working with it. As an example of the
kind of things I like to do, you might consult my lecture on
multicollinearity, which is by far the most detailed illustration I've
prepared.
2005 Dec 09
1
help with simple 3d graph
I have a large matrix and want to create a 3d surface of it.
Suppose the matrix looks something like Matrix K:
a<-c(1:1200)
b<-c(rep(1:30,40))
c<-c(a+b^2)
K<-data.frame(a,b,c)
The vector values are not ordered (and repeat themselves as in b).
Whenever I try commands like "persp" it wants ordered values.
The only command that approximates what I
2002 Aug 01
4
What does persp() return?
I want to plot some 3D points on top of the grid produced by persp().
On 2/22/01, Paul Murrell <paul at stat.auckland.ac.nz> wrote in R-help:
> In S-Plus, persp() returns a value that can be used to transform 3D
> locations to 2D, but this sort of thing is not (yet) available in R.
But persp() does return something (in R-1.5.1): a 4x4 matrix which in the C
code is called the
2004 Jan 07
2
segments in 3d space
Hi all,
Is it possible to draw line segments in a 3d space plot?
I'm interested to draw the errors from an observed value to the
regression plane, for a textbook example in an Intro Stats handbook for
multiple regression.
I used the scatterplot3d package to draw the regression plane.
Many thanks,
Adrian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Adrian Dusa (adi@roda.ro)
Romanian Social