Skip Menu |

This queue is for tickets about the GDGraph CPAN distribution.

Maintainer(s)' notes

There are plenty of good ideas of what people can do published here on the queue. Turning a patch from the tracker into a pull request is not one of them. In order to get maintainers' attention way more quickier, PR should have at least a sample included. We know it's hard to test images generating software, but it doesn't mean we can not test numbers produced by intermediate algorithms used to generate these images, so either a test or a sample.

Report information
The Basics
Id: 6942
Status: resolved
Priority: 1/
Queue: GDGraph

People
Owner: bwarfield [...] cpan.org
Requestors: gan [...] starling.us
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.43
Fixed in: 1.43

Attachments


Subject: Leftmost X-axis tick labeled incorrectly
Perl version = 5.8.0 (both ActiveState & NetBSD pkgsrc) GD version = 2.12 GDGraph version = 1.43 OS = both Win2K Pro and NetBSD 1.6.2 SYMPTOM 1A: It fairly often happens on an X-Y lines graph, that the leftmost X tick reflects the rightmost X tick. That is to say, on a set of 0 to 2048 data points the left and right ticks will both say 2048 (or both 4096, etc). SYMPTOM 1B: When such is the case, it also fairly often happens that a Y-axis displacement will occur to the leftmost data point of the highest channel. Said displacement is usually near zero, but still notable. It is never really there in the data. If I generatate a new graph zoomed in to the leftmost, the point in question may sometimes still be displaced or else it may not. ADDENDA: I see this on two different computers, Windows and Unix, running two different installations of Perl, both ActiveState and NetBSD pkgsrc. I am employing GD::Graph in my (alas, ever-beta) script gus_rpc_edit.pl which may be found at http::starling.us/tet/gus_perl/gus_rpc_edit_pl/
Download bug_report.png
image/x-png 10.4k
bug_report.png
I'm very interested in fixing this, but it'd be easier with a test case--do you still have the code around that you used to generate the attached graph?
Subject: Re: [rt.cpan.org #6942] Leftmost X-axis tick labeled incorrectly
Date: Tue, 07 Mar 2006 04:58:48 -0500
To: bug-GDGraph [...] rt.cpan.org
From: Gan Uesli Starling <gan [...] starling.us>
Benjamin Warfield via RT wrote: Show quoted text
> I'm very interested in fixing this, but it'd be easier with a test case--do you still have the code > around that you used to generate the attached graph? >
Yes, it is on-line here: http://starling.us/tet/gus_perl/#GUS-1
Subject: Re: Leftmost X-axis tick labeled incorrectly
Date: Tue, 07 Mar 2006 13:58:04 -0500
To: bug-GDGraph [...] rt.cpan.org
From: "Gan Uesli Starling" <gan [...] starling.us>
Benjamin Warfield via RT writes: Show quoted text
> I'm very interested in fixing this, but it'd be easier with a test case--do you still have the code > around that you used to generate the attached graph?
I can answere more verbosely just now. I previously sent a link to the source code for my road load data editor which we use in our automotive antivibration test lab. It always generates graphs as you see with the left tick an odd duck. You don't have to acutally edit anything. You can just load in an RLD file (I think there are some examples on that page) and graph one or more channels thereof. If you need some example data I can supply it. Gan Starling -- Mistera Sturno - Rarest Extinct Bird <(+)__ Gan Uesli Starling ((__/)=- Kalamazoo, MI, USA `||` ++ http://starling.us
Show quoted text
> You don't have to acutally edit anything. You can just load in an > RLD file (I think there are some examples on that page) and graph > one or more channels thereof.
I can't seem to find one--could you attach one to the bug? Ideally, I'd like to distill down a single command-line script that I can run that reproduces the bug, and having a known-good data set to work with will be a big help.
Subject: Re: [rt.cpan.org #6942] Leftmost X-axis tick labeled incorrectly
Date: Wed, 08 Mar 2006 04:53:57 -0500
To: bug-GDGraph [...] rt.cpan.org
From: Gan Uesli Starling <gan [...] starling.us>
Benjamin Warfield via RT wrote: Show quoted text
>>You don't have to acutally edit anything. You can just load in an >>RLD file (I think there are some examples on that page) and graph >>one or more channels thereof.
> > > I can't seem to find one--could you attach one to the bug? Ideally, I'd > like to distill down a single command-line script that I can run that > reproduces the bug, and having a known-good data set to work with will > be a big help.
I'll see what I can do. I will probably have to wait until the weekend.