From 964fb0c2f942e0d9bd3bc407cde25a7ed7e5c386 Mon Sep 17 00:00:00 2001 From: FranziPl Date: Fri, 24 Apr 2020 08:22:10 +0200 Subject: [PATCH] Change axis unit of plot --- examples/concentrating_solar_power/csp_plant_example.py | 2 +- examples/concentrating_solar_power/example_csp_facade.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/concentrating_solar_power/csp_plant_example.py b/examples/concentrating_solar_power/csp_plant_example.py index bfaada1d..b32a64cc 100644 --- a/examples/concentrating_solar_power/csp_plant_example.py +++ b/examples/concentrating_solar_power/csp_plant_example.py @@ -163,7 +163,7 @@ fig, ax = plt.subplots() ax.plot(list(range(periods)), thermal_bus[(('collector', 'thermal'), 'flow')]) -ax.set(xlabel='time [h]', ylabel='Q_coll [W/m2]', +ax.set(xlabel='time [h]', ylabel='Q_coll [W]', title='Heat of the collector') ax.grid() ax.legend() diff --git a/examples/concentrating_solar_power/example_csp_facade.py b/examples/concentrating_solar_power/example_csp_facade.py index 0b9a46b6..77dad05d 100644 --- a/examples/concentrating_solar_power/example_csp_facade.py +++ b/examples/concentrating_solar_power/example_csp_facade.py @@ -162,7 +162,7 @@ fig, ax = plt.subplots() ax.plot(list(range(periods)), thermal_bus[(('solar_collector', 'thermal'), 'flow')]) -ax.set(xlabel='time [h]', ylabel='Q_coll [W/m2]', +ax.set(xlabel='time [h]', ylabel='Q_coll [W]', title='Heat of the collector') ax.grid() ax.legend()