How to fix camera position?

  • Follow


Hi to everyone : )

This is what I try to do:

I plot axes; I let the user to click some points; I use those points for further processing

The problem I have is... after the first time user have clicked anywhere on the axes, the view gets centered around that point. But this is not what I want to happen. I just want the axes to stay the way they are.

I already tried to fix the Camera Position or set the LimMode to manual, but I dont get it right. Im pretty new to Matlab...

There has to be an easy way to fix those axes, right?

Thanks in advance,
krzychu
0
Reply krzychu 6/20/2010 10:27:05 AM

"krzychu " <krzychu@paliga.eu> wrote in message <hvkqdp$12k$1@fred.mathworks.com>...
> Hi to everyone : )
> 
> This is what I try to do:
> 
> I plot axes; I let the user to click some points; I use those points for further processing
> 
> The problem I have is... after the first time user have clicked anywhere on the axes, the view gets centered around that point. But this is not what I want to happen. I just want the axes to stay the way they are.
> 
> I already tried to fix the Camera Position or set the LimMode to manual, but I dont get it right. Im pretty new to Matlab...
> 
> There has to be an easy way to fix those axes, right?
> 
> Thanks in advance,
> krzychu

The solution was to set XLim any YLim properly... then they are kind of fixed... and stay that way...
0
Reply krzychu 6/21/2010 10:51:08 AM


1 Replies
222 Views

(page loaded in 0.122 seconds)

Similiar Articles:













7/13/2012 10:53:39 PM


Reply: