similar to: "simple" 3-dimensional plots?

Displaying 20 results from an estimated 9000 matches similar to: ""simple" 3-dimensional plots?"

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 <-
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
2002 May 02
3
Surface Graphic
Hello list! I have a problem with the function 'persp'. I have a data set with the variables X -> The X coordenate of the insect Y -> The Y coordenate of the insect deep-> how deep the insect buried into the soil. I would like to have a plot with a surface simulating the way the insect buried. Is it possible? If I type persp(x,y,deep) R gives me this error message Error in
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 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
2008 Jun 16
2
Plotting 3d data?
Hi all! I'm very new to R, and I'm having trouble figuring out how to go from a file of points that I have to a 3d surface plot of the data. I typically have something like this: X Y Z 0.005 0.023 34.45 0.0035 0.63 28.48 . I've tried looking at the persp and wireframe packages, and the rgl package, but I can't seem to figure out how to
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)
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,
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.
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
2003 Sep 19
4
3D plotting in R
A student is trying to cluster some data. Tree-building things seem to be pretty hopeless (we've tried most of the ones in R, I think). Multi-dimensional scaling produces somewhat tantalising results: things do clump together somewhat, but the clusters overlap a lot. I was wondering if these was an artefact of squeezing it down to 2D, and whether 3D might be better. So loc <-
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
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(...) ..
2007 Oct 01
3
3-dimensional graph
Windows XP R 2.3.1 I have a funciton fit1<-lm(y~x+z) Is there a function that will produce a 3-dimensional plot of y,x,z? I looked at the help files, but did not find a clean answer to my question. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street
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
2009 Nov 09
1
persp function question
Hello, I have a question about persp function: I made my classical matrix with x, y and z variables and I dont know why I obtain a 3D image with overestimate heights. Here is my script: microtopo = read.csv2("topo2.csv", dec=".") attach(microtopo) require(akima) # for persp or zz <-interp (x, y, z) persp(zz) See also my attach file Thanks, Best regards JS
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
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