Y axis scaling bug

OK, I've created a patch to work around the 'gv' problem for

    > dense line plots. Attached is a PS file created from this
    > patch. Please test to see if it solves your problem. If it
    > does, I'll commit the patch to CVS. It worked for me on
    > 'ggv'.

Works for me (also ggv) - what did you do, break up paths longer than
a certain size into multiple paths? I need to do the same for agg to
fix Jin-chung's bug.

JDH

John Hunter wrote:

"Paul" == Paul Barrett <barrett@...31...> writes:

    > OK, I've created a patch to work around the 'gv' problem for
    > dense line plots. Attached is a PS file created from this
    > patch. Please test to see if it solves your problem. If it
    > does, I'll commit the patch to CVS. It worked for me on
    > 'ggv'.

Works for me (also ggv) - what did you do, break up paths longer than
a certain size into multiple paths? I need to do the same for agg to
fix Jin-chung's bug.

Yes. Paths are divided into mutiple paths of 1000 points (except for the last path with can contain upto 1001 points to prevent the last point from being orphaned). This path size seemed like a reasonable number. I didn't do any tests to determine the optimum path size. From the way gv behaves on my Linux box, it appears that 5000 points may be the limit.

  -- Paul

···

--
Paul Barrett, PhD Space Telescope Science Institute
Phone: 410-338-4475 ESS/Science Software Branch
FAX: 410-338-4767 Baltimore, MD 21218