|
From: Harald H. <h.h...@tu...> - 2005-10-24 18:06:59
|
On Sun, 23 Oct 2005, Ethan A Merritt wrote:
> On Sunday 23 October 2005 03:00 pm, Harald Harders wrote:
> > float a = 0.0;
> > if (a == 0) ...
> >
> > always is true? I don't think so.
>
> IEEE standard guarantees this. Even in the case that an architecture
> can represent both +0 and -0, it is required that +0 == -0.
Good to hear. But as Petr sais, this does not count for angles
that are multiples of 90 deg. Thus, I think it is the saves way to
introduce a range in the test for horizontal or vertical texts.
> >> The only place a rotation angle gets set is in parse_label_options().
> > I find more: 3555, 4020
>
> True. This may be telling us that these places
> ("set tics" and "set {xyz}tics") should call parse_label_options()
> rather than duplicating the code locally.
Independent of this problem, yes.
> > Sooner or later, this will also have to be added in line 3715 (by the
> > way, funny that there still are texts not rotatable by arbitrary
> > angles).
>
> You want to rotate the time-stamp? That seems a little bit overboard.
> If you really want to write the data on a plot in a fancy font or
> rotated text, you can easily use some variant of set label "`date`".
I think all text objects should be handled equally. Thus, every text
object should be rotatable. This would eas handling and documentation. We
could say 'Text can be rotated by using the option `rotate by`'. If you or
I find it useful to rotate a specific type of text does not matter there.
With your argument that I could use an ordinary label I also could say
that the function timestamp was useless.
> > Another thing could be thought of:
> > Terminals that can only set term horizontally or vertically should
> > switch from horizontal to vertical text when exceeding 45 degrees, not
> > when going from zero to one. What do you mean?
>
> I think that if someone really wants 45 degree text, they will be
> equally unhappy with either 0 or 90.
45 Degrees was an arbitrary example. A user that gives 10 deg will be more
happy with horizontal text than with vertical text. And vertical text is
what happens at the moment.
Best regards
Harald
--
Harald Harders
h.h...@tu...
http://www.harald-harders.de
|