Skip to content

Commit

Permalink
modified FEM figure
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed May 23, 2022
1 parent 5d588ac commit 43dc4a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Figures/Chapter2/approximated_solution.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/example_function_FEM.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def u(x):

plt.xlabel("$x$")
plt.yticks([0, 1, u(0)], ["0", "1", "$U_0$"], alpha=0.7)
plt.xticks([], [])
plt.xticks(x_approx[2:5], ["node $i-1$", "node $i$", "node $i+1$"], fontsize=8)
plt.gca().spines["top"].set_visible(False)
plt.gca().spines["bottom"].set_visible(False)
plt.gca().spines["right"].set_visible(False)
Expand Down

0 comments on commit 43dc4a8

Please sign in to comment.