From: Michael Stern on
For a project on which I am currently working, I am using ListPlot[] (actually DateListPlot[]) with Filling towards the axis. I am not sure what effect you are trying to achieve, but you may find this technique useful. The particular options on which I am relying are Filling -> Axis, FillingStyle -> {{Red, AbsoluteThickness[5]}, {Black, AbsoluteThickness[10]}}, which creates the appearance of a bar chart where bars above the axis are thicker and black, bars below the axis are thinner and red.

Good luck,

Michael Stern
Merrin Capital Management


On Jun 19, 2010, at 7:46 AM, Michael A. Gilchrist wrote:

> Hello,
>
> I'm working with some discrete probability functions and plotting them using
> ListPlot. Given the nature of the function, I believe its clearest to
> represent the values using bars rather than points. I know there's a BarChart
> function, but it isn't as easy to use (e.g. you can't just give it a list of
> x, y coordinates and you can't easily have overlaying datasets, they sit next
> to each other).
>
> I'm wondering if anyone else has run into this problem and/or has any
> suggestions on how to solve it. For example, are there options I can set that
> will give me the desired behavior?
>
> Thanks for your time in this matter,
>
> Sincerely,
>
> Mike
>

From: David Park on
The Presentations package has a UnitBar primitive. You can create bars with
the various characteristics of the bars in BarChart, and then scale and
transport them to whatever locations you wish. You could have horizontal
bars, or put the bars on the perimeter of a circle or whatever. You could
combine them and tailor them as you wish and easily combine with other
graphics.


David Park
djmpark(a)comcast.net
http://home.comcast.net/~djmpark/



From: Michael A. Gilchrist [mailto:mikeg(a)utk.edu]

Hello,

I'm working with some discrete probability functions and plotting them using

ListPlot. Given the nature of the function, I believe its clearest to
represent the values using bars rather than points. I know there's a
BarChart
function, but it isn't as easy to use (e.g. you can't just give it a list of

x, y coordinates and you can't easily have overlaying datasets, they sit
next
to each other).

I'm wondering if anyone else has run into this problem and/or has any
suggestions on how to solve it. For example, are there options I can set
that
will give me the desired behavior?

Thanks for your time in this matter,

Sincerely,

Mike



First  |  Prev  | 
Pages: 1 2
Prev: color legend
Next: Setting PageSize and PaperSize