From: Université de Montreal fradet on
Hi, I'd like to add a textbox on a plot I've created and to automatically add some data information inside, assigned by mathlab command.

How could I program that?

Thanks,

Charles-William
From: dpb on
Université de Montreal fradet wrote:
> Hi, I'd like to add a textbox on a plot I've created and to
> automatically add some data information inside, assigned by mathlab
> command.
>
> How could I program that?

doc text
doc legend

and friends...

--
From: Université de Montreal fradet on
dpb <none(a)non.net> wrote in message <i14vh1$k8d$2(a)news.eternal-september.org>...
> Université de Montreal fradet wrote:
> > Hi, I'd like to add a textbox on a plot I've created and to
> > automatically add some data information inside, assigned by mathlab
> > command.
> >
> > How could I program that?
>
> doc text
> doc legend
>
> and friends...
>
> --

Thanks, doc text is great. But lets say H = 2, how can I write something like
text('Position',[0.1,90],' H ')
so that it appears '2' on the figure?

thanks
From: dpb on
Université de Montreal fradet wrote:
> dpb <none(a)non.net> wrote in message
> <i14vh1$k8d$2(a)news.eternal-september.org>...
>> Université de Montreal fradet wrote:
>> > Hi, I'd like to add a textbox on a plot I've created and to >
>> automatically add some data information inside, assigned by mathlab >
>> command.
>> > > How could I program that?
>>
>> doc text
>> doc legend
>>
>> and friends...
>>
>> --
>
> Thanks, doc text is great. But lets say H = 2, how can I write something
> like text('Position',[0.1,90],' H ') so that it appears '2' on the figure?

doc strfun % to start

doc num2str
doc sprintf

etc., etc. etc., in particular...

Live dangerously...explore the online help files/documentation. No
telling what you might uncover...

--
From: dpb on
dpb wrote:
....

> Live dangerously...explore the online help files/documentation. No
> telling what you might uncover...

In particular, you might find the section on customizing figures and
plots in the "Getting Started" section interesting...

--
 |  Next  |  Last
Pages: 1 2
Prev: Print figures size and other issues
Next: CONTROL