From d69429b2b4afe3fcb0e3f1f3c15a6dca0d7a4406 Mon Sep 17 00:00:00 2001 From: Alexander Fabisch Date: Sun, 2 Feb 2020 23:13:52 +0100 Subject: [PATCH] Add axis labels --- examples/behavior_search/plot_obstacle_avoidance_dmp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/behavior_search/plot_obstacle_avoidance_dmp.py b/examples/behavior_search/plot_obstacle_avoidance_dmp.py index 24628cf0..0f19d9af 100644 --- a/examples/behavior_search/plot_obstacle_avoidance_dmp.py +++ b/examples/behavior_search/plot_obstacle_avoidance_dmp.py @@ -62,5 +62,7 @@ ax.plot(X[:, 0], X[:, 1], c="k", alpha=it / 20.0, lw=3, ls="--") ax.set_xticks(()) ax.set_yticks(()) +ax.set_xlabel("$x_1$") +ax.set_ylabel("$x_2$") plt.legend(loc="best") plt.show()