Displaying 20 results from an estimated 10000 matches similar to: "surface plot"
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
2004 Dec 08
2
Surface graph.
What package/code could I use to create a 3-d surface graph of the predicted
values over two of the explanatory variables' coefficients?
Jim
James Bang
Department of Economics
University of Illinois
Well I AM missing the back of my head.you COULD cut me a little slack!
-Homer Simpson
2011 Jun 01
2
interpolation and extremum location of a surface
Hello,
I have a x,y,z file.Z is not corresponding to a simple analytical function of x and y (see below).
I am trying to find the minimum location of this surface and the z value corresponding to this location by a spline interpolation or from a polynomial fit.
I tried with the akima package but as the location of the point I am looking for (the minimum) is outside of the convex hull it's
2006 Feb 01
1
akima 0.4-5, interpp() bug = COMMON block problem
Hi,
I'm currently hunting a bug in the akima library, especially in the code
behind the interpp.old function (bi-variate linear interpolation).
It is based on a triangulation algorithm, interpolation at a given point
needs to know the triangle which contains this point, then the
interpolation is a straightforward calculation based on the three
vertexes.
The problem is: Sometimes the triangle
2008 Oct 22
1
3-D (surface) B-splines
Hello
Is there any R package which can do 3-D splines (reconstruct a surface
based 3-D data input) ?
Thanks,
Zhaoming
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
2012 Feb 29
2
Contour plot
Hi, I would like to make a contour plot with the data below, x-axis= Day
(increasing order, day number is out of 365 days of a year), y-axis= Depth
(varies), and z=pH. I tried to use filled.contour function, but not sure the
proper way to ordinate my z results into a matrix with different x and y
length. After that, if I attempted to plot the data, the x and y values are
not in ascending
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 <-
2008 May 29
1
akima interpolation and triangulation question
Dear all;
First of all, this is probably a more conceptual question than a
R-related one, but still want to give it a try. When working with the
interpolation function "interp" from the package akima and the
triangulation function "tri.mesh" from package tripack I've got NA's
for the interpolation and "error" for the triangulation. The data is
arranged in a
2012 Sep 19
2
Help reproducing a contour plot
Hi All,
I am trying to reproduce this using R instead.
[image: Full-size image (38 K)]
I tried using the following code
*SChla <- read.csv("SM_Chla_data.csv")*
*Atlantis <- SChla[16:66,]*
*head(Atlantis)*
*
*
Seamount Station Depth Pico Nano Micro Total_Ch dbar Latitude
Longitud
16 Atlantis 1217 Surface 0.0639 0.1560 0.0398 0.2597 2.082 -32.71450
57.29733
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]]
2005 May 16
2
Fitting Contour to Data Points
Apologies for the mass mailing today!
I am attempting to produce a contour plot for phsical data on a map
matrix. I have a small number of data points which each has an (x,y)
co-ordinate together with a corresponding value which I would like to
cvreate a contour plot for.
I have tried the following code:
contour(data$x,data$y,data$value)
but am told:
Error in contour.default(data$x, data$y,
2003 Jan 14
4
density plot - beginner's question
Hi,
I am trying to plot densities given on a two dimensional grid. My
data is in the an external file, and is arranged in three columns:
x, y, density
how may i get a plot of this? i would like to get (1) a three
dimensional plot and (2) a color coded two dimensional plot.
I have tried using
image(x, y, density)
but i am asked to put the data in ascending order. i am not sure
how i may
2012 Jul 12
1
identifying local maxima
Dear R users,
I have created a Loess surface in R, in which x is relative longitude by
miles, y is relative latitude by miles, and z is population density at the
neighborhood level. The purpose is to identify some population centers in
the region. I'm wondering if there is a way to determine the coordinates
(x,y) of each center, so I can know exactly where they are.
Let me use the
2004 Mar 17
1
(no subject)
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
2005 Mar 23
1
interp.surface() error (PR#7745)
R version: 2.001
OS: Windows XP SP2
When I use the interp.surface() function, on occasion I have encountered
the following error message:
Error in interp.surface(a, loc) : subscript out of bounds
Since it is somewhat dependent on the data set, I cannot say exactly in
which cases these occur, but I believe I have found the problem and a
solution for it:
The scaling calculations in the code,
2007 Nov 08
2
question on image() function?
Dear friends,
My dataset is like the following:
x y mcpvalue
0.4603578 0.6247629 1.001
0.4603715 0.6247788 1.001
0.4603852 0.6247948 1.001
0.4110561 0.5664841 0.995
The x and y variables are unsorted.
I use the function image(x,y,mcpvalue) to generate a plot, but the error
is that "increasing 'x' and
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
2023 Jan 26
1
akima interp results to zero with less than 10 values
The akima package has a problematic license (it doesn't allow commercial
use), so it's been recommended that people use the interp package
instead. When I use interp::interp instead of akima::interp, I get
reasonable output from your example.
So that's another reason to drop akima...
Duncan Murdoch
On 26/01/2023 9:35 a.m., PIKAL Petr wrote:
> Dear all
>
> I have this
2008 Sep 08
2
(no subject)
Hello all,
I have a very large file (280k lines) containing three comma separated
variables. The first variable is a 0 or 1 depicting a pass or fail. The
other two are X and Y coordinates. Is there a good way I can represent this
data in a chart/plot form other than using a 3d histogram? If I need to use
the histogram, should I base my chart off the example contained in the RGL
package?
Thanks a