I'm trying to plot the flag of Venezuela with matplotlib code using the code below:
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as patch
a = patch.Rectangle((0,1), width = 12, height = 2, facecolor = '#E41F26', edgecolor = 'grey')
b = patch.Rectangle((0,3), width = 12, height = 2, facecolor = '#253D99', edgecolor = 'grey')
c = patch.Rectangle((0,5), width = 12, height = 2, facecolor = '#FDCC02', edgecolor = 'grey')
m, n = plt.subplots()
n.add_patch(a)
n.add_patch(b)
n.add_patch(c)
plt.plot(6,4, markersize = 9.5)
x = np.linspace(3, 9, 8)
y = np.concatenate((np.linspace(3.5, 4.5, 4), np.linspace(4.5, 3.5, 4)))
for (p, q) in zip (x, y):
n.plot(p, q, marker=(5, 1, q*10), color='white', markersize=35)
plt.show()
I would like to adjust the rotation of the stars as in the picture below about the Flag of venezuela
