Package: octave-epstk
Version: 2.2-8
Severity: normal

In a case, given below, eplot does not produce the whole line.  It
appers to be related with x-axis log autoscaling, but I am not sure.  In
this particular case, the line should go from [0.024,0] at the top left
to [100,-30.6] at the bottom right, but the rightmost part of the curve
is not plotted.

The code to reproduce the problem is at the end.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set 
to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave-epstk depends on:
ii  octave2.1                    1:2.1.73-17 GNU Octave language for numerical 
ii  octave3.0                    3.0.0-1     GNU Octave language for numerical 

octave-epstk recommends no packages.

-- no debconf information

===File ~/math/workarea/bug.m===============================
1;
function B = bodel (f)
  pole=1;                       # pole [Hz]
  sr=200;                       # sampling rate [Hz]
  sig=1./(1-j*f/pole);          # frequency response of one pole
  B=real(sig.*conj(sig));       # compute power
  al=1./(1-j*(f-sr)/pole);      # one positive windowful of aliasing
  B+=real(al.*conj(al));        # add aliasing power
  B=10*log10(B);
endfunction

eglobpar;                       # get access to global parameters
eopen("spectrum.eps");
ePlotAreaHeight=70;             # plot height [mm]
ePlotAreaWidth=70;              # plot width [mm]
eXAxisSouthScaleType=2;         # log scale
f=[1:4096]*100/4096;
b=bodel(f);
eplot(f,b)
eclose                          # print the graph on file
============================================================



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to