From: Alexander on 7 Jun 2010 17:01 "abby Drake" <abbygracedrake(a)googlemail.com> wrote in message <fcm4ge$5uq$1(a)fred.mathworks.com>... > Jerome Briot <dutmatlab(a)yahoo.fr> wrote in message > <fcjh4i$25b$2(a)news.netfinity.fr>... > > Hi, > > > > help text > > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text.html > > > > Jérôme > > Hi - > > Thanks for the link. It seems though that > text(x,y,z,'string') only labels one set of coordinates - I > have over 100 individual data points that all need unique > names. Is there a trick I'm missing? Sorry - really am new > to this. > > Thanks again. > Abby Abby, The simplest way is to just loop over your string values. e.g. for k = 1:num_strings text(x(k),y(k),string_var(k,:)) end This will place the string stored in the kth row of string_var at each x_k,y_k point. -Alex
|
Pages: 1 Prev: Writing wmv files Next: Developing a satellite communication simulator with MATLAB |