|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-27 20:51:59
|
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 -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |