~ubuntu-branches/ubuntu/oneiric/latticeextra/oneiric

« back to all changes in this revision

Viewing changes to man/horizonplot.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2011-05-13 15:40:08 UTC
  • mfrom: (1.4.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110513154008-ogqy8zo6elhazff4
Tags: 0.6-16-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
  infolayers
218
218
 
219
219
 
 
220
## use ylab rather than strip.left, for readability.
 
221
## also shade any times with missing data values.
 
222
horizonplot(dat, horizonscale = 10, colorkey = TRUE,
 
223
            layout = c(1,12), strip.left = FALSE,
 
224
            ylab = list(rev(colnames(dat)), rot = 0, cex = 0.7)) +
 
225
  layer_(panel.fill(col = "gray90"), panel.xblocks(..., col = "white"))
 
226
 
 
227
 
220
228
## illustration of the cut points used in the following plot
221
229
xyplot(EuStockMarkets, scales = list(y = "same"),
222
230
  panel = function(x, y, ...) {
235
243
  })
236
244
 
237
245
## compare with previous plot
238
 
horizonplot(EuStockMarkets, strip.left = TRUE, 
239
 
            scales = list(y = list(relation = "same")),
240
 
            origin = 4000, horizonscale = 1000, colorkey = TRUE) +
 
246
horizonplot(EuStockMarkets, colorkey = TRUE,
 
247
            origin = 4000, horizonscale = 1000) +
241
248
  infolayers
242
249
 
243
250
## a cut-and-stack plot; use constant y scales!