[R] filled plot symbols

Bill Simpson wsi at gcal.ac.uk
Wed Oct 18 10:21:10 CEST 2000

On Wed, 18 Oct 2000, Ross Ihaka wrote:

> The present plotting symbols resulted in a haphazard way.  The initial
> few provide compatibility with S, and the filled ones were added as an
> experiment.  I think that the filled symbols are a good idea, but
> there needed to be a more systematic implementation (and the ability
> for users to add their own glyphs).
This sounds great. Wouldn't a simpler set-up have a few basic
symbols (circle, square etc) and then you specify if you want it filled
with white, black etc? Therefore we'd have something like

fillable/opaque symbols
(when using these specify bg, will default to white)
0 square
1 circle
2 triangle up
move + (old 3) and X (old 4) which are unfillable
3 diamond
4 triangle down

unfillable/transparent symbols
5 +
6 x
7 square and x
8 + and x
9 + and diamond
10 + and circle
11 triangle up and down
12 circle and x
13 square and +
14 square and triangle up

end (omit the rest of current symbols)

> Reworking the graphics is going to be the major focus of what I'm going
> to be doing over this (southern) summer.  Plotting symbols will be part
> of this.  I want to take a close look at legend/key as well.
> One way of not having lines pass through the plotting points is to use
> type="b" (both lines and points).
> This does leave a gap around the symbols which may be not what you want.
I (and journals I publish in) don't like this style.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list