From: Walter Roberson on
roya olyazadeh wrote:
> "Steven Lord" <slord(a)mathworks.com> wrote in message
> <huhluf$9c3$1(a)fred.mathworks.com>...
>>
>> "roya olyazadeh" <roya2543(a)gmail.com> wrote in message
>> news:hufknt$bsd$1(a)fred.mathworks.com...
>> >I have this data:
>> > sline=300/Ss;
>> >
>> > this is scale for my plot I want to print it near my plot
>> > sline = 0.8 like this :
>> > Scale : 0.8
>> >
>> > I know I should use textm but how can I use it ?
>> > textm(0,0,' Scale: ',sline) this one didnot work.
>>
>> Build your string using something like SPRINTF and then pass the
>> string created by SPRINTF into TEXTM.

> Can you a little bit more describe what should I do ?

textm(0,0, sprintf(' Scale: %.1f', sline))
First  |  Prev  | 
Pages: 1 2
Prev: differential equation - problem
Next: Singleton GUI