Forums | Admin

Discussion Forums: ctioga

Start New Thread Start New Thread
Message: 95493
BY: gilmour page (gilmour-page)
DATE: 2010-12-14 19:43
SUBJECT: Space between histogram bins

 

Hello,

I'm trying to display a histogram with various bins and I have two data sets. I can get it to display each dataset side by side centered on the appropriate bin. But I'd like to have white space between each of bins so the viewer knows they are individual bins.

Here's my code:

ctioga --theme pastel --no-title \
--xrange 45:135 --yrange 0.0:0.38 \
-x 'Grade Percentage' -y 'Percentage of Students' \
--xaxis majornum --xaxis bottom \
--hist y-axis --fill y-axis --fill-transparency 0.4 \
--hist-right 0.5 -l 'Class 1' grades_distribution.data@1:2 \
--hist-left 1.0 -l 'Class 2' grades_distribution.data@1:3


Many thanks!


Thread View

Thread Author Date
Space between histogram binsgilmour page2010-12-14 19:43
      RE: Space between histogram binsgilmour page2010-12-14 21:37
            RE: Space between histogram binsVincent Fourmond2011-01-31 19:53

Post a followup to this message