Thank you very much, Grew. It help me a lot, but I still have a doubt. How
can I reduce the height between layout.
I try something as:
layout( rbind( 1,2,c(3,4)), height=c( 2, 0.5, 0.5)), but I don't achieve
reduce it. For example, I need a something as:

*-------------------------------------------------
|                                                |
|        Graph, height from *=2      |
|                                                |
-------------------------------------------------
--------------------------------------------------
     desrip. A, height from *=2+0.5
------------------------ -------------------------
descrip.B                descrip.C
height from *=          height from *=
2+0.5+0.5                2+0.5+0.5

Paint red color is that I want to draw under of my graph.

Thanks.


2007/10/9, Greg Snow <[EMAIL PROTECTED]>:
>
> If your descriptions are just 1 line each then you can give yourself
> extra room at the bottom with par(mar=c(...
> Then use the mtext function to add the descriptions.  If the
> descriptions are more detailed then you can try something like:
>
> > library(gplots)
> > layout( rbind( 1,2,c(3,4) ) )
> > barplot(1:10)
> > textplot('this is the first description', cex=1)
> > textplot('this is the second',cex=1)
> > textplot('and the third',cex=1)
>
> But play with the 'heights' argument to layout to get the heights how
> you want them to be.
>
> Hope this helps,
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> [EMAIL PROTECTED]
> (801) 408-8111
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of akki
> > Sent: Monday, October 08, 2007 3:37 PM
> > To: r-help
> > Subject: [R] How put description under the graph (using
> > different lines)
> >
> > Hello,
> > I need to use barplot' graphs, but under the graph I need to
> > put different things. The structure of this graph must be:
> >
> >                   MY GRAPH
> > ------------------------------------------------------
> >                   description 1
> > -----------------------      -------------------------
> > description2             description3
> >
> >
> > where:
> > -description 1, description 2 and description 3 are  the
> > variables' names that I must to change on my different barplot.
> > -MY GRAPH belongs barplot's graph.
> > The 3 lines (it is paited on sctructure of the graph) must to
> > be painted on my graph.
> >
> > I think it is possible but I don't achieve to do it.  Can
> > anybody help me, please?
> >
> > Thanks.
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > 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.
> >
>
>

        [[alternative HTML version deleted]]

______________________________________________
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