On Mon, 15-Jun-2009 at 04:23AM -0700, deanj2k wrote:

|> 
|> hi everyone, just wondering how i might go about plotting a graph (say using
|> the plot() function) where my x axis is plotting points which have
|> Log(values) but i want my x axis to display values in exponentiated form
|> 
|> ie. my log values (also scale of the x axis)     x axis displays
|>         -1                                                  exp(-1) = 0.36
|>          0                                                  exp(0) = 1
|>          1                                                  exp(1) = 2.72
|>          2                                                  exp(2) = 7.39  
|> ...etc


Check out the axis function -- particularly the at and labels arguments.

HTH

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_                 Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)                              ..... Eleanor Roosevelt
          
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

______________________________________________
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