Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Angle between two vectors
Date: Fri, 18 Jun 2010 15:55:07 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 19
Message-ID: <hvg4sr$qq2$1@fred.mathworks.com>
References: <ef5ce9c.-1@webcrossing.raydaftYaTP> <1184052626.324470.175540@n2g2000hse.googlegroups.com> <8db784bf-a96e-431b-b5c6-d6836905d350@o16g2000prh.googlegroups.com> <hvbni8$s0h$1@fred.mathworks.com> <hvbra7$lcp$1@fred.mathworks.com> <hvbs37$a30$1@fred.mathworks.com> <hvc2qe$59b$1@fred.mathworks.com> <hvejah$ab6$1@fred.mathworks.com> <hvet7b$b6c$1@fred.mathworks.com> <hvg0i3$khr$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1276876507 27458 172.30.248.35 (18 Jun 2010 15:55:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 18 Jun 2010 15:55:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:646171

"Beho nashed" <beho86@yahoo.com> wrote in message <hvg0i3$khr$1@fred.mathworks.com>...
> "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hvet7b$b6c$1@fred.mathworks.com>...
> > "Beho nashed" <beho86@yahoo.com> wrote in message <hvejah$ab6$1@fred.mathworks.com>...
> > > Hello Roger,
> > > I keep selecting points for an angle bigger than 90 degree, but the program is giving me an angle less than 90 deg!!!
> 
> 
> Hello Roger,
> I actually noticed the bracket and fixed it. I just noticed something in the image displayed. the Y-axis starts from the top!!!
> 
> I tried to use set(gca,'ydir','normal') , but it flips the picture and the axis, not just the axis. I am not sure how to flip the axis only, I believe that's the problem.
> 
> Thanks

one of the solutions

     axis image;

us