[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [changeset] - x/y/zticklabel as a numeric vector
From: |
Ben Abbott |
Subject: |
Re: [changeset] - x/y/zticklabel as a numeric vector |
Date: |
Mon, 03 Nov 2008 19:08:18 -0500 |
On Nov 3, 2008, at 6:28 PM, Ben Abbott wrote:
I noticed that Octave does not allow
set (gca, 'xticklabel', get (gca, 'xtick'))
while Matlab does.
Changeset for a trivial solution is attached.
Ben
<changeset-xticklabel-num-vec.patch>
This should work as well.
axes
set (gca, 'xtick', 0:0.2:1)
set (gca, 'xticklabel', num2str(get (gca, 'xtick')(:)))
Changeset attached.
Ben
changeset-xticklabel-num-vec.patch
Description: Binary data