Definition at line 40 of file LegHistogramChart.java.
◆ writeGraphic() [1/2]
| static void org.matsim.analysis.LegHistogramChart.writeGraphic |
( |
LegHistogram |
legHistogram, |
|
|
final String |
filename |
|
) |
| |
|
static |
Writes a graphic showing the number of departures, arrivals and vehicles en route of all legs/trips to the specified file.
- Parameters
-
Definition at line 93 of file LegHistogramChart.java.
95 ChartUtils.saveChartAsPNG(
new File(filename), getGraphic(legHistogram.getAllModesData(),
"all", legHistogram.getIteration()), 1024, 768);
96 }
catch (IOException e) {
97 throw new UncheckedIOException(e);
◆ writeGraphic() [2/2]
| static void org.matsim.analysis.LegHistogramChart.writeGraphic |
( |
LegHistogram |
legHistogram, |
|
|
final String |
filename, |
|
|
final String |
legMode |
|
) |
| |
|
static |
Writes a graphic showing the number of departures, arrivals and vehicles en route of all legs/trips with the specified transportation mode to the specified file.
- Parameters
-
| legHistogram | |
| filename | |
| legMode | |
Definition at line 111 of file LegHistogramChart.java.
113 ChartUtils.saveChartAsPNG(
new File(filename), getGraphic(legHistogram.getDataForMode(legMode), legMode, legHistogram.getIteration()), 1024, 768);
114 }
catch (IOException e) {
115 throw new UncheckedIOException(e);
The documentation for this class was generated from the following file: