[R] New user help with plot.default

PaulGaskell p.gaskell at sheffield.ac.uk
Thu Aug 2 16:36:02 CEST 2007


N.B. Margin settings of mar=c(5, 5, 4, 2) + 0.1 were perfect for version
2.5.0

John Kane-2 wrote:
> 
> If I understand the problem then I think that this was
> a mistake on my part.  I had it working and then made
> a stupid change.
> 
> Try
> --------------------------------------------
> axis(2, at=0:3, labels=c("0","1","2","3"))
> 
> # and to make it look pretty
> 
> box()
> 
> -----------------------------------------------------
> 
> 
> --- PaulGaskell <p.gaskell at sheffield.ac.uk> wrote:
> 
>> 
>> I've replied to your email but essentially I just
>> have a problem with the
>> last line below, the "at" and "labels" arguments are
>> different lengths. Also
>> the top edge of the ylabel letters are cut off by
>> the left hand side of the
>> plot frame.
>> 
>> John Kane-2 wrote:
>> > 
>> > # Draw the specific axes.
>> > axis(1, at=1:8, labels=chems)
>> > axis(2, at=0:3, labels=c("1","2","3")
>> > 
>> >
>>
> -------------------------------------------------------
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/New-user-help-with-plot.default-tf4205767.html#a11964917
>> Sent from the R help mailing list archive at
>> Nabble.com.
>> 
>> ______________________________________________
>> R-help at stat.math.ethz.ch 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-help at stat.math.ethz.ch 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/New-user-help-with-plot.default-tf4205767.html#a11965667
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list