Fredag 13. juli 2007 skreiv hadley wickham:

> There's no official way to do it, but you can "hack" the colour
> gradient scale to do what you want:
>
> # Create a modified scale
> gr <- scale_fill_gradient2()$clone()
> gr$breaks <- function(.) seq(-100, 100, by=10)

Thank you so much. It works perfectly.

-- 
Karl Ove Hufthammer

______________________________________________
[email protected] 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.

Reply via email to