Bug#347665: [Pkg-octave-devel] Bug#347665: scaling bug in legend of eplot in octave-epstk package

Paul Kienzle pkienzle at users.sf.net
Thu Jan 12 01:04:45 UTC 2006


Shouldn't you CC: the upstream developer with info like this?

- Paul

On Jan 11, 2006, at 5:47 PM, Patrick Mitran wrote:

> Package: octave-epstk
> Version: 2.1-1
>
> There is a minor bug in the way the legend is
> drawn in the eplot command if the dash option
> is a scalar number greater that 0. In particular,
> the dash spacing in the legend isn't scaled by eFac
> like it is in the image.
>
> I've fixed the problem by making two small changes to
> the file eplotlg.m
>
> These are:
>
> 1. add the line:
>
> eglobvar
>
> after the usage instructions check.
>
> 2. Change the line
>
> exyline(epsFile,0,0,[x;x+lineLength],[y;y],color,dash,lineWidth);
>
> to
>
> exyline(epsFile,0,0,[x;x+lineLength],[y;y],color,dash*eFac,lineWidth);
>
>
> _______________________________________________
> Pkg-octave-devel mailing list
> Pkg-octave-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel
>





More information about the Pkg-octave-devel mailing list