From: roya olyazadeh on

axesm mercator
ecc = axes2ecc(10,5);
plotm(0,0,'r+')
[elat,elon] = ellipse1(0,0,[10 ecc],65);
plotm(elat,elon)

plotm(10,10,'r+')
[elat,elon] = ellipse1(10,10,[10 ecc],65);
plotm(elat,elon)


I created 2 ellipses in MATLAB

Does any one know how can I put a name near each of them :
for example for ellipse 1 , I want to put a1 near this mark '+'

tnx
From: someone on
"roya olyazadeh" <roya2543(a)gmail.com> wrote in message <hrrubl$d0q$1(a)fred.mathworks.com>...
>
> axesm mercator
> ecc = axes2ecc(10,5);
> plotm(0,0,'r+')
> [elat,elon] = ellipse1(0,0,[10 ecc],65);
> plotm(elat,elon)
>
> plotm(10,10,'r+')
> [elat,elon] = ellipse1(10,10,[10 ecc],65);
> plotm(elat,elon)
>
>
> I created 2 ellipses in MATLAB
>
> Does any one know how can I put a name near each of them :
> for example for ellipse 1 , I want to put a1 near this mark '+'
>
> tnx

doc text
From: roya olyazadeh on
"someone" <someone(a)somewhere.net> wrote in message <hrs19c$1hk$1(a)fred.mathworks.com>...
> "roya olyazadeh" <roya2543(a)gmail.com> wrote in message <hrrubl$d0q$1(a)fred.mathworks.com>...
> >
> > axesm mercator
> > ecc = axes2ecc(10,5);
> > plotm(0,0,'r+')
> > [elat,elon] = ellipse1(0,0,[10 ecc],65);
> > plotm(elat,elon)
> >
> > plotm(10,10,'r+')
> > [elat,elon] = ellipse1(10,10,[10 ecc],65);
> > plotm(elat,elon)
> >
> >
> > I created 2 ellipses in MATLAB
> >
> > Does any one know how can I put a name near each of them :
> > for example for ellipse 1 , I want to put a1 near this mark '+'
> >
> > tnx
>
>You did not answer me!!!!!
From: Walter Roberson on
roya olyazadeh wrote:
> "someone" <someone(a)somewhere.net> wrote in message
> <hrs19c$1hk$1(a)fred.mathworks.com>...
>> "roya olyazadeh" <roya2543(a)gmail.com> wrote in message
>> <hrrubl$d0q$1(a)fred.mathworks.com>...
>> > > axesm mercator
>> > ecc = axes2ecc(10,5);
>> > plotm(0,0,'r+')
>> > [elat,elon] = ellipse1(0,0,[10 ecc],65);
>> > plotm(elat,elon)
>> > > plotm(10,10,'r+')
>> > [elat,elon] = ellipse1(10,10,[10 ecc],65);
>> > plotm(elat,elon)
>> > > > I created 2 ellipses in MATLAB > > Does any one know how can I
>> put a name near each of them : > for example for ellipse 1 , I want to
>> put a1 near this mark '+' > > tnx
>>
>> You did not answer me!!!!!

Someone's answer was "doc text" -- that is, to read the documentation on
the function named 'text'. text() is very suitable for placing a text
string such as a name at a given position.

If your requirement is that Matlab do this marking automatically,
through some kind of option to the plot() call that you use to plot the
ellipse, or through some command such as "plotmarker('a1')", then you
are out of luck: Matlab does not have such a facility built-in, and
anything that implemented such a facility would probably end up calling
text() anyhow.