bugGNU Octave - Bugs: bug #45107, ylim does not work the same way as...

 
 

bug #45107: ylim does not work the same way as xlim does.

Submitter:  None
Submitted:  Fri 15 May 2015 07:34:08 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Need Info Assigned to:  None
Originator Name:  Thomas Schmidt Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 May 2015 09:01:25 AM UTC, comment #1: 

Hi,

Thanks for your bug report. I can't reproduce this bug. If I define a variable "ylim" that shadows the ylim function then I can see the same (first) error message:


plot (1:10)
xlim([0 12])
ylim([0 12])
plot (1:10)
ylim([0 12])
ylim = 1:3; ## define a ylim variable
ylim([0 12]) ## this is now indexing in ylim variable
## -> error: subscript indices must be either positive integers less than 2^31 or logicals


Can you confirm that you have mistakingly shadowed ylim function with a variable?

Pantxo Diribarne <pantxo>
Group Member
Fri 15 May 2015 07:34:08 AM UTC, original submission:  

plot(x,y)

>> xlim([0,12])
>> plot(x,y)
>> ylim([0,12])

error: subscript indices must be either positive integers less than 2^31 or logicals

>>

(process:14919): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-17 rik5 Open/ClosedOpen Closed
    2015-05-15 pantxo StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code