Skip to content

Commit 1aeab11

Browse files
committed
changed input xy points to create path
1 parent 09d956b commit 1aeab11

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
-2.28 KB
Loading

src/simulations/course/cubic_spline/cubic_spline_2d_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def main():
2929
Main process function
3030
"""
3131

32-
x_points = [-2.5, 0.0, 2.5, 5.0, 7.5, 3.0, -1.0]
33-
y_points = [0.7, -6, 5, 6.5, 0.0, 5.0, -2.0]
32+
x_points = [0.0, 10.0, 25, 40, 50]
33+
y_points = [0.0, 4, -12, 20, -13]
3434

3535
ds = 0.1 # distance between 2 interpolated points
3636

6.24 KB
Loading
1.42 KB
Loading

0 commit comments

Comments
 (0)