[R] FW: how to change the margins of a plot area
Lathouri, Maria
m.lathouri06 at imperial.ac.uk
Sun Mar 13 19:47:09 CET 2011
Dear all
I am sorry about that; I thought that since in R csv formats are acceptable, it will be here as well. I have attached it in a text format.
I hope now it is better.
Thank you
Maria
________________________________________
From: David Winsemius [dwinsemius at comcast.net]
Sent: 13 March 2011 18:24
To: Lathouri, Maria
Subject: Re: [R] how to change the margins of a plot area
Please read the Posting Guide and note that ".csv" files are NOT
mentioned as one of the acceptable formats for attachments to postings!
On Mar 13, 2011, at 1:00 PM, Lathouri, Maria wrote:
> Dear all
>
> I have attached a file in a csv format, with two variables; the code
> that I am using to plot the boxplots is
>> boxplot(ALKY, CL, ylab="Concentration", lwd=0.7, boxwex=0.4)
>
> I hope this will help.
>
> Thanks
> Maria
>
> ________________________________________
> From: John Kane [jrkrideau at yahoo.ca]
> Sent: 13 March 2011 13:19
> To: r-help at r-project.org; Lathouri, Maria
> Subject: Re: [R] how to change the margins of a plot area
>
> Hi Maria,
> I think we need some sample data and code to really be ablo to help.
>
> in the meantime have have a look at ?par for general plotting info.
>
> --- On Sun, 3/13/11, Lathouri, Maria <m.lathouri06 at imperial.ac.uk>
> wrote:
>
>> From: Lathouri, Maria <m.lathouri06 at imperial.ac.uk>
>> Subject: [R] how to change the margins of a plot area
>> To: "r-help at r-project.org" <r-help at r-project.org>
>> Received: Sunday, March 13, 2011, 8:15 AM
>> Dear all,
>>
>> I am ploting two boxplot of two chemical variables using
>> the format
>> boxplot(Alkalinity, logAlkalinity, log="y",
>> col=c("lightblue"), lwd=0.6, boxwex=0.3)
>>
>> However when I plot like this, the distance between the two
>> boxplots is very big and as well the distance of each
>> boxplot from the plot area, left and right. How can I
>> minimise that distance between the boxplots and as well the
>> distance of each boxplot from the left and right margin of
>> the plot area?
>>
>> Another question is that when I write in the above
>> ylab="Concentration", I get in the y axis as well in each
>> tick and a number. How can I not have this but only the
>> text?
>>
>> Thank you.
>>
>> Kind regards
>> Maria
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at 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-help at 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.
David Winsemius, MD
West Hartford, CT
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: example.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110313/5f6f6857/attachment.txt>
More information about the R-help
mailing list