[R] advanced plotting

Romain Francois rfrancois at mango-solutions.com
Fri Nov 10 01:15:20 CET 2006


downunder wrote:
> !urgent! Hi all. I am facing a problem plotting a indicatormatrix to
> visualize the pattern. Matrix consist from 1's and  0's. 
>
>  for example x <- matrix(c(0,0,1,0, 1,1,1,1, 0,0,0,1, 1,0,1,1), nrow = 4,
> ncol=4)    
>  an i want to have a plot like
>
>   |     .
>   | . . . .
>   |       .
>   |  .  . .  
>   |_______>
>
>   I thinking of somethink like a for loop, which creates a data point
> whenever a data point in x[i,j]=1. Anybody  
>  can give me a hint or has an idea how to do this???? thanks in advance for
> every help. Lars
>   
>   
?image

-- 
*mangosolutions*
/data analysis that delivers/

Tel   +44 1249 467 467
Fax   +44 1249 467 468



More information about the R-help mailing list