|
"Kamran" <kamran@uio.no> wrote in message
news:h9hlj0$c25$1@news01.tp.hist.no...
>
> Hi,
>
> I have a cube and use "slice" command to view cross section of the volume:
>
> hz = slice(X,Y,Z,fftgrid,[],[],(minz+maxz)/2);
>
> How can I get (or is it posible) to get, say the "Z" level through the
> handle (hz) and set it to a different value, so to avoid issuing a new
> slice command for each level of Z. I am trying to attach a slider to each
> axes. Something like:
> set (hz, 'SomeProperty', somevalue);
>
> I can't find anything in the property list with that effect.
It's not that simple. Suppose we were to display a cross-section of the
Eiffel Tower at a height of 1 foot. Now we want to change the height of
that cross-section to 900 feet. Obviously, simply changing the location of
the slice plane, without taking into account the difference in the shape and
size of the tower, will not give us an accurate representation. After all,
900 feet is just about the top floor of the tower, which is much narrower
than the base.
I think you're going to need to call SLICE for each new level.
--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|