[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54436] yticklabel difference with Matlab
From: |
Arnaud Delorme |
Subject: |
[Octave-bug-tracker] [bug #54436] yticklabel difference with Matlab |
Date: |
Thu, 2 Aug 2018 13:15:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?54436>
Summary: yticklabel difference with Matlab
Project: GNU Octave
Submitted by: arnodelorme
Submitted on: Thu 02 Aug 2018 05:15:34 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.0
Operating System: Mac OS
_______________________________________________________
Details:
Matlab returns string values and Octave numerical ones. Not that critical
although it does break my unit tests (and the complex figure I am trying to
plot). I have implemented a workaround but thought it would be important to
report it.
figure; imagesc(rand(10,10));
>> tmpval = get(gca,'yticklabel')
tmpval =
10×1 cell array
{
{'1' }
{'2' }
{'3' }
{'4' }
{'5' }
{'6' }
{'7' }
{'8' }
{'9' }
{'10'}
}
Under Octave 4.4
figure; imagesc(rand(10,10));
>> tmpval = get(gca,'yticklabel')
tmpval =
{
[1,1] = 2
[1,2] = 4
[1,3] = 6
[1,4] = 8
[1,5] = 10
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54436>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54436] yticklabel difference with Matlab,
Arnaud Delorme <=