Thanks again Fred. With a bit of adjustment as per your helpful info
below, I got the bars to align, cosmetically, just as I hoped.
-Alen
On 8/25/07, Fred Ludlow <[EMAIL PROTECTED]> wrote:
> So, if I understand correctly, this is a cosmetic issue: If you let it
> sort out its own scale, it looks
So, if I understand correctly, this is a cosmetic issue: If you let it
sort out its own scale, it looks a bit ugly when there are a small
number of data points? And using a fixed re-scale of 0-10 isn't too
great either 'cause they're all together at one side of the image... (or
off the edge of
Alen Ribic wrote:
> Thanks Fred.
>
> Thant did the trick. However now, when I have many plots on x axis,
> the last few plot shoot of the end of the x axis. It seems to start
> the plotting the middle move to the right. Do I just have to adjust
> the xlim on the axes[0]? I fiddled with the "align"
Thanks Fred.
Thant did the trick. However now, when I have many plots on x axis,
the last few plot shoot of the end of the x axis. It seems to start
the plotting the middle move to the right. Do I just have to adjust
the xlim on the axes[0]? I fiddled with the "align" parameter, set it
to "center"
Alen Ribic wrote:
> How do I set my vertical bar to be fixed width?
By default, bars are created with a fixed width of 0.8, which can be
changed with the width keyword arg like so:
bar(range(2), range(1,3), width = 0.5)
> Depending on amount of data on my x axis, the bars get created
> accordin
How do I set my vertical bar to be fixed width? Depending on amount of
data on my x axis, the bars get created accordingly and the width gets
adjusted to fit into the graph. If I have only 2 plots on the x axis
then the 2 bars get stretched across the entire graph. Looks very
ugly.
-Alen