Path: news.mathworks.com!not-for-mail
From: "Dan Haeg" <haegd@msoe.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: text in 2D plot
Date: Fri, 19 Oct 2007 18:14:40 +0000 (UTC)
Organization: Milwaukee School of Engineering
Lines: 19
Message-ID: <ffas6g$h37$1@fred.mathworks.com>
References: <1192805956.324792.113780@i13g2000prf.googlegroups.com>
Reply-To: "Dan Haeg" <haegd@msoe.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1192817680 17511 172.30.248.37 (19 Oct 2007 18:14:40 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 19 Oct 2007 18:14:40 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 475291
Xref: news.mathworks.com comp.soft-sys.matlab:433788



 gamecock2007@gmail.com wrote in message
<1192805956.324792.113780@i13g2000prf.googlegroups.com>...
> Hi,
> 
> I have a 2D plot, with 8 lines, I am trying to avoid using
legend as
> it becomes ugly after few members. I was trying to write
text over the
> lines itself (using menu ->insert -> text, which gives a
horizontal
> text) but most of the lines are at 45 degree slope, is
there any way I
> can allign the text with the line? or any other option.
> 
> 
> Thanks.
> 

text(x,y,'string','Rotation',45)