Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add splines figure and script #6656

Merged
merged 10 commits into from
May 6, 2022
Prev Previous commit
Next Next commit
Update GMT_splines.sh
Changed name and format of the output file.
  • Loading branch information
Esteban82 committed May 2, 2022
commit dd97a1537c5154f1e8bb856bfad866d502d2663a
2 changes: 1 addition & 1 deletion doc/scripts/GMT_splines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cat << EOF > t.txt
6 2.5
EOF
# Splines
gmt begin doc_splines png
gmt begin GMT_splines
gmt basemap -R-0.1/6.1/-0.1/3.1 -JX15c/6c -Baf+l"u" -By+l"u(x)" -BWSne
gmt sample1d t.txt -T0.01 -Fc | gmt plot -W1p -l"Cubic spline (-Fc)"
gmt sample1d t.txt -T0.01 -Fs1 | gmt plot -W1p,orange -l"Smooth cubic spline (-Fs1)"
Expand Down