Skip to content

Commit

Permalink
Update chapter_1.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EiseWN authored Sep 30, 2023
1 parent f195149 commit ae50a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/practicals/chapter_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ This exercise is based on the dataset contained in the file _MPMtransportdata.xl
Create a new figure, which will be divided into two subplots. In the top subplot of the figure, plot sediment transport $q_s$ (y-axis) as a function of shear stress $\tau$ (x-axis), with a colormap depending on the base 10 logarithm of the Bonnefille number $D\ast$. On the bottom part, plot the same figure but then in its nondimensional form. Add colorbars with proper labels to both plots.
````{note}
For a better distribution of the colors, it is recommended to use the [base 10 logarithm](https://numpy.org/doc/stable/reference/generated/numpy.log10.html) of the Bonnefille number as the "color vector" argument of the function [scatter()](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html), instead of just the Bonnefille number.
For a better distribution of the colors, we use the [base 10 logarithm](https://numpy.org/doc/stable/reference/generated/numpy.log10.html) of the Bonnefille number as the "color vector" argument of the function [scatter()](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html), instead of just the Bonnefille number.
````
15. Look at the data plotted in non-dimensional form. One set of points seems to follow a different trend than the others. What range of $D\ast$ does this correspond to?
Expand Down

0 comments on commit ae50a06

Please sign in to comment.