79694503

Date: 2025-07-08 15:51:32
Score: 0.5
Natty:
Report link

import matplotlib.pyplot as plt

import matplotlib.patches as patches

# إنشاء الشكل

fig, ax = plt.subplots(figsize=(6, 6))

ax.set_xlim(0, 300)

ax.set_ylim(0, 300)

ax.set_aspect('equal')

ax.axis('off') # إخفاء المحاور

# ألوان الشعار

blue = '#0c2c59'

red = '#d12031'

# الدائرة الخارجية

outer_circle = patches.Circle((150, 150), 140, fill=False, edgecolor=blue, linewidth=5)

ax.add_patch(outer_circle)

# الدائرة الداخلية

inner_circle = patches.Circle((150, 150), 110, fill=True, color='white', linewidth=2, edgecolor=blue)

ax.add_patch(inner_circle)

# أجزاء الشعار (تمثيل مبسط)

# الجزء الأزرق الأيسر

left_part = patches.Wedge(center=(150, 150), r=100, theta1=110, theta2=250, facecolor=blue)

ax.add_patch(left_part)

# الجزء الأحمر الأعلى

top_red = patches.Wedge(center=(150, 150), r=100, theta1=250, theta2=290, facecolor=red)

ax.add_patch(top_red)

# الجزء الأحمر الأعلى الثاني

top_red_2 = patches.Wedge(center=(150, 150), r=100, theta1=70, theta2=110, facecolor=red)

ax.add_patch(top_red_2)

# الجزء الأزرق الأيمن

right_part = patches.Wedge(center=(150, 150), r=100, theta1=290, theta2=70, facecolor=blue)

ax.add_patch(right_part)

# المستطيل الأفقي الأبيض (يمثل تقاطع الخط الأبيض الأفقي في الشعار)

ax.add_patch(patches.Rectangle((100, 140), 100, 20, color='white'))

# المستطيل الرأسي الأبيض (الخط الأبيض في المنتصف)

ax.add_patch(patches.Rectangle((140, 100), 20, 100, color='white'))

# نص العنوان

plt.text(150, 270, 'GAZİANTEP ÜNİVERSİTESİ', fontsize=12, ha='center', va='center', color=blue, fontweight='bold')

# نص السنة

plt.text(150, 35, '1973', fontsize=16, ha='center', va='center', color=blue, fontweight='bold')

# النجوم الحمراء

plt.text(70, 35, '★', fontsize=20, ha='center', va='center', color=red)

plt.text(230, 35, '★', fontsize=20, ha='center', va='center', color=red)

# عرض الرسم

plt.show()

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: N4K Ahmad