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
Using
png("foo.png", 1200, 1200, res=200)
x <- rnorm(10)
y <- rnorm(10)
plot(x, y, pch = 21, cex = 1.5,
xlim = range(x, y) * 1.2, ylim = range(x, y)*1.2,
col = "black", bg = "lightgrey")
legend("topleft", legend = "foo", inset = 0.02,
bg = "white", pch = 21, pt.cex = 1.5,
col =
Hi
Works on WXP too.
platform i386-w64-mingw32
arch i386
os mingw32
system i386, mingw32
status Under development (unstable)
major 3
minor 3.0
year 2015
month 06
day15
svn rev68521
language
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:
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
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 =
6 matches
Mail list logo