[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel






Reply to: