ARGGH! I knew I was missing something simple!! It was just too obvious.  

Many thanks.

--- On Mon, 8/24/09, David Winsemius <dwinsem...@comcast.net> wrote:

> From: David Winsemius <dwinsem...@comcast.net>
> Subject: Re: [R] plotting a grid with grid() ?
> To: "John Kane" <jrkrid...@yahoo.ca>
> Cc: "R R-help" <r-h...@stat.math.ethz.ch>
> Received: Monday, August 24, 2009, 5:14 PM
> 
> On Aug 24, 2009, at 4:10 PM, John Kane wrote:
> 
> > I am trying to come up with a way of shading-in a grid
> for a simple pattern
> > 
> > So far I can draw a square where I want but I cannot
> seem to draw a complete grid. I am just drawing them along
> the diagonal!!
> > 
> > Clearly I am missing something simple but what?
> > 
> > Any suggestions gratefully accepted.
> > 
> > Example
> >
> #====================================================================
> > op <-  par(xaxs="i", yaxs="i")
> > plot(c(1, 11), c(1,11), type ="n", xlab="", ylab="")
> 
> # and of course you suggested using grid() so ...
> 
> grid(10,10, col="blue")
> 
> > par <- op
> > 
> >
> #=====================================================================
> 
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
> 
> 


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to