|
From: Tristan S. <tri...@gm...> - 2012-12-04 13:59:09
|
Hi all, I'm just getting started with matplotlib and am having a few problems producing a simple bar graph. The code I'm writing to produce this can be found here: http://pastebin.com/T0WA2dh8 The issues I'm having are as follows: - The bars in my graph do not show as filled blue after I make the the y axis logarithmic. How do I stop this from occurring. - Each bar needs "centring" - they are arranged to the left of where I'd like them to be currently. - I'd like each of the ticks on the x axis centred beneath each of the bars. - I'm struggling to position text neatly above each of the bars - I've managed to position text well horizontally but not vertically. The log scale is making it hard for me to work out where to position them. - I'd like numbers in normal integer form not 10 to power form on the y axis. Also how do I label each axis? Any help offered will be very much appreciated. Cheers, Tristan |