Re: [R] Log scales

2013-05-21 Thread Emily Gleeson
Thanks a million Uwe. I used the following from a forum to do it and it worked out: mylevels <-c(-150,-100,-50,-20,-10,-5,-2,-1,1,2,5,10,20,50,100,150) cols <- jet.colors(length(mylevels) - 1) customAxis <- function() { n <- length(mylevels) y <- seq(min(mylevels), max(mylevels), length.out=n

Re: [R] Log scales

2013-05-18 Thread Uwe Ligges
On 17.05.2013 13:34, Emily Gleeson wrote: Dear All, I have a query about using log scales for filled.contour plots. I have used log values on the x and y axes but labelled the axes with their linear (non-log) values. I's like to do the same with the contour values. I want the range to go from

[R] Log scales

2013-05-17 Thread Emily Gleeson
Dear All, I have a query about using log scales for filled.contour plots. I have used log values on the x and y axes but labelled the axes with their linear (non-log) values. I's like to do the same with the contour values. I want the range to go from -100% to +100%. To use log I just added 1