From d0c4c8052249d9195bdbace429199e625076c629 Mon Sep 17 00:00:00 2001 From: tschlenther Date: Thu, 25 Apr 2024 13:58:06 +0200 Subject: [PATCH] plot descriptions --- .../analysis/emissions/KelheimEmissionsDashboard.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/matsim/analysis/emissions/KelheimEmissionsDashboard.java b/src/main/java/org/matsim/analysis/emissions/KelheimEmissionsDashboard.java index e84a8ab2..aec4f3c9 100644 --- a/src/main/java/org/matsim/analysis/emissions/KelheimEmissionsDashboard.java +++ b/src/main/java/org/matsim/analysis/emissions/KelheimEmissionsDashboard.java @@ -47,7 +47,7 @@ public void configure(Header header, Layout layout) { layout.row("links") .el(Table.class, (viz, data) -> { viz.title = "Emissions"; - viz.description = "by pollutant"; + viz.description = "by pollutant. Values are scaled from the simulation sample size to 100%."; viz.dataset = data.compute(KelheimOfflineAirPollutionAnalysisByEngineInformation.class, "emissions_total.csv", new String[0]); viz.enableFilter = false; viz.showAllRows = true; @@ -55,13 +55,13 @@ public void configure(Header header, Layout layout) { }) .el(Links.class, (viz, data) -> { viz.title = "Emissions per Link per Meter"; - viz.description = "Displays the emissions for each link per meter."; + viz.description = "Displays the emissions for each link per meter. Be aware that values are shown in the simulation sample size."; viz.height = 12.0; viz.datasets.csvFile = data.compute(KelheimOfflineAirPollutionAnalysisByEngineInformation.class, "emissions_per_link_per_m.csv", new String[0]); viz.network = data.compute(CreateGeoJsonNetwork.class, "network.geojson", new String[0]); viz.display.color.columnName = "CO2_TOTAL [g/m]"; viz.display.color.dataset = "csvFile"; - viz.display.width.scaleFactor = 1; + viz.display.width.scaleFactor = 100; viz.display.width.columnName = "CO2_TOTAL [g/m]"; viz.display.width.dataset = "csvFile"; viz.center = data.context().getCenter(); @@ -69,14 +69,14 @@ public void configure(Header header, Layout layout) { }); layout.row("second").el(XYTime.class, (viz, data) -> { viz.title = "CO₂ Emissions"; - viz.description = "per day"; + viz.description = "per day. Be aware that values are shown in the simulation sample size."; viz.height = 12.0; viz.file = data.compute(KelheimOfflineAirPollutionAnalysisByEngineInformation.class, "emissions_grid_per_day.xyt.csv", new String[0]); }); layout.row("third") .el(XYTime.class, (viz, data) -> { viz.title = "CO₂ Emissions"; - viz.description = "per hour"; + viz.description = "per hour. Be aware that values are shown in the simulation sample size."; viz.height = 12.; viz.file = data.compute(KelheimOfflineAirPollutionAnalysisByEngineInformation.class, "emissions_grid_per_hour.csv"); });