Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty= c("10","92","11","12","62","9212","33","19","12529252","7111") however R won't let me use "10" (i.e. solid line) because it contains a zero. I could possibly add the total line in later (using something similar to lines or matlines) and then define the lty as lty=1, but then I have the problem of trying to get the new line into the legend. Does anyone have any ideas about how to combine custom and preset line types? Regards, James http://www.nabble.com/file/p21593760/CRA.gif -- View this message in context: http://www.nabble.com/Combining-Custom-and-Preset-Linetypes-tp21593760p21593760.html Sent from the R help mailing list archive at Nabble.com.
Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty= c("10","92","11","12","62","9212","33","19","12529252","7111") however R won't let me use "10" (i.e. solid line) because it contains a zero. I could possibly add the total line in later (using something similar to lines or matlines) and then define the lty as lty=1, but then I have the problem of trying to get the new line into the legend. Does anyone have any ideas about how to combine custom and preset line types? Regards, James http://www.nabble.com/file/p21593761/CRA.gif -- View this message in context: http://www.nabble.com/Combining-Custom-and-Preset-Linetypes-tp21593761p21593761.html Sent from the R help mailing list archive at Nabble.com.
Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty= c("10","92","11","12","62","9212","33","19","12529252","7111") however R won't let me use "10" (i.e. solid line) because it contains a zero. I could possibly add the total line in later (using something similar to lines or matlines) and then define the lty as lty=1, but then I have the problem of trying to get the new line into the legend. Does anyone have any ideas about how to combine custom and preset line types? Regards, James http://www.nabble.com/file/p21593762/CRA.gif -- View this message in context: http://www.nabble.com/Combining-Custom-and-Preset-Linetypes-tp21593762p21593762.html Sent from the R help mailing list archive at Nabble.com.
Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty= c("10","92","11","12","62","9212","33","19","12529252","7111") however R won't let me use "10" (i.e. solid line) because it contains a zero. I could possibly add the total line in later (using something similar to lines or matlines) and then define the lty as lty=1, but then I have the problem of trying to get the new line into the legend. Does anyone have any ideas about how to combine custom and preset line types? Regards, James http://www.nabble.com/file/p21593768/CRA.gif -- View this message in context: http://www.nabble.com/Combining-Custom-and-Preset-Linetypes-tp21593768p21593768.html Sent from the R help mailing list archive at Nabble.com.
Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty= c("10","92","11","12","62","9212","33","19","12529252","7111") however R won't let me use "10" (i.e. solid line) because it contains a zero. I could possibly add the total line in later (using something similar to lines or matlines) and then define the lty as lty=1, but then I have the problem of trying to get the new line into the legend. Does anyone have any ideas about how to combine custom and preset line types? Regards, James http://www.nabble.com/file/p21593770/CRA.gif -- View this message in context: http://www.nabble.com/Combining-Custom-and-Preset-Linetypes-tp21593770p21593770.html Sent from the R help mailing list archive at Nabble.com.
Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty= c("10","92","11","12","62","9212","33","19","12529252","7111") however R won't let me use "10" (i.e. solid line) because it contains a zero. I could possibly add the total line in later (using something similar to lines or matlines) and then define the lty as lty=1, but then I have the problem of trying to get the new line into the legend. Does anyone have any ideas about how to combine custom and preset line types? Regards, James http://www.nabble.com/file/p21593771/CRA.gif -- View this message in context: http://www.nabble.com/Combining-Custom-and-Preset-Linetypes-tp21593771p21593771.html Sent from the R help mailing list archive at Nabble.com.