Re: [R] aligning image with bar plot in the same plot

2012-07-17 Thread Luís F
Dear Uwe, Dear List, This is exactly it. I knew there had to be an easier way. And I had even looked up in par for it! Knowledge is a beautiful thing; thank you so much. > On Tue, Jul 17, 2012 at 4:28 PM, Uwe Ligges > wrote: > > Insert > > par(yaxs="i") > > after you are finsihed with the image.

Re: [R] aligning image with bar plot in the same plot

2012-07-17 Thread Uwe Ligges
Insert par(yaxs="i") after you are finsihed with the image. See ?par for details what is does. Uwe Ligges On 17.07.2012 13:13, Tiago R M wrote: Dear Mailing list, I want to plot a matrix using image() and on its side I want to give information to every line of the matrix using colors. I tr

[R] aligning image with bar plot in the same plot

2012-07-17 Thread Tiago R M
Dear Mailing list, I want to plot a matrix using image() and on its side I want to give information to every line of the matrix using colors. I tried to use barplot, but cannot align the two plots. Code below. I succeed in doing what I want using another image() plot, but was wondering whether the