conor wilson wrote:
Dear All

I am using the histogram() function to plot two subsets from my data on the
same output display, i.e. there are two histogram plots

My code is:

histogram( ~ Age | Date, layout = c(1, 2),

              xlab = "Age (years)",

strip = FALSE, strip.left = TRUE, col = "black",

border = "white", cex.axis = 1.1, family = "serif", cex.lab = 1.1)

Look at the scales() argument in the documentation of xyplot() to change the cex and other parameters for the axis. E.g.:

    histogram( ~ height | voice.part, data = singer, nint = 17,
              endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1,
              xlab = "Height (inches)",
              scales = list(cex = 3))

cheers,
Paul
However, the cex.axis and family = "" has no impact on the type of font
displayed for the axis labels. I wish to change the font to Times New Roman.
I also wish to change the ticks inwards and remove colour from the left
panel. Should I just use the hist() function?

R version is 2.10.0 on windows XP

Thank you

Conor

Conor Wilson
PhD student
Quercus
School of Biological Sciences
Queen's University Belfast
97 Lisburn Road
Belfast BT9 7BL

 Tel:  +44(0)28 9097 2066
Mob:+44(0)77 3243 2267

Fax: +44(0)28 9097 5877

Email: cwilso...@qub.ac.uk

Web: www.qub.ac.uk/sites/Quercus/AboutUs/Currentstaff/ConorWilson


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


--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul

______________________________________________
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