Dear goffart,
I would try adjust both ranges to a symmetrical positive / negative range,
otherwise I cannot see how to get where you want to get to:
set yrange [-100:100]
set y2range [ -1:1]
will give you the same "zero" in "graph" coordinates. But how can you expect
the position of "zero" to be identical given that one range starts at zero
whereas the other range starts at -100?
Say, Y = [ y_1:y_2 ] be the range of y-values you use, Y2 = [ y2_1:y2_2 ] be
the range of y2-values you use, then "0" will be at the same "graph" position
if:
- 0 is within y_1, y_2 and y2_1, y2_2, respectively and
- y_2/y_1 = y2_2/y2_1
hope this helps,
or I got you entirely wrong,
take care
Dieter Jurzitza
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------Am Donnerstag, 29.
Mai 2008 20:07:23 schrieb goffart:
> Hi,
>
> I'm trying to plot two sets of data into a histogram. The fist set has
> values between 0 to 100, the second set has values between -100 to +100.
******
|