[R] X11 uses font size 25 although 28 was requested

2007-12-15 Thread Andre Jung
Hi, I'm not sure if the real English warning is the same. I translated it from German. R came up with the following message: --- Warning message: In title(main = sinc.exp) : X11 nutzt Schriftgröße 25 obwohl 28 angefordert war [engl.: X11 uses fo

[R] combine variables to matrix

2007-12-12 Thread Andre Jung
I just got stuck with a quite simple question. I've just read in an ASCII table from a plain text file with read.table(). It's a 1200x1200 table. R has assigned variables for each column: V1,V2,V3,V4,... For small data sets data <- read.table("data.txt"); data.matrix <- cbind(V1,V2,V3); works.

Re: [R] plot contour map for irregular data points

2007-09-13 Thread Andre Jung
Yes, contourplot() takes irregular spaced values, but you need a regular grid to project the data on to. grid <- expand.grid(x=x,y=y); contourplot(z~x*y,grid,cuts=50); This gives me a plot with little coloured areas around my datapoints only. A better way for me was to library(akima); data.int

[R] plot contour map for irregular data points

2007-09-12 Thread Andre Jung
Hello, I'm dealing with the following problem: I have a table with x and y coordinates and corresponding values of a mineral concentration, let's call it z. Can someone provide me a short step-by-step manual for the steps necessary to get a contour map? How to sort and interpolate my matrix