[R] Dotplot: how to change size in the y lab ?

ilai keren at math.montana.edu
Mon Mar 19 16:20:14 CET 2012


On Mon, Mar 19, 2012 at 7:56 AM, Jose Bustos Melo <jbustosmelo at yahoo.es> wrote:
> Hi everyone,
>
> I'm trying to reduce the font size in the Y  exe in this plot:

> dotplot( bank ~ MV2007 + MV2009 , data = d, horiz = T,
 par.settings = list(  superpose.symbol = list(  pch = 21,  fill = c(
"lightblue", "lightgreen"),  cex = 4,  col = "black"   ) ) , xlab =
"Market value ($Bn)", key = k,  panel = function(x, y, ...){
panel.dotplot( x, y, ... ) grid.text(  unit( x, "native") , unit( y,
"native") ,  label = x, gp = gpar( cex = .7 ) ) } ### add this
, scales=list(y=list(cex=.5))
####
)

Cheers


> Thank you in advance!
> José
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list