[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, gtk3, updated. v0.8.4-201-gf89d8a8
From: |
Friedrich Beckmann |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, gtk3, updated. v0.8.4-201-gf89d8a8 |
Date: |
Sun, 31 May 2015 23:33:00 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, gtk3 has been updated
via f89d8a893f83ad0cb95819ca60e6f4a718f7d988 (commit)
from 6a0bfe2697f4de29cc11782ac6bd2c4175554a9c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f89d8a893f83ad0cb95819ca60e6f4a718f7d988
Author: Friedrich Beckmann <address@hidden>
Date: Mon Jun 1 00:20:01 2015 +0200
histogram tick drawing - added format generation for optimum tick drawing
Fixes bug #45192 which showed up in the gtk3 branch on MacOS.
It replaces the decimal_xxx computations with a routine that computes a
formatting string and a scale factor for a given axis range and number of
bins. The formatting will switch between normal and scientific depending on
the length of the displayed label text. The formatting is such that no
rounded numbers like 3.9999999 when in fact 4 is expected is shown.
Differences between bins remain visible in the tick labels.
In addition the width of the rendered labels is compared with the width
of the bins in the display such that the labels will automatically
switch between horizontal and 45 degree display.
-----------------------------------------------------------------------
Summary of changes:
src/math/chart-geometry.c | 73 +++++++++++++++++++++++++++++
src/math/chart-geometry.h | 5 ++-
src/output/cairo-chart.c | 24 ++++++++++
src/output/cairo-chart.h | 6 ++-
src/output/charts/plot-hist-cairo.c | 49 +++++++++++--------
tests/automake.mk | 9 +++-
tests/math/chart-geometry.at | 27 +++++++++++
tests/math/chart-get-ticks-format-test.c | 75 ++++++++++++++++++++++++++++++
8 files changed, 245 insertions(+), 23 deletions(-)
create mode 100644 tests/math/chart-get-ticks-format-test.c
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, gtk3, updated. v0.8.4-201-gf89d8a8,
Friedrich Beckmann <=