|
From: Ted To <rai...@th...> - 2013-11-13 01:02:05
|
Perfect! Many thanks! Seems to be an undocumented feature... Out of curiosity, what is the rationale behind using 'dashed' and 'dashdot' instead of '--' and '-.'? Ted To On 11/12/2013 04:59 PM, Benjamin Root wrote: > > > > On Tue, Nov 12, 2013 at 4:26 PM, Ted To <rai...@th... > <mailto:rai...@th...>> wrote: > > Hi, > > Is there an option to change the line style for the outline of histogram > bars? What I am looking for some something like the attached kernel > density plot. I can set different colors (attached) but this is not > very useful when printing in black and white. > > Thanks, > Ted To > > > You should be able to specify linestyle='dashed' (or 'dashdot', or > 'dotted') when you call hist(). > > I hope that helps! > Ben Root |