Question: Draw a square with a Pentagram hole! The 3 3 square extends from 0 . 7 to 2 . 3 on the X axis and
Draw a square with a Pentagram hole!
The square extends from to on the X axis and from to on the Y axis.
Keep the X and Y arrays namedxp and yp respectively.
For your convenience, your Pentagram code from is copied below.
Do not forget to separate the pentagram and the square with None.
Draw the square using negative orientation because the orientation of the Pentagram is positive
Code from :
import matplotlib.pyplot as plt
xp
yp
pltaxisequal
pltaxisoff
pltfillxp yp
pltshow
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
