Hi all,

I want to draw dot plots for 2 rows in a matrix separately but want to
have them close to each other.

For example, I have a matrix a:

> dim(a)
[1] 319   2

and then transpose it to matrix b

> b<-t(a)
> dim(b)
[1]   2 319

So I want to draw dot plots for these two rows separately but want them
close
to each other so that I am able to cross-compare each other. If they can
only
be drawn in a single figure, I want them be represented by different colors
so
that I could distinguish them.

I tried:

dotchart(b,xlim=c(0,100))

but it is not what I want actually.

Thanks for your suggestions!

Best,
    Allen

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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