Re: [R] ggplot & annotating charts

2008-11-04 Thread Gabor Grothendieck
Note that even without substantial changes the code could be shortened by making use of read.zoo and other items illustrated below: library(zoo) vix.url <- "http://www.cboe.com/publish/ScheduledTask/MktData/datahouse/vixcurrent.csv"; v <- read.zoo(vix.url, header = TRUE, sep = ",", format = "%m/

Re: [R] ggplot & annotating charts

2008-11-04 Thread hadley wickham
Hi Simeon, Could you publish vixarchive.csv too please? Do you have a start on the version in ggplot2? It would be useful to see that code too. Hadley On Tue, Nov 4, 2008 at 8:49 AM, simeon duckworth <[EMAIL PROTECTED]> wrote: > Dear "R-listers" > > I've been trying to figure out how to annotat

[R] ggplot & annotating charts

2008-11-04 Thread simeon duckworth
Dear "R-listers" I've been trying to figure out how to annotate charts in ggplot (ie add text to line charts, highlighted boxes etc). By and large, I can get close to what i want with base graphics, but would ideally like to use ggplot whenever possible (additionally, i would like to add text lab