Hi Jim et al, I want to remove the upper bounding box, I did this by #box()
in the gap.plot function. It still leaves me with two horizontal lines. I would like to remove them also, where are the created within the function? Thanks, this is great, exactly what I need. Cheers On Fri, Aug 30, 2013 at 11:44 AM, Shane Carey <careys...@gmail.com> wrote: > It worked perfectly, your a star!!! > > Thanks > > > On Fri, Aug 30, 2013 at 11:40 AM, Shane Carey <careys...@gmail.com> wrote: > >> Oooff, Right, I will give it a go and see how I get on. >> >> Thanks >> >> >> On Fri, Aug 30, 2013 at 11:17 AM, Jim Lemon <j...@bitwrit.com.au> wrote: >> >>> On 08/30/2013 07:57 PM, Shane Carey wrote: >>> >>>> This is what I put in: >>>> gap.boxplot(DATA$Conductivity~**factor(DATA$UnitName_1),ylim=** >>>> c(LOWER_Y_Conductivity,UPPER_**Y_Conductivity_int),gap=gap_** >>>> Conductivity, >>>> col=colours,outwex=one,**whisklty = >>>> "solid",whisklwd=lwth,outcol= "black", outpch=dtsym, outcex=dtsize, >>>> range=1.5,xlab="",ylab="") >>>> >>>> My aim is to not show the labels at the tick marks as I will add them to >>>> the plot afterwards >>>> >>>> Ah, not the axis labels but the tick labels. This is something I had >>> not put into the function. You can edit the gap.boxplot function to do this >>> by commenting out line 53: >>> >>> # axis(1,labels=bxpt$names,at=1:**nboxes) >>> >>> saving the function (call it gap.boxplot2.R) and "sourcing" the edited >>> function: >>> >>> library(plotrix) >>> source("gap.boxplot2.R") >>> gap.boxplot(...) >>> >>> Remember that you have to load plotrix, _then_ source the new function. >>> Jim >>> >> >> >> >> -- >> Shane >> > > > > -- > Shane > -- Shane [[alternative HTML version deleted]] ______________________________________________ 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.