15.08.2015 Views

Introduction to the Modeling and Analysis of Complex Systems

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

15.5. IMPORTING/EXPORTING NETWORK DATA 315showing node namesusing different node shape24 2527 232612 31 2917 7113 19 28 1802 3332146 1 1516 13 85302042210921changing node sizescoloring nodes <strong>and</strong> edges1.0nodes only1.0edges only0.80.80.60.60.40.40.20.20.00.00.20.2 0.0 0.2 0.4 0.6 0.8 1.0 1.20.20.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2Figure 15.5: Visual output <strong>of</strong> Code 15.13, showing examples <strong>of</strong> drawing options availablein NetworkX. The same node positions are used in all panels. The last two examplesshow <strong>the</strong> axes because <strong>the</strong>y are generated using different drawing functions.To suppress <strong>the</strong> axes, use axis(’<strong>of</strong>f’) right after <strong>the</strong> network drawing.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!