Skip to content

Commit

Permalink
Add markers to basic plot image
Browse files Browse the repository at this point in the history
  • Loading branch information
timhoffm committed Jul 25, 2020
1 parent 329e0ba commit 351639c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/basic-plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

# Basic line plot
# -----------------------------------------------------------------------------
X = np.linspace(0, 10, 100)
X = np.linspace(0, 10, 33)
Y = 4+2*np.sin(2*X)
ax.plot(X, Y, color="C1", linewidth=0.75)
ax.plot(X, Y, "C1o-", linewidth=0.75)
ax.set_xlim(0, 8), ax.set_xticks(np.arange(1,8))
ax.set_ylim(0, 8), ax.set_yticks(np.arange(1,8))
ax.grid(linewidth=0.125)
Expand Down

0 comments on commit 351639c

Please sign in to comment.