[Pkg-octave-devel] Bug#347665: scaling bug in legend of eplot in octave-epstk package
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);
Reply to: