giacgiuliari / icarus-framework

Simulation framework for the attacks presented in "ICARUS: Attacking low Earth orbit satellite networks", presented at USENIX ATC '21.
MIT License
26 stars 5 forks source link

Why didn't I get pictures when the main program went to matplotlib? #4

Closed miaomiao1miao1 closed 1 year ago

miaomiao1miao1 commented 2 years ago

The key code is as follows:

As a first example, we plot the network as a background for other plots.

    # Note: for this plot, only outputs from lsn_ph are required, so Simulator([lsn_ph], BASEDIR) would work too
    # show() shows an interactive plot, save_to_file() plots to file
    GeoPlotBuilder().constellation(sat_pos, isls).show().save_to_file(
        "01_const_bckg.png"
    )