A reproducible example would help us help you, but you probably need to use
the "font" argument, something along the lines of this...

xlab = list("some axis label",cex=1.5,font=4) # 2=bold, 4 = bold italic

Kevin



On Thu, Mar 27, 2014 at 3:57 AM, el_alisio <malnama...@gmx.de> wrote:

> Dear R-users,
>
> I would like to change the font of one specific axis label to bold face in
> each panel. Taking one of Deepayan's plots as an example, how do I change
> "All Postdoctorates" to bold face?
>
> dotplot(prop.table(postdoc, margin = 1), groups = FALSE, index.cond =
> function(x, y) median(x), xlab = "Proportion", layout = c(1, 5), aspect =
> 0.6, scales = list(y = list(relation = "free", rot = 0)), prepanel =
> function(x, y) { list(ylim = levels(reorder(y, x))) }, panel = function(x,
> y, ...) { panel.dotplot(x, reorder(y, x), ...) })
>
> Thank you very much for your help in advance, I truly appreciate it!
>
> Jannes
>
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/lattice-change-font-of-one-specific-axis-label-in-each-panel-tp4687638.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
Kevin Wright

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