octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with surface


From: Nicholas Jankowski
Subject: Re: Help with surface
Date: Sun, 21 Aug 2016 21:11:46 -0400

On Sun, Aug 21, 2016 at 9:10 PM, Nicholas Jankowski <address@hidden> wrote:
On Sun, Aug 21, 2016 at 9:03 PM, Rik <address@hidden> wrote:
8/21/16

Can someone try the following under Matlab and report what it returns?

clf;
h = surface ();
get (h, 'xdata')
get (h, 'ydata')
get (h, 'zdata')
get (gca, 'view')

Thanks,
Rik



>> clf;
**pop up blank figure window**

>> h = surface ();
**figure window fills with 2x2 blue&yellow checkerboard, x&y axes span 1-3**

>>
>> get (h, 'xdata')

ans =

     1     2     3
     1     2     3
     1     2     3

>> get (h, 'ydata')

ans =

     1     1     1
     2     2     2
     3     3     3

>> get (h, 'zdata')

ans =

     1     0     0
     0     1     0
     0     0     1

>> get (gca, 'view')

ans =

     0    90




that's v2016a

reply via email to

[Prev in Thread] Current Thread [Next in Thread]