Skip to content

Commit

Permalink
fixed error regarding length of waverider in LE plot
Browse files Browse the repository at this point in the history
  • Loading branch information
jade5638 committed Jun 23, 2024
1 parent 54a7e11 commit f6dee2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waverider_generator/plotting_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def Plot_Leading_Edge(waverider: waverider,latex: bool):
fig, ax=plt.subplots()

le=waverider.leading_edge
base_point=[5,0]
base_point=[waverider.length,0]
ax.plot(le[:,2],le[:,0],'b-',label='Leading Edge')

ax.plot([le[0,2],base_point[1]],[le[0,0],base_point[0]],'--k',label='Symmetry Plane')
Expand Down

0 comments on commit f6dee2a

Please sign in to comment.