[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How can I align X axis tickers of all subplots in a figure?
From: |
Boris Ljevar |
Subject: |
How can I align X axis tickers of all subplots in a figure? |
Date: |
Thu, 15 Jan 2009 00:38:06 +0100 |
Depending on the range of Y axis, X axis of different subplots can
become shorter or longer, although the X axis is common for all subplots
and always has the fixed range.
I shall try to illustrate the problem. Suppose two graphs shown below
are plotted as subplots in a figure.
| | | |
0.8 |----------------------------------
| | | |
0.6 |----------------------------------
| | | |
0.4 |----------------------------------
____|__________|__________|__________|_
|0 |1 |2 |3
| | | |
-10000 |-------------------------------
| | | |
| | | |
-20000 |-------------------------------
| | | |
| | | |
-30000 |-------------------------------
_______|_________|_________|_________|_
|0 |1 |2 |3
Please notice that in both graphs X axis has the same range 0-3.
Please also notice that one axis is more compressed than the other.
These two graphs are places in a single figure for easier viewing and
comparison. However due to misalignment of the X axis the comparison is
difficult.
Is there a way to align the X axis values?
operating system: linux openSUSE 11.0
octave version: 3.0.2-2.1 (i586)
gnuplot version: 4.2.3-27.1 (i586)
- How can I align X axis tickers of all subplots in a figure?,
Boris Ljevar <=