[Date Index]
[Thread Index]
[Author Index]
Re: Finding middle of edge in a graph
*To*: mathgroup at smc.vnet.net
*Subject*: [mg90012] Re: Finding middle of edge in a graph
*From*: Bill Rowe <readnews at sbcglobal.net>
*Date*: Thu, 26 Jun 2008 04:43:50 -0400 (EDT)
>---- Yedidel Elhayany <yedidel at gmail.com> wrote:
>I have a graph which I need to find the middle of every edge and add a
>vertice in that point. What function returns me all the middle points
>of edged in a graph?
Others (Bob Hanlon) have answered the question you posed. So, I
will point out you don't need to know the actual coordinates of
the center to place a point at the center of a plot. Instead,
you can use scaled coordinates. That is:
Plot[f[x], {x, xmin, xmax}, Epilog->{Red, PointSize[.02],Point[Scaled at {.5,.=
5}]}]
will put a red point at the center of your plot regardless of
details of f, xmin and xmax.
Prev by Date:
**Re: Ploting integral curves**
Next by Date:
**Re: Plot results not right**
Previous by thread:
**Re: Finding middle of edge in a graph**
Next by thread:
**ValueQ and package**
| |