Hi everyone,

I'm trying to reduce the font size in the Y  exe in this plot:

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150

Anyone knows how to do it?
I have checked the argument lab.cex and cex, but any of these works!

if you want to check us this code:



### read the data
d <- read.csv(  file( "http://addictedtor.free.fr/graphiques/data/150/data.txt"; 
) ) ### workaround so that lattice does not order bank names alphabetically
d$bank <- ordered( d$bank, levels = d$bank ) ### load lattice and grid
require( lattice )
require( grid ) ### setup the key
k <- simpleKey( c( "Q2 2007",  "January 20th 2009" ) )
k$points$fill <- c("lightblue", "lightgreen")
k$points$pch <- 21
k$points$col <- "black"
k$points$cex <- 1 ### create the 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 ) ) } ) 
Thank you in advance!
José

        [[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