bugGNU Octave - Bugs: bug #41593, stem series should share the same...

 
 

bug #41593: stem series should share the same baseline

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Sat 15 Feb 2014 01:17:31 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Feb 2014 08:00:14 PM UTC, comment #1: 

I made a few modifications to your patch
1) I used a for loop over the list of graphic handles rather than a while loop because it seemed clearer to me.
2) I used double quotes (") instead of single quotes (') in the %!test for the new behavior.

I pushed it to the default branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/2d0afa04d103).

Thanks for catching this.

Rik <rik5>
Group administrator
Sat 15 Feb 2014 01:17:31 PM UTC, original submission:  

The following works in matlab:


h = stem ([1 2; 1.5 2.5], [1 1;2 2]);
assert (get (h(1), 'baseline') == get (h(2), 'baseline'))


Attached is a patch that implements this behavior, make "basevalue" be shared, and adds tests for all this.


Pantxo Diribarne <pantxo>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30555:  baseline_.patch added by pantxo (5KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-15 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2014-02-15 pantxo Attached File- Added baseline_.patch, #30555

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code