Skip to content

Commit

Permalink
Fix plotting and headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlend committed May 1, 2024
1 parent 2b32c83 commit a5df838
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/examples/galactic_center.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@
plt.xlabel("RA (Deg)")
plt.ylabel("DEC (Deg)")
plt.title("NEOS On Sky")
plt.show()
1 change: 1 addition & 0 deletions src/examples/plot_light_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@
plt.plot(dts, fluxes)
plt.xlabel("Time (days)")
plt.ylabel("Flux (Jy)")
plt.show()
4 changes: 2 additions & 2 deletions src/examples/plot_trojans.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Plot the results
# %%
# Histogram of Trojan counts
# ==========================
# --------------------------
plt.figure(figsize=(6, 4), dpi=150)
bins = np.linspace(-180, 180, 120)
plt.hist(longitudes[leading], bins=bins, histtype="step", color="C0")
Expand All @@ -46,7 +46,7 @@

# %%
# Top down view of the solar system
# =================================
# ---------------------------------
plt.figure(dpi=150)
plt.scatter(*positions[:, leading], s=0.2, c="C0")
plt.scatter(*positions[:, trailing], s=0.2, c="C2")
Expand Down

0 comments on commit a5df838

Please sign in to comment.