Boxplot
Satellite Signal Strength
Signal quality distribution across orbital positions
Output
Python
import matplotlib.pyplot as plt
import numpy as np
np.random.seed(42)
satellites = ['LEO', 'MEO', 'GEO', 'HEO', 'Polar']
data = [
np.random.normal(-75, 8, 180),
np.random.normal(-85, 10, 180),
np.random.normal(-95, 12, 180),
np.random.normal(-88, 15, 180),
np.random.normal(-82, 9, 180)
]
fig, ax = plt.subplots(figsize=(10, 6), dpi=100)
ax.set_facecolor('#0a0a0f')
fig.patch.set_facecolor('#0a0a0f')
colors = ['#27F5B0', '#27D3F5', '#276CF5', '#4927F5', '#5314E6']
bp = ax.boxplot(data, widths=0.5, patch_artist=True, showfliers=True,
flierprops=dict(marker='^', markerfacecolor='#F54927', markersize=4, alpha=0.5),
medianprops=dict(color='#F5D327', linewidth=2.5))
for patch, color in zip(bp['boxes'], colors):
patch.set_facecolor(color)
patch.set_alpha(0.85)
patch.set_edgecolor('white')
for i, color in enumerate(colors):
bp['whiskers'][i*2].set_color(color)
bp['whiskers'][i*2+1].set_color(color)
bp['caps'][i*2].set_color(color)
bp['caps'][i*2+1].set_color(color)
ax.axhline(-90, color='#F5276C', linewidth=1.5, linestyle='--', alpha=0.7, label='Min Threshold')
ax.set_xticklabels(satellites)
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.spines['left'].set_color('#333333')
ax.spines['bottom'].set_color('#333333')
ax.yaxis.grid(True, color='#1a1a2e', linewidth=0.5, zorder=0)
ax.set_axisbelow(True)
ax.tick_params(axis='both', colors='#888888', labelsize=9, length=0, pad=8)
ax.set_ylabel('Signal Strength (dBm)', fontsize=11, color='white', fontweight='500')
ax.set_title('Satellite Signal Strength by Orbit Type', fontsize=14, color='white', fontweight='bold', pad=15)
ax.legend(loc='lower right', facecolor='#0a0a0f', edgecolor='#333333', labelcolor='white')
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Statistical
☕