Re: [R] NA values for "col"

2021-09-27 Thread Rolf Turner
On Mon, 27 Sep 2021 14:54:53 -0700 Bert Gunter wrote: > ... and also note in the *Color Specification* section of ?par, to > which ?points points, > > "Additionally, "transparent" is transparent, useful for filled areas > (such as the background!), and just invisible for things like lines or > t

Re: [R] NA values for "col"

2021-09-27 Thread Bert Gunter
... and also note in the *Color Specification* section of ?par, to which ?points points, "Additionally, "transparent" is transparent, useful for filled areas (such as the background!), and just invisible for things like lines or text. In most circumstances (integer) NA is equivalent to "transparen

Re: [R] NA values for "col"

2021-09-27 Thread Bert Gunter
?text says "... NA values of font are replaced by par("font"), and similarly for col." Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Sep 27, 2021 at 2:

[R] NA values for "col"

2021-09-27 Thread Rolf Turner
I've just noticed what seems to me to be somewhat peculiar behaviour in respect of how different plotting functions treat a specification "col=NA". Consider: plot(1:10) text(4,6,labels="o",col=NA) points(6,4,col=NA) The symbol produced by the call to text() shows up (is black). The symbol prod