Skip to content
Prev 5896 / 15274 Next

Plotting intraday time series with ggplot2

Not really a finance question, so that would explain the lack of
helpful replies.

Ask again on R-help.

For time-series plots, take a look at both plot.zoo and to a lesser
extent (less function, but different design) plot.xts.  You can coerce
most time-series with as.zoo or as.xts.

These two will utilize the underlying time index 'gaps'.

For something closer to financial charting software in R, take a look
at quantmod's chartSeries and unexported (so far) chart_Series.

http://www.quantmod.com/examples/

The site is getting a little dated, but the functionality is the same.
 These plots will not leave spaces (i.e. the ignore the time for all
but the axis labeling, and internal data alignment)

HTH
Jeff
On Tue, Mar 30, 2010 at 6:07 AM, Chris Masters
<christopher.masters at gmail.com> wrote: