[Date Index]
[Thread Index]
[Author Index]
Re: Thikness of edges in a 3D graph
*To*: mathgroup at smc.vnet.net
*Subject*: [mg104773] Re: Thikness of edges in a 3D graph
*From*: cherifrahal <cherif.rahal at gmail.com>
*Date*: Mon, 9 Nov 2009 05:46:07 -0500 (EST)
*References*: <28259286.1257594705439.JavaMail.root@n11> <hd6c56$p47$1@smc.vnet.net>
On Nov 8, 1:04 pm, "David Park" <djmp... at comcast.net> wrote:
> Look up Cylinder and Function in the Documentation Center.
>
> The EdgeRenderingFunction plugs the points defining the two ends of the edge
> into Cylinder where the #1 is. The second argument in Cylinder is the radius
> (thickness) of the edge. So just increase it. You don't need the extra
> brackets.
>
> GraphPlot3D[{1 -> 2, 1 -> 4, 1 -> 5, 2 -> 3, 2 -> 6, 3 -> 4, 3 -> 7,
> 4 -> 8, 5 -> 6, 5 -> 8, 6 -> 7, 7 -> 8, 5 -> 10, 6 -> 11, 10 -> 11,
> 10 -> 12, 11 -> 12, 12 -> 13, 9 -> 13},
> EdgeRenderingFunction -> (Cylinder[{#1}, 0.15] &),
> VertexCoordinateRules -> {1 -> {-1, 1, 2}, 2 -> {1, 1, 2},
> 4 -> {-1, -1, 2}, 3 -> {1, -1, 2}, 5 -> {-2, 2, 0}, 6 -> {2, 2, 0},
> 7 -> {2, -2, 0}, 8 -> {-2, -2, 0}, 9 -> {0, 0, 2},
> 10 -> {-2, 4, 0}, 11 -> {2, 4, 0}, 12 -> {0, 3, 3},
> 13 -> {0, 2.2, 3.5}}]
>
> David Park
> djmp... at comcast.nethttp://home.comcast.net/~djmpark/
>
> From: cherifrahal [mailto:cherif.ra... at gmail.com]
>
> Hello,
> I'm beginner in Mathematica !
thank you very much for your answer,
but what I need, is different thikness for different edges, for
exemple for the edge 1-> 2 I need the thikness to be 1 and for the
edge 2->3 i need the thikness to be 3 ... etc.
Is it possible to do that with mathematica ?
Thank you in advance
Cherif Rahal
> I need some help to draw a 3D graph with different edge's thikness
> Can someone help me !
> I give here an example of my graphs !
> Thank's in advance
> cherif Rahal
> GraphPlot3D[{1 -> 2, 1 -> 4, 1 -> 5, 2 -> 3, 2 -> 6, 3 -> 4, 3 -> 7,
> 4 -> 8, 5 -> 6, 5 -> 8, 6 -> 7, 7 -> 8, 5 -> 10, 6 -> 11, 10 -> 11,
> 10 -> 12, 11 -> 12, 12 -> 13, 9 -> 13},
> EdgeRenderingFunction -> (Cylinder[{#1}, {0.05}] &),
> VertexCoordinateRules -> {1 -> {-1, 1, 2}, 2 -> {1, 1, 2},
> 4 -> {-1, -1, 2}, 3 -> {1, -1, 2}, 5 -> {-2, 2, 0}, 6 -> {2, 2, 0},
> 7 -> {2, -2, 0}, 8 -> {-2, -2, 0}, 9 -> {0, 0, 2},
> 10 -> {-2, 4, 0}, 11 -> {2, 4, 0}, 12 -> {0, 3, 3},
> 13 -> {0, 2.2, 3.5}}]
Prev by Date:
**Re: Piecewise with ODE and constant**
Next by Date:
**Re: Simplification problem**
Previous by thread:
**Re: Thikness of edges in a 3D graph**
Next by thread:
**What is going on!?!**
| |