|
From: Ethan M. <merritt@u.washington.edu> - 2008-07-09 18:42:27
|
On Wednesday 09 July 2008 02:58:05 Christian wrote:
> Hello,
>
> I tried the histogram function with gnuplot. I have positive and negative
> values. I would expect that negative values will be start from zero but in
> the opposite direction as the positive values.
They do, yes.
set style plot histogram cluster
set auto y
plot 'foo' (column(1)), 'foo' (-column(1))
gives you one bar going up and one bar going down for each entry.
> I would also expect this for the stacked histogram.
That would make no sense. It is not possible to mix positive and negative
values in a stacked histogram. The resulting represenation has no
unique interpretation. In a nutshell, the plot would be useless.
> But gnuplot does not work this way.
>
> Is this a bug? Will this be changed in the future.
No bug that I know of.
If you have a script that mis-behaves, please provide the script.
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|