Message Boards Message Boards

0
|
5262 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

How can I DRAW a graph in Mathematica?

Posted 11 years ago
I know this is probably a dumb question, but forgive me, I'm really noob in Mathematica. I want to know how can I actually draw (maybe Plot is more appropriate word) a graph on mathematica? When I just write
Graph[{1 -> 2, 2 -> 3,3 -> 1}]]

its just gave me the same line as input, instead of a drawing. I know I can use GraphPlot, but I want to try all the Graph examples that are in the documentation, and I just can't get to it. Thanks for your help, and sorry for asking so basic question...
POSTED BY: Itzik Bak
Graph[{1 -> 2, 2 -> 3,3 -> 1}]
without the second "]" should work and give you this:

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract