Hi Boris, Jim, Petr, and David,
I stand corrected; works as desired.
In order to come up with an example I oversimplified my original code
which contained lwd=0 in the legend.
lwd=0 indeed switches the 'borders' of points off.
Case closed.
Helmut
--
Ing. Helmut Schuetz
BEBAC - Consultancy S
on, TX 77840-4352
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of PIKAL Petr
Sent: Monday, February 29, 2016 2:26 AM
To: Helmut Schuetz; r-help@r-project.org
Subject: Re: [R] Color of points in legend() ignored if plotting to PNG
Hi
Works on WXP too.
t; To: r-help@r-project.org
> Subject: [R] Color of points in legend() ignored if plotting to PNG
>
> Dear all,
>
> if I plot to a PNG, the color of filled points (pch 21:25) in legend()
> is ignored (i.e., only the background color is used). It does not
> matter whether I specify the
Works on linux
R version 3.2.3 (2015-12-10)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 23 (Twenty Three)
Jim
On Mon, Feb 29, 2016 at 1:45 AM, Boris Steipe wrote:
> Works for me on Mac OS...
>
> R version 3.2.2 (2015-08-14)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> R
Works for me on Mac OS...
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.9.5 (Mavericks)
[...]
On Feb 28, 2016, at 8:02 AM, Helmut Schuetz wrote:
> Dear all,
>
> if I plot to a PNG, the color of filled points (pch 21:25) in legend() is
> ign
Dear all,
if I plot to a PNG, the color of filled points (pch 21:25) in legend() is ignored (i.e., only the
background color is used). It does not matter whether I specify the default
png(bg="white") or png(bg="transparent").
The example below
x <- rnorm(10)
y <- rnorm(10)
plot(x, y, pch = 21
6 matches
Mail list logo