Re: [R] how to add different type of lines (short dash, long dash) into current plot)

From: Philipp Pagel <>
Date: Mon, 14 Apr 2008 22:59:49 +0200

> I try to add three different lines (solid, short dash, long dash)
> in to current barplot.

Have a look at the lty parameter. It's documented in ?par. If I understand your question correctly, you may also be interested in segments() to actually draw the lines (or maybe abline()).



Dr. Philipp Pagel                              Tel.  +49-8161-71 2131
Lehrstuhl für Genomorientierte Bioinformatik   Fax.  +49-8161-71 2186
Technische Universität München
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany
Institut für Bioinformatik und Systembiologie / MIPS
Helmholtz Zentrum München -
Deutsches Forschungszentrum für Gesundheit und Umwelt
Ingolstädter Landstrasse 1
85764 Neuherberg, Germany

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 14 Apr 2008 - 21:08:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Apr 2008 - 21:30:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive