Re: How to write text in a Picture?
- From: "John O'Flaherty" <quiasmox@xxxxxxxxx>
- Date: 30 Dec 2005 08:54:19 -0800
Paolo wrote:
> Hi, my question is how to write text, variable values, in a picture at a
> given coordinate.
You can use the command
text( x, y, 'text' ), where 'text' is the text you want to have. It can
also be a variable value, by using num2str(variable value).
The x and y have to be in terms of the coordinate system for the axes.*
Try typing 'help text' or 'doc text' at the command prompt.
--
john
* This may sometimes be convenient, but it would be nice if one could
just specify a percentage of the x and y axes, so the text would stay
in the same place if different date were plotted. You probably can do
this if you figure out how.
.
- Follow-Ups:
- Re: How to write text in a Picture?
- From: Paolo
- Re: How to write text in a Picture?
- References:
- How to write text in a Picture?
- From: Paolo
- How to write text in a Picture?
- Prev by Date: How to add labels to PLOTMATRIX charts??
- Next by Date: Re: a question about quad
- Previous by thread: How to write text in a Picture?
- Next by thread: Re: How to write text in a Picture?
- Index(es):
Relevant Pages
|