commit 2022-03-03]12:04:37
This commit is contained in:
parent
ba5e1f48f5
commit
7cef1c9735
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Usage matplotlib
|
||||||
|
|
||||||
|
## Pre-requirements for usage of matplotlib
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install matplotlib
|
||||||
|
pip install numpy
|
||||||
|
pip install pyqt5
|
||||||
|
```
|
10
chart.py
Normal file
10
chart.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import matplotlib.pyplot as plt
|
||||||
|
import numpy as np
|
||||||
|
|
||||||
|
x = np.arange(0, 2, 0.2)
|
||||||
|
# print(x)
|
||||||
|
|
||||||
|
plt.plot(x, x, 'bo')
|
||||||
|
plt.plot(x, x**2, color='#e35f62', marker='*', linewidth=2)
|
||||||
|
plt.plot(x, x**3, color='forestgreen', marker='^', markersize=9)
|
||||||
|
plt.show()
|
@ -1,5 +1,5 @@
|
|||||||
clients:1
|
clients:5
|
||||||
leftSubnet:10.0.
|
leftSubnet:10.0.
|
||||||
rightSubnet:10.1.
|
rightSubnet:10.1.
|
||||||
path_c2r_0:10,10,4,0
|
path_c2r_0:10,10,4,30
|
||||||
topoType:IoTMultiClient
|
topoType:IoTMultiClient
|
||||||
|
39
netstat_router_after
Normal file
39
netstat_router_after
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
Ip:
|
||||||
|
Forwarding: 1
|
||||||
|
224 total packets received
|
||||||
|
224 forwarded
|
||||||
|
0 incoming packets discarded
|
||||||
|
0 incoming packets delivered
|
||||||
|
224 requests sent out
|
||||||
|
Icmp:
|
||||||
|
0 ICMP messages received
|
||||||
|
0 input ICMP message failed
|
||||||
|
ICMP input histogram:
|
||||||
|
0 ICMP messages sent
|
||||||
|
0 ICMP messages failed
|
||||||
|
ICMP output histogram:
|
||||||
|
Tcp:
|
||||||
|
0 active connection openings
|
||||||
|
0 passive connection openings
|
||||||
|
0 failed connection attempts
|
||||||
|
0 connection resets received
|
||||||
|
0 connections established
|
||||||
|
0 segments received
|
||||||
|
0 segments sent out
|
||||||
|
0 segments retransmitted
|
||||||
|
0 bad segments received
|
||||||
|
0 resets sent
|
||||||
|
Udp:
|
||||||
|
0 packets received
|
||||||
|
0 packets to unknown port received
|
||||||
|
0 packet receive errors
|
||||||
|
0 packets sent
|
||||||
|
0 receive buffer errors
|
||||||
|
0 send buffer errors
|
||||||
|
UdpLite:
|
||||||
|
TcpExt:
|
||||||
|
0 packet headers predicted
|
||||||
|
IpExt:
|
||||||
|
InOctets: 146285
|
||||||
|
OutOctets: 292570
|
||||||
|
InNoECTPkts: 224
|
36
netstat_router_before
Normal file
36
netstat_router_before
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Ip:
|
||||||
|
Forwarding: 1
|
||||||
|
0 total packets received
|
||||||
|
0 forwarded
|
||||||
|
0 incoming packets discarded
|
||||||
|
0 incoming packets delivered
|
||||||
|
0 requests sent out
|
||||||
|
Icmp:
|
||||||
|
0 ICMP messages received
|
||||||
|
0 input ICMP message failed
|
||||||
|
ICMP input histogram:
|
||||||
|
0 ICMP messages sent
|
||||||
|
0 ICMP messages failed
|
||||||
|
ICMP output histogram:
|
||||||
|
Tcp:
|
||||||
|
0 active connection openings
|
||||||
|
0 passive connection openings
|
||||||
|
0 failed connection attempts
|
||||||
|
0 connection resets received
|
||||||
|
0 connections established
|
||||||
|
0 segments received
|
||||||
|
0 segments sent out
|
||||||
|
0 segments retransmitted
|
||||||
|
0 bad segments received
|
||||||
|
0 resets sent
|
||||||
|
Udp:
|
||||||
|
0 packets received
|
||||||
|
0 packets to unknown port received
|
||||||
|
0 packet receive errors
|
||||||
|
0 packets sent
|
||||||
|
0 receive buffer errors
|
||||||
|
0 send buffer errors
|
||||||
|
UdpLite:
|
||||||
|
TcpExt:
|
||||||
|
0 packet headers predicted
|
||||||
|
IpExt:
|
42
netstat_server_after
Normal file
42
netstat_server_after
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
Ip:
|
||||||
|
Forwarding: 1
|
||||||
|
76 total packets received
|
||||||
|
0 forwarded
|
||||||
|
0 incoming packets discarded
|
||||||
|
76 incoming packets delivered
|
||||||
|
148 requests sent out
|
||||||
|
Icmp:
|
||||||
|
14 ICMP messages received
|
||||||
|
0 input ICMP message failed
|
||||||
|
ICMP input histogram:
|
||||||
|
destination unreachable: 14
|
||||||
|
0 ICMP messages sent
|
||||||
|
0 ICMP messages failed
|
||||||
|
ICMP output histogram:
|
||||||
|
IcmpMsg:
|
||||||
|
InType3: 14
|
||||||
|
Tcp:
|
||||||
|
0 active connection openings
|
||||||
|
0 passive connection openings
|
||||||
|
0 failed connection attempts
|
||||||
|
0 connection resets received
|
||||||
|
0 connections established
|
||||||
|
0 segments received
|
||||||
|
0 segments sent out
|
||||||
|
0 segments retransmitted
|
||||||
|
0 bad segments received
|
||||||
|
0 resets sent
|
||||||
|
Udp:
|
||||||
|
62 packets received
|
||||||
|
0 packets to unknown port received
|
||||||
|
0 packet receive errors
|
||||||
|
148 packets sent
|
||||||
|
0 receive buffer errors
|
||||||
|
0 send buffer errors
|
||||||
|
UdpLite:
|
||||||
|
TcpExt:
|
||||||
|
0 packet headers predicted
|
||||||
|
IpExt:
|
||||||
|
InOctets: 35533
|
||||||
|
OutOctets: 110752
|
||||||
|
InNoECTPkts: 76
|
36
netstat_server_before
Normal file
36
netstat_server_before
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Ip:
|
||||||
|
Forwarding: 1
|
||||||
|
0 total packets received
|
||||||
|
0 forwarded
|
||||||
|
0 incoming packets discarded
|
||||||
|
0 incoming packets delivered
|
||||||
|
0 requests sent out
|
||||||
|
Icmp:
|
||||||
|
0 ICMP messages received
|
||||||
|
0 input ICMP message failed
|
||||||
|
ICMP input histogram:
|
||||||
|
0 ICMP messages sent
|
||||||
|
0 ICMP messages failed
|
||||||
|
ICMP output histogram:
|
||||||
|
Tcp:
|
||||||
|
0 active connection openings
|
||||||
|
0 passive connection openings
|
||||||
|
0 failed connection attempts
|
||||||
|
0 connection resets received
|
||||||
|
0 connections established
|
||||||
|
0 segments received
|
||||||
|
0 segments sent out
|
||||||
|
0 segments retransmitted
|
||||||
|
0 bad segments received
|
||||||
|
0 resets sent
|
||||||
|
Udp:
|
||||||
|
0 packets received
|
||||||
|
0 packets to unknown port received
|
||||||
|
0 packet receive errors
|
||||||
|
0 packets sent
|
||||||
|
0 receive buffer errors
|
||||||
|
0 send buffer errors
|
||||||
|
UdpLite:
|
||||||
|
TcpExt:
|
||||||
|
0 packet headers predicted
|
||||||
|
IpExt:
|
Loading…
Reference in New Issue
Block a user