Skip to content

Commit

Permalink
Correct BMD signs per #48
Browse files Browse the repository at this point in the history
  • Loading branch information
ccaprani committed Sep 26, 2023
1 parent 551a400 commit cb623d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pycba/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ def plot_results(self):

ax = axs[0]
ax.plot([0, L], [0, 0], "k", lw=2)
ax.plot(res.x, -res.M, "r")
ax.plot(res.x, res.M, "r")
ax.invert_yaxis()
ax.grid()
ax.set_ylabel("Bending Moment (kNm)")

Expand Down

0 comments on commit cb623d5

Please sign in to comment.