|
From: Harald H. <h.h...@tu...> - 2004-10-27 20:57:09
|
On Wed, 27 Oct 2004, Ethan Merritt wrote: > On Wednesday 27 October 2004 01:32 pm, Harald Harders wrote: > > > Well, not exactly nonsense. For example, say I want to have my x-axis > > > tic titles at an angle, and I want the end of the words to line up right > > > below the tic marks. I think that requires vertical alignment. > > > > I did not mean that is was nonsense to have a vertical alignment when > > using rotated text. But it is surely nonsense if the text is rotated by an > > angle that leads to an overlap of these lines. Simply try this: > > set label "first line\nsecond line" at 0,0 rotated by 85 > > Don't you agree that this behaviour is bad? > > Not really. It just means you need more spacing between the lines. > OK, 85 degrees is a bit extreme. But 60 degrees works just fine: > > set label "first line\n\nsecond line" rotate by -60 > > Or maybe I'll code up a user preference setting for line spacing. > That is, how much vertical space is implied by an embedded "\n" > 'set line_spacing <foo>' > term.c (write_multiline): > y += user_prefs.line_spacing * t->v_char > where right now line_spacing is always 1.0 I think it is also important that the user gets control if he wants vertical or horizontal aligmnent resp. at which angle the axis switches. -- Harald Harders h.h...@tu... http://www.harald-harders.de |