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

 
 

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

Submitted by:  Rik <rik5>
Submitted on:  Sun 25 Apr 2010 10:01:48 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: David Bateman <dbateman>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project Administrator

 

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

Attach File(s):
   
   
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
  • -unavailable- added by dbateman (Updated the item)
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Apr 2010 12:28:01 PM UTCdbatemanAttached File-=>Added changeset.errorbar_corect, #20336
    Mon 26 Apr 2010 12:26:17 PM UTCdbatemanAttached 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.1-cleanup1