You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yihui Xie edited this page Dec 18, 2010
·
1 revision
Point Glyphs
To mimic the pch argument in R base graphics? e.g. pch=0 is square, 2 is circle, ...
There is a dilemma. We have two choices to draw points:
qdrawGlyph(): it does not accept vectorized glyphs (e.g. path = 1:10 won't work), but we can use the locate() method to identify graphical elements (e.g. points)
qdrawPath(): just opposite (maybe not exactly)
(Yihui: we can draw glyphs by groups using method 1 above, i.e. use loops to draw points; identifying elements in plots is a rather tedious programming job)