MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

VertexWeight not showing in Graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117081] VertexWeight not showing in Graph
  • From: Lou <lvveen32 at xs4all.nl>
  • Date: Wed, 9 Mar 2011 06:59:51 -0500 (EST)

Hi All,
I'm using the example in the helpfiles:
Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3,
  3 \[UndirectedEdge] 1}, EdgeWeight -> {2, 3, 4}]
I read that it's possible to show the edgeweight as a label with
EdgeLabels->"EdgeWeight"
However using that option doesn't show the expected (by me that is..)
2,3 and 4.
See document on edgelabels.
What am I doing wrong?
Kind regards,
Laurent


  • Prev by Date: Gotcha?
  • Next by Date: Mathematica 8.0.1 for Mac $Version string?
  • Previous by thread: Re: Gotcha?
  • Next by thread: Re: VertexWeight not showing in Graph