bugGNU Octave - Bugs: bug #32628, colorbar 'location' option...

 
 

bug #32628: colorbar 'location' option behavior different from M*lab

Submitted by:  None
Submitted on:  Mon 28 Feb 2011 08:23:42 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Alexander MamonovOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 05 Mar 2011 04:34:18 PM UTC, comment #3:

The fix was rather simple.

http://hg.savannah.gnu.org/hgweb/octave/rev/5454b687fd14

I'm closing this. If needed it can be reopened.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Wed 02 Mar 2011 01:27:31 PM UTC, comment #2:

Alexander Mamonov emailed me with the response below.

What needs to be done is to add the property-name / property-value syntax below.

colorbar (...,'PropertyName',propertyvalue)

My spare time is rather short now. If anyone is interested in working on a patch, please do.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Wed 02 Mar 2011 03:06:54 AM UTC, comment #1:

I'm unable to find the form below in Matlab's documentation.

However, the syntax above does work. I'm not sure we should try to implement undocumented forms of Matlab's syntax, as it may be a bug.

... or am I wrong? Is this syntax documented some where?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 28 Feb 2011 08:23:42 PM UTC, original submission:

A legitimate expression in M*lab:

colorbar('location','southoutside')

gives the following error in Octave 3.2.3:

colorbar('location','southoutside')
error: set: invalid number of arguments
error: called from:
error: /usr/share/octave/3.2.3/m/plot/colorbar.m at line 142, column 2

The same error persists in 3.4.0 both in Gnuplot and FLTK toolkits.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Mar 2011 04:34:18 PM UTCbpabbottStatusNone=>Fixed
      Assigned toNone=>bpabbott
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1