[R] wireframe() display a graph with two colors, not a gradient.

2011-02-26 Thread James Platt
Hi all, I'm quite new to wireframe, essentially what I want to do is display a graph, and z-values > 1 would be yellow and those < 1 would be blue. This is a bit of my data. 0.334643563 0.350913807 0.383652307 0.370325283 0.38779016 0.4238

Re: [R] Identify points (was Plot error)

2010-07-18 Thread James Platt
tk/libs/i386/tcltk.so Reason: image not found Error: package/namespace load failed for 'tcltk' Cheers, James On 17 Jul 2010, at 18:12, Peter Ehlers wrote: On 2010-07-17 9:50, James Platt wrote: The other question I have: Is there any way to link the data point on the graph to t

Re: [R] Plot error

2010-07-17 Thread James Platt
On 17 Jul 2010, at 16:43, James Platt wrote: > Hi both, > > Sorry my mistake I was trying to make a graph from another file I > called seq, I decided to use test as an example, but mixed up the two. > > I have got this to work now thanks. > > after doing this: > >

Re: [R] Plot error

2010-07-17 Thread James Platt
ot;), class = "factor"), value_1 = 1:3, value_2 = c(4L, 2L, 1L)), .Names = c("name", "value_1", "value_2"), class = "data.frame", row.names = c(NA, -3L)) test # print so we can look at it #Assign columns to variables 'x' and 'y' x &l

[R] Plot error

2010-07-17 Thread James Platt
Hi guys, I am a newbie to R, so apologies in advance. I created this simple table in excel, saved in tab delimited .txt: name value_1 value_2 1 bill 14 2 ben 2 2 3 jane 3 1 >test <-read.table("\path\to\file", sep="\t", header=TRUE) >x <-c(seq["v