octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39837] error in loglogerr for negative y


From: anonymous
Subject: [Octave-bug-tracker] [bug #39837] error in loglogerr for negative y
Date: Wed, 21 Aug 2013 12:18:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0

URL:
  <http://savannah.gnu.org/bugs/?39837>

                 Summary: error in loglogerr for negative y
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mi 21 Aug 2013 12:18:12 UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Stefan Großhauser
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I do not know how Matlab reacts and if this is a matter of the plotting
toolkit, but it would be nice if Octave could plot negative loglogerr plots,
as it can handle loglog plots.

best regards
Stefan



x = 1:1000;
y = x.**2;
ey = y * 0.2;

%% this plots a nice plot:
loglog(x,y)
%% and this too:
loglog(x,-y)
%% and this plots also nicely, with errorbars:
loglogerr(x,y,ey,'~')

%% but this does not:
loglogerr(x,-y,ey,'~')
%% octave gives an error:
% error: errorbar_data: operator *: nonconformant arguments (op1 is 1000x1,
op2 is 0x1)
% error: called from: error:  
/usr/share/octave/3.6.4/m/plot/private/__errplot__.m at line 247, column 9
% error:   /usr/share/octave/3.6.4/m/plot/private/__errplot__.m at line 328,
column 37
% error:   /usr/share/octave/3.6.4/m/plot/private/__errplot__.m at line 192,
column 5 
% error:   /usr/share/octave/3.6.4/m/plot/private/__errcomm__.m at line 53,
column 16
% error:   /usr/share/octave/3.6.4/m/plot/loglogerr.m at line 52, column 9





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39837>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]