Path: news.mathworks.com!not-for-mail
From: "Michael " <hajari@kth.se>
Newsgroups: comp.soft-sys.matlab
Subject: How to add a variable as a text?
Date: Sun, 8 Nov 2009 14:02:03 +0000 (UTC)
Organization: KTH
Lines: 1
Message-ID: <hd6j0q$c88$1@fred.mathworks.com>
Reply-To: "Michael " <hajari@kth.se>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257688923 12552 172.30.248.38 (8 Nov 2009 14:02:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 8 Nov 2009 14:02:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1784432
Xref: news.mathworks.com comp.soft-sys.matlab:583338


i have this problem that i want to add a text to my plot, i already know this command text(x,y,'string'). The problem is i want to put a variable instead of the string. Shall i try another command or what?