[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with pan, rotate3d, and zoom functions
From: |
Philip Nienhuis |
Subject: |
Re: help with pan, rotate3d, and zoom functions |
Date: |
Sun, 14 Sep 2014 01:54:25 -0700 (PDT) |
John W. Eaton wrote
> .... What happens in Matlab
> for the following:
>
> ax1 = axes ('position', [0.1, 0.1, 0.3, 0.3])
> ax2 = axes ('position', [0.6, 0.6, 0.3, 0.3])
> hrf = rotate3d (gcf);
> hra1 = rotate3d (ax1);
> hra2 = rotate3d (ax2);
> get (hrf)
> get (hra1)
> get (hra2)
> rotate3d (ax2, 'on');
> get (hrf)
> get (hra1)
> get (hra2)
In r2014b prerelease, the following:
>> ax1 = axes ('position', [0.1, 0.1, 0.3, 0.3])
ax1 =
Axes with properties:
XLim: [0 1]
YLim: [0 1]
XScale: 'linear'
YScale: 'linear'
GridLineStyle: '-'
Position: [0.1000 0.1000 0.3000 0.3000]
Units: 'normalized'
Show all properties
>> ax2 = axes ('position', [0.6, 0.6, 0.3, 0.3])
ax2 =
Axes with properties:
XLim: [0 1]
YLim: [0 1]
XScale: 'linear'
YScale: 'linear'
GridLineStyle: '-'
Position: [0.6000 0.6000 0.3000 0.3000]
Units: 'normalized'
Show all properties
>> hrf = rotate3d (gcf);
>> hra2 = rotate3d (ax2);
>> get (hrf)
RotateStyle: 'orbit'
UIContextMenu: []
ButtonDownFilter: []
ActionPreCallback: []
ActionPostCallback: []
Enable: 'off'
FigureHandle: [1x1 Figure]
>> get (hra1)
Undefined function or variable 'hra1'.
Did you mean:
>> get (hra2)
RotateStyle: 'orbit'
UIContextMenu: []
ButtonDownFilter: []
ActionPreCallback: []
ActionPostCallback: []
Enable: 'off'
FigureHandle: [1x1 Figure]
>> rotate3d (ax2, 'on');
>> get (hrf)
RotateStyle: 'orbit'
UIContextMenu: []
ButtonDownFilter: []
ActionPreCallback: []
ActionPostCallback: []
Enable: 'on'
FigureHandle: [1x1 Figure]
>> get (hra1)
Undefined function or variable 'hra1'.
Did you mean:
>> get (hra2)
RotateStyle: 'orbit'
UIContextMenu: []
ButtonDownFilter: []
ActionPreCallback: []
ActionPostCallback: []
Enable: 'on'
FigureHandle: [1x1 Figure]
>>
and the produced picture doesn't change at all after the second line (call
to ax2; I've tried to attach it).
Philip
<http://octave.1599824.n4.nabble.com/file/n4666502/MLrotate3d_2.png>
--
View this message in context:
http://octave.1599824.n4.nabble.com/help-with-pan-rotate3d-and-zoom-functions-tp4666484p4666502.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- help with pan, rotate3d, and zoom functions, John W. Eaton, 2014/09/12
- Re: help with pan, rotate3d, and zoom functions, Michael Goffioul, 2014/09/13
- Re: help with pan, rotate3d, and zoom functions, Andreas Weber, 2014/09/13
- Re: help with pan, rotate3d, and zoom functions, John W. Eaton, 2014/09/13
- Re: help with pan, rotate3d, and zoom functions,
Philip Nienhuis <=
- Re: help with pan, rotate3d, and zoom functions, Michael Goffioul, 2014/09/13