From: krzychu on
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
From: krzychu on
"krzychu " <krzychu(a)paliga.eu> wrote in message <hvkqdp$12k$1(a)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...