Re: [R] intraday OHLC plot

From: Thomas Steiner <>
Date: Sun, 23 Mar 2008 15:49:05 +0100

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),
> 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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 23 Mar 2008 - 14:51:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 23 Mar 2008 - 17:30:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive