Displaying 20 results from an estimated 4000 matches similar to: "persp/ scatterplot3d"
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,
2003 Oct 07
1
persp or scatterplot3d?
Hello,
I have three x-y plots whose interesting data occurs at the same time. When I
place them in the same plot, they tend to obscure each other. I was hoping to
use persp or scatterplot3d to plot them 3-dimensionally, so that the plot is
visually useful. My data is simple:
x, for all three data sets, is a set of 885 ISOdates, where x <- x0 + seq(1,
885).
y is the value of "io",
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.
2011 Aug 04
3
persp()
Hello
I am trying to draw a basic black and white map of two European countries.
After searching some key words in google and reading many pages I arrived to the conclusion that persp() could be used to draw that map.
I have prepared three small example files, which are supposed to be the files required for running that function.
xvector is a vector with the longitudes
yvector is a vector with
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
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
2007 Feb 20
1
interaction term and scatterplot3d
Dear Listers,
I would be interested in representing a trend surface including an
interaction term z = f(x,y,x.y) - eg the type of chart obtained with
persp() or wireframe(), then adding datapoints as a cloud, ideally with
dots which are under the surface in a color, and those who are above in
another color. An other option would be to draw segments between the
dots and the ground of the
2004 Mar 17
3
Persp plotting of kernel density estimate.
Dear All,
I am trying to visualize the surface of a bivariate kernel density
estimate.
I have a vector of bivariate observations(x,y), and a function which
computes the kernel density estimate z corresponding to each
observation.
I cannot generate the (x,y) data in the ascending order needed by
persp(x,y,z).
I was wondering whether there is an R version of the S function interp.
Would anybody
2008 Mar 11
2
persp question
someone sent in a question earlier about doing
something in 3D so i took a stab at it purely
for educational purposes ( i'm not even sure that I understood the question actually ).
Unfortunately, persp gives me an error that I don't understand because it says "object y not found". I'm sending y in as a parameter to persp similar to what ?persp shows in one of oits examples
2008 Jun 24
2
persp plot
I have a set of data in the form
x1, y1, z1
x1, y2, z2
...
x1, yN, zN
x2, y1, z(N+1)
x2, y2, z(N+2)
...
x2, yN, z(2N)
...and so on...
xM, yN, val(M*N)
I have been trying to figure out how to get R to use this data in a
persp plot. So far the only thing that I can figure out to do is to
break the data file into three different files. The first file
contains the x-coordinate data:
x1
x2
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
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
2007 May 25
1
3D plots with data.frame
Dear all,
Thank you for any help. I have a data.frame and would like to plot
it in 3D. I have tried wireframe() and cloud(), I got
scatterplot3d(xs)
Error: could not find function "scatterplot3d"
> wireframe(xs)
Error in wireframe(xs) : no applicable method for "wireframe"
> persp(x=x, y=y, z=xs)
Error in persp.default(x = x, y = y, z = xs) :
(list)
2008 Nov 13
1
Surface plotting
Hi,
I would like to plot a matrix which comprises 3 columns.
So first column should be the x-axis.
Second the y-axis and the third one should be the z-axis.
I know that I can plot such data using the scatterplot3d, but I would like
to
have a surface plot like you can do with wireframe and persp. But both,
persp and wireframe,
want to have x and y as descending data, at least persp. I am not sure
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 Mar 14
1
persp(): add second plane
Dear R-users,
is it possible to add a second plane to the persp()-plot? I couldn't find
any hint on that in the news archive...
I'm using R.1.4.1 for Windows.
Thanks in advance,
Nina
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2002 Mar 14
1
persp(): add second plane
Dear R-users,
is it possible to add a second plane to the persp()-plot? I couldn't find
any hint on that in the news archive...
I'm using R.1.4.1 for Windows.
Thanks in advance,
Nina
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2008 Sep 30
0
adding planes/lines to 3d surface plots? (persp, wireframe)
Dear helplist members,
I have been using 'wireframe()' to make 3d plots using the following call:
wireframe (temp ~ xc2 * mc2, screen = list(z = 230, x = -70, y = 0),
scales = list (arrows = FALSE))
and these three vectors:
xc2 mc2 temp
[1,] 0.1 0.04 0.049797615
[2,] 0.2 0.04 0.049161159
[3,] 0.3 0.04 0.048006702
[4,] 0.4 0.04 0.046208311
[5,] 0.5 0.04
2008 Nov 26
1
Smoothed 3D plots
DeaR list,
I'm trying to represent some information via 3D plots. My data and session
info are at the end of this message. So far, I have tried scatterplot3d
(scatterplot3d),
persp3d (rgl), persp (graphics) and scatter3d (Rmcdr) but any of them gave
me what I'd like to have as final result (please see [1] for a similar 3D
plot changing
PF by ypred, pdn by h4 and pup by h11).
In general