Displaying 20 results from an estimated 60000 matches similar to: "How to create a 3d Surface plot from a CSV file?"
2010 Apr 30
3
3D Surface plot
Dear All,
I want to create a surface plot from the data. My data set is consists of x,
y and z data.
I plotted in very easy way by Excel worksheet as shown in the attached
picture.
I did some steps in R, but I cannot have the same plot as in Excel
worksheet's figure.
the R code is
x <- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
y<- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
z<-
2010 Apr 20
1
3D surface plot with wireframe or persp?
Hello Dear,
I have a function, like z=f(x,y), and try a surface plot with this function.
But, on the reference of "wireframe" requires data option, so I generated x
and y, and computed z with them. But, still I have a problem to draw a
surface plot. The code and errors are
##################################################
mle_beta0=64.43707;
mle_beta1=-24365.16;
# generating for
2011 Jan 11
0
Displaying a PLS biplot under a 3d surface plot
All:
Anyone have an idea about how to plot a PLS biplot on the x-y plane under a 3-D surface? Preferably a 3-D surface such as one created with rgl.surface() (meaning, I would love an interactive plot when all is said and done).
I have seen examples which combine a 3-d surface with contour plot (e.g.
2011 Aug 17
2
3D surface plot
I have what is probably a noob question, but....
I am trying to create a 3d plot to illustrate the range of values for the following simple function:
A = B*(C/D)
B, C, and D are independent variables whose range are equal (e.g. 1 to 3 inclusive)
I figure it's not possible to map the surface of A on the 3d space defined by B, C and D but I would like to create a surface defined by the
2006 Mar 28
1
How to remove the outer rectangle in 3D plot/surface.
Hello,
I plot a 3D plot/surface using cloud function in lattice package.
Several days ago, I post a question about
how to remove the framebox out the 3D plot/surface.
However, I think I don't make me understood clearly.
I just hope to romove the outer rectangle or box around the box.
Thanks again.
Regards,
Jinsong Zhao
2016 Apr 30
1
3D surface plot
Dear R users,
I am trying to generate a 3D surface plot given the inflator formula in the attached file.
Now, I want to create a 3D plot showing how Delta changes with the values of Abs(B) and sigma. The other variables in the formula are constant. Delta is calculated daily therefore the subscript t which denotes the day. I have used different functions and different packages but I get either
2010 Nov 26
2
3D-surface colour based on the values of X or Y data points
Dear R-experts,
Using persp3d(), I plotted a 3d surface. I would like to colour this surface
based on the result values (dependent variable) grouped in, say, three to
five different ranges. Later, I would also like to paint the same surface
based on the range-values of one of the independent variables.
Please help.
Thank you.
Regards,
Suresh
--
View this message in context:
2010 Jul 29
1
3d data plot
Hello!
I'm a newbe, and a bit confused amongst the data types and functions...
The problem to be solved is the following: We have measurements. They are in
a csv file, in 3 columns. So this would be an x-y-z plot, where z is the
measurement at (x,y) conditions. Just a simple plot, nothing special. Dots,
surface columns - doesn't matter to me. I just can't figure it out somehow.
2006 Mar 20
1
Surface plot - 3d
Hi, trying this again - any help would be great!
Basically, I have two matrices of equal dimension, one of them should
produce something similar to a heatmap.. The 2nd matrix should be the
"heights" for each value on the heatmap - producing a sort of 3d surface
plot.
Viewing this seems like a problem too, as I need to scale the x axis so
that ~140 labels are visible.
I've tried
2009 Jan 23
1
3d scatter plot with both error bars and a flexibly fitted surface
Dear R-helpers:
I, an entry level R user, wonder how make a 3d scatter plot with both error
bars and a flexibly fitted surface.
Can anyone eligthen me?
Many Thanks in advance.
-Sean
[[alternative HTML version deleted]]
2012 Mar 12
1
How to add/draw a persp3d graph to a plot with an existing surface/graph
Dear R users,
I have been trying to draw the following 3d graphs: The solid region bounded
above by the paraboloid z = 9 - x2 - y2 and below by the unit circle in the
xy-plane.
I wanted to visualize the solid region bounded by those two graphs. I could
draw those two 3d graphs separately, but I could not get those two to work
in one single plot.
Here's my code for the paraboloid:
x <-
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
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
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
2003 Sep 17
3
3D plot/surface rotation
How do I rotate 3D plots/surfaces generated by either cloud or wireframe?
Thanks.
Marc
Marc W. Zodet, MS
Health Statistician
Agency for Healthcare Research and Quality
[[alternative HTML version deleted]]
2012 Oct 10
3
RGL package surface plot
I'm completely new at R... I have sinkhole survey data (lat, long, and
elevation) and have been trying to plot a rotatable 3d plot for several
hours... cannot get it right. Examples I see tend to be grid data (one
elevation value per grid cell); however, my data are more random (known
elevations at known (but random) x-y positions). Data format is tab
separated, i.e.:
lat long
2010 Apr 15
0
converting Ggobi csv input to xml for line plots in 3d
Hi,
I was wondering if any Ggboi experts have encountered the following.
I have data in csv that I want to plot with lines in ggobi. Unfortunately,
there is some kind of information missing that xml seems to contain. I.e. I
can plot scatterplots with dots using csv input, but not connect with lines.
Any ideas on how to convert to xml, or modify the csv file to get the
information?
P.S. An
2011 Oct 31
1
3D Graph Surface and single points (eg wireframe with points)
Hallo!
?
I just want to make a 3D plot of a surface of a cone and want to plot some single points around.
?
I tried wireframe but cannot find how to plot single points
?
I tried scatterplot3d but there the surface is not simple to plot. And: How can I rotate the point of view by the z-axis
?
I tried persp3d but how can I add some single points?
?
Example:
?
library(lattice)
library(scatterplot3d)
2003 Jul 13
2
Coloured 3d surface
Hello,
I created a 3d surface (persp) with some points overlaid on it, which is
fine. Now I have a second set of z-values(x,y-values same as the first
surface), which I would like to make visible on the same graph, however,
not as a surface, but rather as coloured contour on the first surface,
so that the resulting graph will consist of the original surface having
the colour of the second
2012 Feb 05
0
Lattice: correct use of ltransform3dto3d to plot a surface under a cloud ?
Hello list!
I am trying to project the fitted surface to a 3d plot of the data,
similar to figures 13.7 or 6.5 in Deepayan Sarkar's "Lattice,
Multivariate Data Visualization with R", but replace the contour/map
lines with "levelplot". Problem is I can't get the color regions to
line up after the coordinate transformation. Is there a simple
solution my geometry