Hi,
I am trying to use rect (R2.11) to plot a set of data as following

Company

Pt

Pri

Pub

A

W200

4/5/2009

3/11/2010

B

W293

2/30/2003

3/24/2005

A

W258

2/8/2008

8/17/2010

C

W248

5/13/2009

1/2/2010



%y <- seq(0,0.5*(length(company)-1),0.5)
%h <- 0.1
%rect(pri, y-h, pub, y+h, col=c("light blue","pink","yellow","red"))

I wonder if there is a good way to deal with the date conversion so the x-axis can reflect the actual time range.

Thank you,
Eric



	[[alternative HTML version deleted]]

