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

______________________________________________
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