[R] high-density vertical lines

ben@zoo.ufl.edu ben at zoo.ufl.edu
Wed Dec 20 21:10:54 CET 2000


  If you're sending this to a PostScript file you can (at your own risk!)
hack .ps.prolog ...

> .ps.prolog[30]
[1] "1 setlinecap 1 setlinejoin"
> .ps.prolog[30] <- "0 setlinecap 1 setlinejoin"
> postscript(file="tmp2.ps")
> plot(x,type="h",lwd=10)
> dev.off()

(Setting "setlinecap" from 1 to 0 changes from a rounded end cap to a
"butt" end cap.)

On Wed, 20 Dec 2000, Michael Herron wrote:

>
> Hello.
>
> > x_c(1,2,5,7)
> > plot(x,type="h",lwd=10)
>
> produces for me a plot where the tops of the high-density lines are
> rounded.  Is there a way to get the high-density lines so that their
> tops are flat?
>
> Thanks,
>
> Michael
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
318 Carr Hall                                bolker at zoo.ufl.edu
Zoology Department, University of Florida    http://www.zoo.ufl.edu/bolker
Box 118525                                   (ph)  352-392-5697
Gainesville, FL 32611-8525                   (fax) 352-392-3704

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list