0

I'm trying to reproduce the drawing below

the network code I'm trying to draw is this:

import networkx as nx

import numpy as np

import matplotlib.pyplot as plt

def draw_graph():

    fig, ax = plt.subplots(figsize = (8,6))
    G=nx.waxman_graph(100,1,0.1)
    nx.draw(G,node_size=20,node_color='r')

    plt.show()

draw_graph()

How could I draw the axes like the one in the figure for the network in the code above

Kara
  • 5,996
  • 16
  • 49
  • 56
  • See answers to similar [How to make x and y axes appear when using networkx and matplotlib?](https://stackoverflow.com/questions/56994061/how-to-make-x-and-y-axes-appear-when-using-networkx-and-matplotlib) here. – r-beginners Mar 08 '22 at 02:49

0 Answers0