MathGroup Archive 2009

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

Search the Archive

inserting symbols into a file using mathematica

  • To: mathgroup at
  • Subject: [mg97606] inserting symbols into a file using mathematica
  • From: Nishant <voneur at>
  • Date: Tue, 17 Mar 2009 04:56:25 -0500 (EST)

Given a text file containing something like
a b 1
b c 2
I want to make a graph out of this file taking a,b,c as nodes
Is it possible to parse this file using mathematica and insert symbol ->,showing edges,
a->b 1
b->c 2
It has to be done in mathematica only,otherwise the symbol
-> looses its significance as in mathematica does not recognize it as a edge symbol..
Thanks for the help

  • Prev by Date: PlotMarkers bug?
  • Next by Date: Re: setting discrete values for a function -- newbie
  • Previous by thread: Re: PlotMarkers bug?
  • Next by thread: moments of a sum of lognormal variables