From: John H. <jdh...@ac...> - 2004-08-03 13:06:28
|
>>>>> "Peter" == Peter Groszkowski <pgr...@ge...> writes: Peter> Yes, thanks. Just one more question. Recently (in the last Peter> couple of versions I think), there has been a change and Peter> now the 'o' line markers (circles) are filled in by Peter> default. For example: Peter> plot(xp,yp,'ok') Peter> gives sold black circles. Just do >>> plot(x, y, 'ok', markerfacecolor=None) This raises the question of what the default behavior of plot should be. If you say >>> plot(x, y, 'ro') should the red apply to the facecolor, edgecolor, or both? Both is the current behavior, which I think is in accord with the principal of least surprise. If it should apply to only one, say the edge color, the facecolor would fall back on lines.markerfacecolor. I could add some aliases like mfc=markerfacecolor, ec=edgecolor, lw=linewidth if people often find themselves overriding the defaults and think these are useful shortcuts. I've already added these to the rc command, and adding them to the lines/patches classed would be easy. JDH |