Re: [R] font.lab and font.axis

2010-10-25 Thread Łukasz Ręcławowicz
W dniu 25 pa¼dziernika 2010 13:14 u¿ytkownik Jim Lemon
napisa³:

> On 10/25/2010 08:02 PM, £ukasz Rêc³awowicz wrote:
>
>>
>>
>> 2010/10/25 Jim Lemon mailto:j...@bitwrit.com.au>>
>>
>>
>>  Would someone like to suggest a better way to get "axis" to look
>>at the font it's supposed to be using?
>>
>>
>> Are you looking for something like this?
>>
>> x<-rnorm(100)
>> hist(x,axes=F,font.lab=12,font.main=9)
>> axis(1,font.axis=4)
>> axis(2,font.axis=3)
>> --
>>
> Something like that, except that I was thinking of a "par" command that
> would affect subsequent calls to "axis", not as an argument to the function
> itself.
>
> Jim
>

Could you give an example code which doesn't work with par()?

-- 
Mi³ego dnia

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


Re: [R] font.lab and font.axis

2010-10-25 Thread Łukasz Ręcławowicz
2010/10/25 Jim Lemon 

>  Would someone like to suggest a better way to get "axis" to look at the
> font it's supposed to be using?


Are you looking for something like this?

x<-rnorm(100)
hist(x,axes=F,font.lab=12,font.main=9)
axis(1,font.axis=4)
axis(2,font.axis=3)
-- 
Mi³ego dnia

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


[R] font.lab and font.axis

2010-10-25 Thread Jim Lemon

Hi all,
In the course of ongoing improvement of plotrix, I was alerted to the 
fact that setting, e.g.:


par(font.lab=3, font.axis=3)

only seems to work for "plot" (and maybe other functions), but not for 
"axis".


par(font=3)

works for everything (except the title, which is probably specified 
separately), but there are probably situations in which someone doesn't 
want to change all of the text on the plot. Would someone like to 
suggest a better way to get "axis" to look at the font it's supposed to 
be using? Thanks.


Jim

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