Thread Subject: camup changes when i rotate manually

Subject: camup changes when i rotate manually

From: David Doria

Date: 2 Nov, 2007 14:14:17

Message: 1 of 7

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

Subject: camup changes when i rotate manually

From: David Doria

Date: 3 Nov, 2007 21:46:41

Message: 2 of 7

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

Subject: camup changes when i rotate manually

From: David Doria

Date: 5 Nov, 2007 13:17:53

Message: 3 of 7

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
>

Subject: camup changes when i rotate manually

From: David Doria

Date: 8 Nov, 2007 15:24:52

Message: 4 of 7

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
> >
>

Subject: camup changes when i rotate manually

From: David Doria

Date: 22 Nov, 2007 23:53:44

Message: 5 of 7

Pleeeeaaaase hellllpppppp
hahaha

Dave

"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
> > >
> >
>

Subject: camup changes when i rotate manually

From: Steven Lord

Date: 26 Nov, 2007 06:13:31

Message: 6 of 7


"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

Subject: camup changes when i rotate manually

From: David Doria

Date: 26 Nov, 2007 20:41:50

Message: 7 of 7

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.

rssFeed for this Thread

Contact us at files@mathworks.com