Re: [Matplotlib-users] Column graph with variable width

2010-02-26 Thread Wai Yip Tung
I managed to generated the chart I want by twisting the hist() function. I chart and source code can be found here: http://tungwaiyip.info/blog/2010/02/26/visualization_using_variable_width_bar_chart If you have any comment on my method it will be greatly appriciated. Wai Yip > I want to pla

[Matplotlib-users] Column graph with variable width

2010-02-25 Thread Wai Yip Tung
I want to plat a column graph with variable width. The size of both axis have meaning. The Y-axis is the density. The X-axis is the size. Let's say it is a graph of world population by country. Say China has 1 billion people occupying an area of 1 km2. And Japan has 0.1 billion people o