Re: [R] surface plot

2013-07-29 Thread Jim Lemon

On 07/29/2013 03:31 PM, javad bayat wrote:

Dear R users;
I have a question about surface plot that show me spatial variability of
parameter. I have a data frame with 6 variables and X and Y for coordinate
system.

X   Y  pH
.....  ...

so I want to create a surface plot for my data.
please help me.


Hi javad,
There are a number of packages that will produce plots that might be 
useful to you. I suggest that you search for:


surface plot r

with Google and see which plot suits you.

Jim

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] surface plot

2013-07-28 Thread javad bayat
Dear R users;
I have a question about surface plot that show me spatial variability of
parameter. I have a data frame with 6 variables and X and Y for coordinate
system.

X   Y  pH
.....  ...

so I want to create a surface plot for my data.
please help me.
many thanks.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] surface plot

2008-01-24 Thread Duncan Murdoch
On 24/01/2008 8:59 AM, threshold wrote:
> Hi, there is following issue, which I encounter when doing data analysis. Say
> we have data in form of the matrix x:
> 
>> x
>  [,1] [,2] [,3]
> [1,]  0.14   10
> [2,]  0.25   11
> [3,]  0.15   12
> [4,]  0.16   13
> [5,]  0.24   14
> [6,]  0.35   16
> 
> now I want to do surface plot of x[,3] with respect to axes OX:x[,1] and OY:
> x[,2] in ascending orders of course.

How do you want to make a surface out of x[,3]?  You've got 6 points. 
There are lots of ways to make a surface out of those, but you haven't 
said which one you want to use.

The interp() function from the akima package might work, but you don't 
have much data for it to work with.

Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] surface plot

2008-01-24 Thread threshold

Hi, there is following issue, which I encounter when doing data analysis. Say
we have data in form of the matrix x:

> x
 [,1] [,2] [,3]
[1,]  0.14   10
[2,]  0.25   11
[3,]  0.15   12
[4,]  0.16   13
[5,]  0.24   14
[6,]  0.35   16

now I want to do surface plot of x[,3] with respect to axes OX:x[,1] and OY:
x[,2] in ascending orders of course. 
Thanks in advance, best
rob

-- 
View this message in context: 
http://www.nabble.com/surface-plot-tp15064443p15064443.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.