Skip to content
Back to formatted view

Raw Message

Message-ID: <200411300932.59942.deepayan@stat.wisc.edu>
Date: 2004-11-30T15:32:59Z
From: Deepayan Sarkar
Subject: plotting data in non-orthogonal coords.
In-Reply-To: <200411301106.59500.stu44414@mail.uni-kiel.de>

On Tuesday 30 November 2004 04:06, Andreas Franke wrote:

[...]

> It would be nice if one could just plot data given as F(x,y) where
> you supply x and y for every data point seperatly so that you dont
> need any specific grid.

This is one solution, but it's not exactly what you want:


library(lattice)
u <- row(matrix(0, nrow = 10, ncol = 15))
v <- col(matrix(0, nrow = 10, ncol = 15))
x <- u
y <- .5 * u + .3 * v
z <- log(u + v)
wireframe(z ~ x * y)


Deepayan