[R] par(xaxp)

Setzer.Woodrow@epamail.epa.gov Setzer.Woodrow at epamail.epa.gov
Tue Jun 4 22:21:55 CEST 2002


Of course, you are right.  What had originally startled me was that I
was not able to force plot to accept xaxp=c(0,1,4), even if I include it
as an argument to plot:
plot(c(0,1),c(0.2,0.3),xaxp=c(0,1,4)).

I sent my email before my thoughts were quite in order.  Since
plot.default includes "..." as an argument, documented as:
                                                         
 ...  graphical parameters as in par may also be passed  
      as arguments.                                      
                                                         



I assumed I should be able to manually specify xaxp.  The fact that plot
() leaves xaxp reset is a red herring (perhaps I was seeing plot() as
being not only willful but defiant: having a 5-year-old around the house
seems to color my reactions to things of late).  So, the real issue is
the inability to set xaxp for plot() either within or outside of the
call to plot using par().

Of course, there is a simple workaround using xaxt="n", and axis()

R. Woodrow Setzer, Jr.                                            Phone:
(919) 541-0128
Experimental Toxicology Division                       Fax:  (919)
541-5394
Pharmacokinetics Branch
NHEERL MD-74; US EPA; RTP, NC 27711

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list