BUG: hp2ps: MARKs wrongly placed unless x-axis starts at zero
Nicholas Nethercote
njn25 at cam.ac.uk
Sat Jul 26 09:19:32 EDT 2003
Hi,
I found a bug in hp2ps: if you use MARKs, it seems to assume the x-axis
starts at zero. So if your x-axis starts at, say, 5, then all the marks
get shifted to the right by 5 x-units. See attached file for an example.
This is with GHC 5.04.2, but judging from CVS most of hp2ps hasn't been
touched in 7 years, so I imagine it hasn't been fixed since :)
Thanks.
--
Nick Nethercote
njn25 at cam.ac.uk
-------------- next part --------------
JOB "job"
DATE "(time and date)"
SAMPLE_UNIT "ms"
VALUE_UNIT "bytes"
MARK 5.0
BEGIN_SAMPLE 5.0
x 3
END_SAMPLE 5.0
MARK 6.0
BEGIN_SAMPLE 6.0
x 4
END_SAMPLE 6.0
MARK 7.0
BEGIN_SAMPLE 7.0
x 3
END_SAMPLE 7.0
MARK 8.0
BEGIN_SAMPLE 8.0
x 4
END_SAMPLE 8.0
MARK 9.0
BEGIN_SAMPLE 9.0
x 3
END_SAMPLE 9.0
MARK 10.0
BEGIN_SAMPLE 10.0
x 4
END_SAMPLE 10.0
MARK 11.0
BEGIN_SAMPLE 11.0
x 3
END_SAMPLE 11.0
MARK 12.0
BEGIN_SAMPLE 12.0
x 4
END_SAMPLE 12.0
MARK 13.0
BEGIN_SAMPLE 13.0
x 3
END_SAMPLE 13.0
MARK 14.0
BEGIN_SAMPLE 14.0
x 4
END_SAMPLE 14.0
MARK 15.0
BEGIN_SAMPLE 15.0
x 3
END_SAMPLE 15.0
More information about the Glasgow-haskell-bugs
mailing list