On 04/15/2010 12:36 AM, senne wrote:
hi R gurus
I saw some graphs with vertical band like this one:
http://pragcap.com/wp-content/uploads/2010/04/GS.png
how to draw the blue band in R, can't find any clue to do this,any ideas?
See the source code for nber.xy and
Hi
you can also use abline function
x-rnorm(10)
plot(1:10, x)
abline(v=seq(2,10,2), lwd=50, col=lightblue)
lines(1:10, x, type=b)
Regards
Petr
r-help-boun...@r-project.org napsal dne 19.04.2010 20:59:15:
On 04/15/2010 12:36 AM, senne wrote:
hi R gurus
I saw some graphs with
On 04/15/2010 12:36 AM, senne wrote:
hi R gurus
I saw some graphs with vertical band like this one:
http://pragcap.com/wp-content/uploads/2010/04/GS.png
how to draw the blue band in R, can't find any clue to do this,any ideas?
Hi senne,
The rect function in base graphics can do the job.
hi R gurus
I saw some graphs with vertical band like this one:
http://pragcap.com/wp-content/uploads/2010/04/GS.png
how to draw the blue band in R, can't find any clue to do this,any ideas?
thanks in advance
[[alternative HTML version deleted]]
?rect
On Wed, Apr 14, 2010 at 10:36 AM, senne wase...@gmail.com wrote:
hi R gurus
I saw some graphs with vertical band like this one:
http://pragcap.com/wp-content/uploads/2010/04/GS.png
how to draw the blue band in R, can't find any clue to do this,any ideas?
thanks in advance
There is panel.xblocks() in the latticeExtra package:
http://latticeextra.r-forge.r-project.org/#panel.xblocks
and a corresponding base graphics function xblocks() in the
development version of the zoo package (not in the current CRAN
release).
On 15 April 2010 00:36, senne wase...@gmail.com
6 matches
Mail list logo