Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'List plots that look like bar charts' topicStudent Support Forum > General > Archives > "List plots that look like bar charts"

Next Comment >Help | Reply To Topic
Author Comment/Response
Ryan Hoffman
06/28/04 5:58pm

Hiya:

I can plot a series of X,Y values, for N data, with:

ListPlot[list]
list = { {x1,y1}, ... ,{xN,yN} }

Which is, of course, spectacular, but not what I want.

Instead of points, I want a rectangle that extends from the Y coordinate to the X axis. Like with BarChart, but with two variables per datum.

My only ideas are a) describing a graphics primitive for each point (ugly option) or b) improving my ability to use BarChart towards this end. So I hope someone can spoonfeed me (b) or a solution I'm not aware of. Or a shell script to do (a)!

Thanks,

Ryan

URL: ,

Subject (listing for 'List plots that look like bar charts')
Author Date Posted
List plots that look like bar charts Ryan Hoffman 06/28/04 5:58pm
Re: List plots that look like bar charts Henry Lamb 06/30/04 02:18am
Next Comment >Help | Reply To Topic