Skip to content
Prev 285976 / 398502 Next

Plot Many Data to same plot

Hi


If you want to have more than 6 line types you had either to use colours 
or to follow last part of lty advice from par and go to section "Line 
types". In that case you can not sim?ply use lty 1,2,...,n but you have to 
prespecify line types in some character vector and choose from that 
vector.

Quote
Line types can either be specified by giving an index into a small 
built-in table of line types (1 = solid, 2 = dashed, etc, see lty above) 
or directly as the lengths of on/off stretches of line. This is done with 
a string of an even number (up to eight) of characters, namely non-zero 
(hexadecimal) digits which give the lengths in consecutive positions in 
the string. For example, the string "33" specifies three units on followed 
by three off and "3313" specifies three units on followed by three off 
followed by one on and finally three off. The ?units? here are (on most 
devices) proportional to lwd, and with lwd = 1 are in pixels or points or 
1/96 inch. 

However with more than 6 lines in one colour the picture will probably 
resemble mad spider net.
Regards
Petr


r-help-bounces at r-project.org napsal dne 21.02.2012 13:56:53:
same plot
type="l")
{
{
$dataset)
}
datalist[[i]]$dataset$
differentline type.
(in
keep
(like
especially
http://www.R-project.org/posting-guide.html