From ff4310a21c88031c932a182b2a9ab5daf276b948 Mon Sep 17 00:00:00 2001 From: Andi <andi.gerken@gmail.com> Date: Mon, 26 Aug 2024 14:40:36 +0200 Subject: [PATCH] Plotting start for tracks when plotting a track --- src/robofish/io/file.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/robofish/io/file.py b/src/robofish/io/file.py index a1b82e0..1063960 100644 --- a/src/robofish/io/file.py +++ b/src/robofish/io/file.py @@ -971,6 +971,15 @@ class File(h5py.File): label="End", zorder=5, ) + ax.scatter( + [poses[:, 0, 0]], + [poses[:, 0, 1]], + marker="o", + c="black", + s=ms, + label="Start", + zorder=5, + ) if legend and isinstance(legend, str): ax.legend(legend) elif legend: -- GitLab