[R] changing default labels of axis in ts plots

2004-09-01 Thread javier garcia - CEBAS
Hi;
I'm in Spain and my locale and tz are the spanish one, and I'm using plot() 
with irregular time series. And I would like to change the default labels in 
x and y axis:

1) The labels of months in the x axis of the plots appear in Spanish -  
c(Enero,Febrero,...) - and I would like them to appear in English - 
c(January,February,...) - without changing the locale settings of my 
computer.

2) Also, the labels refers to local time and I would like them to appear in 
UTC (GMT) time.

I've tried, in several ways, to pass the format and timezone GMT to the 
plot, with no result.

Could these defaults be changed without a big effort?

Thanks and best regards

Javier G.

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] changing default labels of axis in ts plots

2004-09-01 Thread Prof Brian Ripley
On Wed, 1 Sep 2004, javier garcia - CEBAS wrote:

 Hi;
 I'm in Spain and my locale and tz are the spanish one, and I'm using plot() 
 with irregular time series. And I would like to change the default labels in 
 x and y axis:
 
 1) The labels of months in the x axis of the plots appear in Spanish -  
 c(Enero,Febrero,...) - and I would like them to appear in English - 
 c(January,February,...) - without changing the locale settings of my 
 computer.
 
 2) Also, the labels refers to local time and I would like them to appear in 
 UTC (GMT) time.
 
 I've tried, in several ways, to pass the format and timezone GMT to the 
 plot, with no result.
 
 Could these defaults be changed without a big effort?

?locales in R, set TZ with Sys.putenv.  Your process does not have to have 
the same settings as `my computer'.

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html