Added axes at 0,0
This commit is contained in:
parent
00db3aea6f
commit
68db9268d7
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ def part1(radFactor, orbits):
|
|||
ax.plot(results.y[0],results.y[1]) # Make the plot
|
||||
ax.plot(0,0)
|
||||
ax.legend(['Moon']) # and add a key.
|
||||
ax.axhline(y=0, color='k', linewidth=0.5)
|
||||
ax.axvline(x=0, color='k', linewidth=0.5)
|
||||
plt.show()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue