Vertical axis ticks and multi-chart alignment
Posted: Mon Sep 20, 2004 4:35 am
2 questions:
1) For an XY chart, can I specify that the vertical axis is at intervals of, say, 0.1 and does not deviate from that, e.g. not 0.05? I do know how to create, say, an integer axis.
2) I have 3 charts in 3 separate panels, each above the other. The timescales should be identical and thus aligned identically. But due to the vertical axes scaling/rounding, on the left and or right sides, the actual chart areas are offset somewhat from true vertical alignment. I envisage a partial solution to this by using JSplitPanes and manually adjusting each one so that the actual chart areas themselves align vertically. Wondering whether there is any better way to do this? Perhaps I can offset the left and right chart areas by a fixed amount, and let the legends occupy the margins both left and right? Then the 3 charts would be perfectly aligned vertically.
TIA
1) For an XY chart, can I specify that the vertical axis is at intervals of, say, 0.1 and does not deviate from that, e.g. not 0.05? I do know how to create, say, an integer axis.
2) I have 3 charts in 3 separate panels, each above the other. The timescales should be identical and thus aligned identically. But due to the vertical axes scaling/rounding, on the left and or right sides, the actual chart areas are offset somewhat from true vertical alignment. I envisage a partial solution to this by using JSplitPanes and manually adjusting each one so that the actual chart areas themselves align vertically. Wondering whether there is any better way to do this? Perhaps I can offset the left and right chart areas by a fixed amount, and let the legends occupy the margins both left and right? Then the 3 charts would be perfectly aligned vertically.
TIA