The help for par in my version of S-PLUS says
lwd:
line width, device dependent. Width 1 is the standard width for the
device
and you have not told us the device you are using.
In R it says
The line width, a positive number, defaulting to 1. The interpretation
is device-specific, and some devices do not implement line widths
less than one.
so the same comment applies. R does say on the help for each device what
the interpretation is, though. E.g., for the X11 device it says
Line widths as controlled by 'par(lwd=)' are in multiples of the
pixel size, and multiples < 1 are silently converted to 1.
Just which devices are you comparing?
On Sun, 21 Jan 2007, Dennis Fisher wrote:
Colleagues
I am running Splus version 6.0 on a Linux box (RedHat 9). In certain
graphics that I create, I display many lines. In R, setting lwd to a small
number (e.g, 0.2) allows for thin lines. However, with Splus, the lwd
command (my version, my OS) appears to not support lines thinner than 1. Is
this a function of Splus, version, or OS? If the solution is to purchase a
newer version of Splus, I will need to do so. Thanks.
Dennis
Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-415-564-2220
www.PLessThan.com
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
|