bugGNU Octave - Bugs: bug #29670, errorbar plot does not produce X...

 
 

bug #29670: errorbar plot does not produce X error bars

Submitter:  Rik <rik5>
Submitted:  Sun 25 Apr 2010 10:01:48 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  dbateman
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Apr 2010 12:28:01 PM UTC, comment #2: 

Ok, with the correct changeset this time

Sorry
D.


(file #20336)

David Bateman <dbateman>
Group Member
Mon 26 Apr 2010 12:26:17 PM UTC, comment #1: 

Sigh, I suppose the documentation wasn't clear but

x = -pi:0.2:pi;
y = sin(x);
xbars = 0.1*ones(1,length(x));
errorbar(x, y, xbars, xbars, ">")

would work.. However I see no reason to limit errorbar plots to a syntax like that and your code makes sense. I propose the change attached to address this. Note that matlab doesn't allow x, xy or box errorbars like Octave does, so this is really a feature request that a bug ;-)

D.



(file #20335)

David Bateman <dbateman>
Group Member
Sun 25 Apr 2010 10:01:48 PM UTC, original submission:  

According to the documentation, the plot style ">" should produce X error bars.  The latest development code (4f2e46473153), however, only produces Y error bars regardless of the style selected.

Example code:
x = -pi:0.2:pi;
y = sin(x);
xbars = 0.1*ones(1,length(x));
errorbar(x, y, xbars, ">")

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #20336:  changeset.errorbar_corect added by dbateman (4KiB - application/octet-stream)
file #20335:  changeset.errorbar added by dbateman (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dbateman (Updated the item)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-26 dbateman Attached File- Added changeset.errorbar_corect, #20336
    2010-04-26 dbateman Attached File- Added changeset.errorbar, #20335
        Item GroupIncorrect Result Feature Request
        StatusNone Fixed
        Assigned toNone dbateman
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code