Hello all

I'm trying to create a plot similar to a plot.default(..., type='b') 
with points plotted connected by lines that leave small gaps between the 
end of the line and the point symbol, BUT, with each line segment's 
color controlled by a category. plot... draws the line color uniformly 
according to the first color in a color sequence, ignoring the 
remainder.  I can use segments() to give the proper colors using the x,y 
data, but those segments don't have the small gaps around the symbols. 
Somewhere, somehow, plot... either only draws the shortened segments, or 
draws the full segment, blanks out the space around the the symbol then 
adds the symbol (or, maybe something more sophisticated). Obviously I'm 
not the first to want to do this. Has anyone addressed this?

Regards

David

-- 
David K Stevens, P.E., Ph.D., Professor
Civil and Environmental Engineering
Utah Water Research Laboratory
8200 Old Main Hill
Logan, UT  84322-8200
435 797 3229 - voice
435 797 1363 - fax
david.stev...@usu.edu



        [[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.

Reply via email to