Greetings, R Aficionados:

 

I'm running R2.6.2 on a DELL WinXP box with 2 Gig RAM.

 

My package GDD renderings of dashed lines aren't dashed.  abline() will
produce a dashed line, but lines() won't.  Here is some illustrative code:

 

library(GDD)

GDD("dashed line", type="gif", width=480, height=480) 

par(mar = c(4.5, 5, 2.5, 1) + 0.1) 

plot(x=1:10, y=1:10, pch=16, las=1) 

abline(a=0, b=1, lty=2) 

lines(x=seq(1,10, length=2), y=1+seq(1,10, length=2), col="red", lty=2)

dev.off()

 

I experimented with the lines() length parameter thinking that perhaps
having too many line segments was the problem, but even with length=2 the
lines are not dashed.

 

Any suggestions?

 

Charles Annis, P.E.

 

[EMAIL PROTECTED]

phone: 561-352-9699

eFax:  614-455-3265

http://www.StatisticalEngineering.com

 

 


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