12.07.2015 Views

GLE User Manual - Fedora Project Packages GIT repositories

GLE User Manual - Fedora Project Packages GIT repositories

GLE User Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.3. BAR GRAPHS 37Planet sizesNeptuneUranusSaturnJupiterMarsVenusMercury0 1 2 3 4 5 6 7 8 9 10 11 12Size relative to EarthFigure 4.12: Illustration of the ‘horiz’ and ‘pattern’ keywords of the ‘bar’ command, and of the ‘angle’option of the ‘yaxis’ command.bar dx,... dist spacingSpecifies the distance between bars in dataset(s) dx,.... The distance is measured from the left handside of one bar to the left hand side of the next bar. A distance of less than the width of a barresults in the bars overlapping.bar dx,... from dy,...This sets the starting point of each bar in datasets dx,... to be at the value in datasets dy,..., and isused for creating stacked bar charts. Each layer of the bar chart is created with an additional barcommand.bar d1,d2bar d3,d4 from d1,d2bar d5,d6 from d3,d4Note 1: It is important that the values in d3 and d4 are greater than the values in d1 and d2.Note 2: Data files for stacked bar graphs should not have missing values, replace the * characterwith the number on its left in the data file.begin graph...data "gc_bean.dat"bar d1 fill gray20bar d2 from d1 fill whiteend graphHeight of stalk54321Bean stalk data085 86 87 88 89 90 91Year measuredbar dn,... width xunits,... fill col,... color col,...The rest of the bar qualifiers are fairly self explanatory. When several datasets are specified, separatethem with commas (with no spaces between commas).bar d1,d2 width 0.2 dist 0.2 fill gray10,gray20 color red,greenbar dn,... fill f pattern pThe ‘pattern’ option specifies the pattern used for filling the bars. Fig. 3.6 gives an overview of thepredefined patterns that can be used here. Fig. 4.12 shows an example of the command ‘bar d2horiz fill red pattern shade2’.bar dn,... horizThe option ‘horiz’ makes the bars horizontal instead of vertical (Fig. 4.12).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!