[R] lattice: Set x-axis in italics only

2010-09-13 Thread Alejo C.S.
Dear list, I making some box-and-whisker plots in R with vertebrate data. The x axis are species names that must be in italics. I tried with the axis function but no luck, and it seems that affects both axes. Any tip? Thanks a lot in Advance. Alej __

Re: [R] lattice: Set x-axis in italics only

2010-09-13 Thread Duncan Mackay
Hi You may need to investigate ?plotmath and ?expression for the italics or possibly add a font=... somewhere Sorry cannot be more help it is too late here Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England ARMIDALE NSW 2351 Email home:

Re: [R] lattice: Set x-axis in italics only

2010-09-13 Thread David Winsemius
On Sep 13, 2010, at 8:50 AM, Alejo C.S. wrote: Dear list, I making some box-and-whisker plots in R with vertebrate data. The x axis are species names that must be in italics. I tried with the axis function but no luck, and it seems that affects both axes. Any tip? In bwplot just add: ...,

Re: [R] lattice: Set x-axis in italics only

2010-09-13 Thread Dennis Murphy
Hi: demo(graphics) has a lot of nice examples of how to use various features - one of them is font selection. font = 3 = italic font = 4 = bold italic You need to select the correct aspect of the plot, however: font.main, font.sub, font.lab or font.axis (from par()). HTH, Dennis

Re: [R] lattice: Set x-axis in italics only

2010-09-13 Thread Alejo C.S.
Thanks all for the excellent help! Kind regards, Alej 2010/9/13 Dennis Murphy djmu...@gmail.com: Hi: demo(graphics) has a lot of nice examples of how to use various features - one of them is font selection. font = 3  = italic  font = 4 = bold italic You need to select the