!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 -- View this message in context: http://www.nabble.com/-R--advanced-plotting-tf2605043.html#a7269085 Sent from the R help mailing list archive at Nabble.com.
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
Hi all. I need some help. I have to plot so many observation in a coordinate system that you can't see really much. Is there any possiblilty in R to reduce the size of a plotted point? In the plot command i could find a solution. plot(....,type = "p" ,..) thanks in advance lars -- View this message in context: http://www.nabble.com/-R--advanced-plotting-tf2681625.html#a7479700 Sent from the R help mailing list archive at Nabble.com.
Try> plot(..., pch='.')Or look at the hexbin package, or look at the article by Paul Murrell in the 2nd R-newsletter of 2004 for an example of using partially transparent points. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at intermountainmail.org (801) 408-8111 -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of downunder Sent: Tuesday, November 21, 2006 1:55 PM To: r-help at stat.math.ethz.ch Subject: [R] advanced plotting Hi all. I need some help. I have to plot so many observation in a coordinate system that you can't see really much. Is there any possiblilty in R to reduce the size of a plotted point? In the plot command i could find a solution. plot(....,type = "p" ,..) thanks in advance lars -- View this message in context: http://www.nabble.com/-R--advanced-plotting-tf2681625.html#a7479700 Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help at stat.math.ethz.ch 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.