Basically I think that using the 'rotate' tool automatically
resets the camup property, but I cant find where ( in
rotate3d.m at least)
Any ideas of how i can use the "rotate with the mouse" tool
without resetting the camup value?
Thanks
Dave
"David Doria" <daviddoria@gmail.com> wrote in message
<fgfbbp$c3f$1@fred.mathworks.com>...
> I set:
>
> camup([0 -1 0])
>
> that changes camup('mode') to manual
>
> then as soon as i rotate the plot manually, it switches
> camup('mode') to auto and camup is back to [0 0 1].
>
> How can I say "dont change cam up when i do soemthing" ?
>
> Thanks
>
> David
There doesn't seem to be anything in the documentation
about this at all, maybe it is not possible?
"David Doria" <daviddoria@gmail.com> wrote in message
<fgiq81$gup$1@fred.mathworks.com>...
> Basically I think that using the 'rotate' tool automatically
> resets the camup property, but I cant find where ( in
> rotate3d.m at least)
>
> Any ideas of how i can use the "rotate with the mouse" tool
> without resetting the camup value?
>
> Thanks
>
> Dave
>
> "David Doria" <daviddoria@gmail.com> wrote in message
> <fgfbbp$c3f$1@fred.mathworks.com>...
> > I set:
> >
> > camup([0 -1 0])
> >
> > that changes camup('mode') to manual
> >
> > then as soon as i rotate the plot manually, it switches
> > camup('mode') to auto and camup is back to [0 0 1].
> >
> > How can I say "dont change cam up when i do soemthing" ?
> >
> > Thanks
> >
> > David
>
The camup property seems to be pretty useless unless it will
stay set... am I missing something!?
"David Doria" <daviddoria@gmail.com> wrote in message
<fgn561$78b$1@fred.mathworks.com>...
> There doesn't seem to be anything in the documentation
> about this at all, maybe it is not possible?
>
> "David Doria" <daviddoria@gmail.com> wrote in message
> <fgiq81$gup$1@fred.mathworks.com>...
> > Basically I think that using the 'rotate' tool automatically
> > resets the camup property, but I cant find where ( in
> > rotate3d.m at least)
> >
> > Any ideas of how i can use the "rotate with the mouse" tool
> > without resetting the camup value?
> >
> > Thanks
> >
> > Dave
> >
> > "David Doria" <daviddoria@gmail.com> wrote in message
> > <fgfbbp$c3f$1@fred.mathworks.com>...
> > > I set:
> > >
> > > camup([0 -1 0])
> > >
> > > that changes camup('mode') to manual
> > >
> > > then as soon as i rotate the plot manually, it switches
> > > camup('mode') to auto and camup is back to [0 0 1].
> > >
> > > How can I say "dont change cam up when i do soemthing" ?
> > >
> > > Thanks
> > >
> > > David
> >
>
"David Doria" <daviddoria@gmail.com> wrote in message
<fgv9o4$553$1@fred.mathworks.com>...
> The camup property seems to be pretty useless unless it will
> stay set... am I missing something!?
>
> "David Doria" <daviddoria@gmail.com> wrote in message
> <fgn561$78b$1@fred.mathworks.com>...
> > There doesn't seem to be anything in the documentation
> > about this at all, maybe it is not possible?
> >
> > "David Doria" <daviddoria@gmail.com> wrote in message
> > <fgiq81$gup$1@fred.mathworks.com>...
> > > Basically I think that using the 'rotate' tool
automatically
> > > resets the camup property, but I cant find where ( in
> > > rotate3d.m at least)
> > >
> > > Any ideas of how i can use the "rotate with the mouse"
tool
> > > without resetting the camup value?
> > >
> > > Thanks
> > >
> > > Dave
> > >
> > > "David Doria" <daviddoria@gmail.com> wrote in message
> > > <fgfbbp$c3f$1@fred.mathworks.com>...
> > > > I set:
> > > >
> > > > camup([0 -1 0])
> > > >
> > > > that changes camup('mode') to manual
> > > >
> > > > then as soon as i rotate the plot manually, it switches
> > > > camup('mode') to auto and camup is back to [0 0 1].
> > > >
> > > > How can I say "dont change cam up when i do soemthing" ?
> > > >
> > > > Thanks
> > > >
> > > > David
> > >
> >
>
here is the response from tech support incase anyone else
was wondering:
I am writing in reference to your Service Request # 1-5C3Z6L
regarding 'camup property'.
You might want to use the CAMORBIT command to rotate your
figures. The CAMORBIT command rotates the camera view
around the camera target, or, if 'coordsys' and 'direction'
are specified as function parameters, it rotates the camera
view around the specified point or axes in the direction
indicated. The ROTATE3D command rotates the axes of the
plot around the origin, or around the axes specified as a
function parameter.
Note that the location of the camera target does not change
relative to the camera when CAMORBIT is used, but it may
change if ROTATE3D is used because ROTATE3D assumes a z
based coordinate system. There is no way to interactively
move the camera position with the mouse. All camera
position changes must be made at the command line.
For more information about the ROTATE3D and CAMORBIT
commands, refer to the documentation for each tool by typing
doc camorbit
"Steven Lord" <slord@mathworks.com> wrote in message
<fido6b$rrp$1@ginger.mathworks.com>...
>
> "David Doria" <daviddoria@gmail.com> wrote in message
> news:fi54q8$sts$1@fred.mathworks.com...
> > Pleeeeaaaase hellllpppppp
>
> You should contact Technical Support with your question
about the
> interaction of CAMUP and ROTATE3D.
>
> --
> Steve Lord
> slord@mathworks.com
>
>
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.