Message-ID: <d0f55a670803230749g7bb05dc4p276a6597a5208ec6@mail.gmail.com>
Date: 2008-03-23T14:49:05Z
From: Thomas Steiner
Subject: intraday OHLC plot
In-Reply-To: <971536df0803220507q459ed3laf4fcad74ba7a025@mail.gmail.com>
Dear Gabor and Jeff,
thanks for your hint! I tried it out and played around but could not
succeed completely:
> library(quantmod)
> raw=read.table(file="eurusd-id.csv",sep="\t",dec=",",header =T)
> date.d=as.POSIXct(raw$Date..GMT)
> z=zoo(cbind(raw$Open,raw$High,raw$Low,raw$Close),order.by=date.d)
> q <- as.quantmod.OHLC(z, col.names = c("Open", "High", "Low", "Close"))
> barChart(q,show.vol=F, show.grid=F,theme="white",name="EURUSD Intraday data",up.col="black",dn.col="black",xlab="time",ylab="FX")
Fehler in as.graphicsAnnot(labels) : objekt "x.labels" nicht gefunden
So it does not find the object "x.labels"... I just fould in the
pdf-documentation that this should be of type character.
Perhaps you know why it fails,
Thomas