Re: [R] Color & pch functionalities in dotchart()

2015-11-03 Thread Bert Gunter
... and see also the "color specification" info in ?par as well as the linked ?palette. You may be wrapping around if yu have more categories than colors in your palette. -- Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- C

Re: [R] Color & pch functionalities in dotchart()

2015-11-03 Thread Duncan Murdoch
On 03/11/2015 8:58 AM, GINGINS Simon wrote: Hi, I am currently building graphs using dochart(). I plotted the points in two different colors according to specific criteria from my dataset. Later, I decided to also give them different symbols, for easier reading if printed. I got quite a surpr

Re: [R] Color & pch functionalities in dotchart()

2015-11-03 Thread Bert Gunter
Look at your code! color was specified as "as.factor..." and pch was specifed as "..." (no as.factor() ) Read an R tutorial on how factors are coded for why this would make a difference. -- Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not

[R] Color & pch functionalities in dotchart()

2015-11-03 Thread GINGINS Simon
Hi, I am currently building graphs using dochart(). I plotted the points in two different colors according to specific criteria from my dataset. Later, I decided to also give them different symbols, for easier reading if printed. I got quite a surprise when I realized that, even though I gave t