Thread Subject: how to add arrows in lines?

Subject: how to add arrows in lines?

From: Ying Li

Date: 15 Jul, 2009 17:27:01

Message: 1 of 7

i am trying to add arrows in lines to show the direction, cause some lines are bi-directional, some are not. is there someone knows how to add arrows?

Subject: how to add arrows in lines?

From: Nathan

Date: 15 Jul, 2009 17:31:41

Message: 2 of 7

On Jul 15, 10:27 am, "Ying Li" <liyingap...@hotmail.com> wrote:
> i am trying to add arrows in lines to show the direction, cause some lines are bi-directional, some are not. is there someone knows how to add arrows?

Check the file exchange:
http://www.mathworks.com/matlabcentral/fileexchange/278

Hope that helps
-Nathan

Subject: how to add arrows in lines?

From: Ying Li

Date: 16 Jul, 2009 00:04:02

Message: 3 of 7

Nathan <ngreco32@gmail.com> wrote in message <ede0f4d8-2083-4060-b0c1-2552f2c08685@h2g2000yqg.googlegroups.com>...
> On Jul 15, 10:27?am, "Ying Li" <liyingap...@hotmail.com> wrote:
> > i am trying to add arrows in lines to show the direction, cause some lines are bi-directional, some are not. is there someone knows how to add arrows?
>
> Check the file exchange:
> http://www.mathworks.com/matlabcentral/fileexchange/278
>
> Hope that helps
> -Nathan


Thanks a lot. Nathan^^

Subject: how to add arrows in lines?

From: Ying Li

Date: 16 Jul, 2009 13:43:02

Message: 4 of 7

"Ying Li" <liyingapply@hotmail.com> wrote in message <h3lqpi$9v2$1@fred.mathworks.com>...
> Nathan <ngreco32@gmail.com> wrote in message <ede0f4d8-2083-4060-b0c1-2552f2c08685@h2g2000yqg.googlegroups.com>...
> > On Jul 15, 10:27?am, "Ying Li" <liyingap...@hotmail.com> wrote:
> > > i am trying to add arrows in lines to show the direction, cause some lines are bi-directional, some are not. is there someone knows how to add arrows?
> >
> > Check the file exchange:
> > http://www.mathworks.com/matlabcentral/fileexchange/278
> >
> > Hope that helps
> > -Nathan
>
>
> Thanks a lot. Nathan^^

what i am trying to get is something like give two points x1=(1,2),x2= (3,4) , I am connecting the points x1 and x2, and want to get small arrow to indicate the direction of the connection of these two points.

Subject: how to add arrows in lines?

From: John

Date: 16 Jul, 2009 13:57:02

Message: 5 of 7

You can insert small arrow over your line plot by selecting Insert menu and selecting item 'Arrow'. You can then resize it and/or edit other properties to suit your needs.


> what i am trying to get is something like give two points x1=(1,2),x2= (3,4) , I am connecting the points x1 and x2, and want to get small arrow to indicate the direction of the connection of these two points.

Subject: how to add arrows in lines?

From: Sprinceana

Date: 16 Jul, 2009 14:15:27

Message: 6 of 7

If I well understood your question you want to represent a vector of position ?


So you want representing the two points and then unite them with an arrow.

Is this that you want?

How you generate your first two points and unite them?


To use that arrow I think you should use the quiver function:

>>help quiver

Subject: how to add arrows in lines?

From: Sprinceana

Date: 16 Jul, 2009 14:39:01

Message: 7 of 7

>>x1=[1,2];x2= [3,4] % definirea celor 2 pcte de coordonate date
>>quiver(x1(1),x1(2),x2(1),x2(2));

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
quiver Sprinceana 16 Jul, 2009 10:19:03
arrow Ying Li 15 Jul, 2009 13:29:02
rssFeed for this Thread

Contact us at files@mathworks.com