Hi This is an ad-hoc fix.. d<-rnorm(4) plot(1:4,d) g<-3; rug((1:4),ticksize=-.03,lwd=g,side=1) rug((1:4),ticksize=0,lwd=(g-1),side=1,col="white")
just drawing another white axis on top of the old one.. it looks ok :) y maiya wrote: > > Hi! > > (a complete newby, but will not give up easily!) > > I was wondering if there is any way to decouple the axis and tick mark > widths? As I understand they are both controlled by the lwd setting, and > cannot be controlled independently? For example I might want to create > major and minor ticks, which I now know how to do by superimposing two > axes with different at settings, but what if I also wanted the major ticks > to be thicker? or a different colour? > You might find this nitpicking, but I am particularly concerned about > rug(), which passes to axis(), in that I cannot get a decent thick-lined > rug, without the horizontal line also becoming equally thick. > Is there any way to do this without having to resort to segments? > > Tnx! > ----- Yasir H. Kaheil, Ph.D. Catchment Research Facility The University of Western Ontario -- View this message in context: http://www.nabble.com/axis-and-tick-widths-decoupled-%28especially-in-rugs%21%29-tp17068508p17070684.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.