Skip to content

Commit

Permalink
showcases: fix: followed omnetpp built-in chart padding changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 committed Feb 14, 2024
1 parent 0936c5a commit 5f6f4b5
Show file tree
Hide file tree
Showing 21 changed files with 119 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input pattern="results/General-#0.vec"/>
</inputs>
<charts>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="133" name="Application end-to-end delay, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="515578313" name="Application end-to-end delay, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils
# get chart properties
Expand Down Expand Up @@ -571,7 +571,7 @@ Show over_underflow cell?
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="$name"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="132" name="Application end-to-end delay, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1154207695" name="Application end-to-end delay, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
Expand Down Expand Up @@ -1203,7 +1203,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand Down
18 changes: 9 additions & 9 deletions showcases/measurement/jitter/JitterMeasurementShowcase.anf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input pattern="results/General-#0.vec"/>
</inputs>
<charts>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="208" name="Packet jitter, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="613418784" name="Packet jitter, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils, ideplot
Expand Down Expand Up @@ -578,10 +578,10 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="5"/>
<property name="image_export_width" value="9"/>
</chart>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="209" name="Packet jitter, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="870484180" name="Packet jitter, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils, ideplot
# get chart properties
Expand Down Expand Up @@ -1079,7 +1079,7 @@ Show over_underflow cell?
<property name="xaxis_max" value=""/>
<property name="image_export_width" value="9"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="210" name="Packet delay difference to mean, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="927827692" name="Packet delay difference to mean, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils, ideplot
Expand Down Expand Up @@ -1652,10 +1652,10 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="5"/>
<property name="image_export_width" value="9"/>
</chart>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="211" name="Packet delay difference to mean, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="254352706" name="Packet delay difference to mean, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils, ideplot
# get chart properties
Expand Down Expand Up @@ -2156,7 +2156,7 @@ Show over_underflow cell?
<property name="xaxis_max" value=""/>
<property name="image_export_width" value="9"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="213" name="Packet delay variation, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1050681317" name="Packet delay variation, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils, ideplot
Expand Down Expand Up @@ -2729,10 +2729,10 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="5"/>
<property name="image_export_width" value="9"/>
</chart>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="212" name="Packet delay variation, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="202094384" name="Packet delay variation, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils, ideplot
# get chart properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input pattern="results/General-#0.vec"/>
</inputs>
<charts>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="49379541" name="Source packet residence time, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="49379541" name="Source packet residence time, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils
# get chart properties
Expand Down Expand Up @@ -570,7 +570,7 @@ Show over_underflow cell?
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="$name"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="1902823577" name="Source packet residence time, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1902823577" name="Source packet residence time, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
Expand Down Expand Up @@ -1202,7 +1202,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand All @@ -1211,7 +1211,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="meanBitResidenceTimePerPacket:vector"/>
</chart>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="4" name="Switch packet residence time, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="4" name="Switch packet residence time, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils
# get chart properties
Expand Down Expand Up @@ -1777,7 +1777,7 @@ Show over_underflow cell?
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="$name"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="5" name="Switch packet residence time, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="5" name="Switch packet residence time, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
Expand Down Expand Up @@ -2409,7 +2409,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand All @@ -2418,7 +2418,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="meanBitResidenceTimePerPacket:vector"/>
</chart>
<chart createdWith="" icon="icons/full/obj/histogramchart.png" id="726181049" name="Destination packet residence time, histogram" resultTypes="" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="726181049" name="Destination packet residence time, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils
# get chart properties
Expand Down Expand Up @@ -2983,7 +2983,7 @@ Show over_underflow cell?
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="$name"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="1308848667" name="Destination packet residence time, vector" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1308848667" name="Destination packet residence time, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
Expand Down Expand Up @@ -3615,7 +3615,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input pattern="/inet/showcases/measurement/transmissiontime/results/General-*.sca"/>
</inputs>
<charts>
<chart icon="icons/full/obj/linechart.png" id="189" name="Source transmission time, vector" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="783497009" name="Source transmission time, vector" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils, ideplot
Expand Down Expand Up @@ -578,10 +578,10 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
</chart>
<chart icon="icons/full/obj/histogramchart.png" id="190" name="Source transmission time, histogram" template="histogramchart_native" type="HISTOGRAM">
<chart icon="icons/full/obj/histogramchart.png" id="146005671" name="Source transmission time, histogram" template="histogramchart_native" type="HISTOGRAM">
<script><![CDATA[from omnetpp.scave import results, chart, utils, ideplot
# get chart properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="1"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input pattern="results/General-#0.vec"/>
</inputs>
<charts>
<chart createdWith="" icon="icons/full/obj/barchart.png" id="1054147920" name="Number of packets sent and received" resultTypes="" template="barchart_native" type="BAR">
<chart icon="icons/full/obj/barchart.png" id="1960220605" name="Number of packets sent and received" template="barchart_native" type="BAR">
<script><![CDATA[from omnetpp.scave import results, chart, utils
# get chart properties
Expand Down Expand Up @@ -575,7 +575,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_format" value="$name"/>
<property name="include_fields" value="false"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="1310109976" name="Number of packets received / number of packets sent" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="761086276" name="Number of packets received / number of packets sent" template="linechart_native" type="LINE">
<script><![CDATA[import math
import numpy as np
from omnetpp.scave import results, chart, utils, ideplot, vectorops as ops
Expand Down Expand Up @@ -1165,7 +1165,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="5"/>
<property name="image_export_width" value="9"/>
</chart>
</charts>
Expand Down
12 changes: 6 additions & 6 deletions showcases/tsn/combiningfeatures/gptpandtas/extras.anf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<input pattern="results/Recovery-#0.vec"/>
</inputs>
<charts>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="1071993108" name="Recovery, Clock Drift, Time Domain of Primary Master (Domain 0)" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1112483559" name="Recovery, Clock Drift, Time Domain of Primary Master (Domain 0)" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
import os
Expand Down Expand Up @@ -656,7 +656,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_automatic" value="true"/>
<property name="legend_format" value=""/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="721776832" name="Recovery, Clock Drift, Time Domain of Hot-Standby Master (Domain 2)" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1201401208" name="Recovery, Clock Drift, Time Domain of Hot-Standby Master (Domain 2)" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
import os
Expand Down Expand Up @@ -1302,7 +1302,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_automatic" value="true"/>
<property name="legend_format" value=""/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="1621954179" name="Recovery, Clock Drift, Active Clocks in Bridges and End Stations" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1779049382" name="Recovery, Clock Drift, Active Clocks in Bridges and End Stations" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
import os
Expand Down Expand Up @@ -1948,7 +1948,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_automatic" value="true"/>
<property name="legend_format" value=""/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="531008952" name="Application End-to-End Delay, Recovery" resultTypes="" template="linechart_native" type="LINE">
<chart icon="icons/full/obj/linechart.png" id="1323479879" name="Application End-to-End Delay, Recovery" template="linechart_native" type="LINE">
<script><![CDATA[import math
from omnetpp.scave import results, chart, utils
Expand Down Expand Up @@ -2574,7 +2574,7 @@ utils.export_data_if_needed(df, props)
<property name="simplify" value="false"/>
<property name="yaxis_max" value=""/>
<property name="Plot.Antialias" value="true"/>
<property name="xaxis_max" value=""/>
<property name="xaxis_max" value="4"/>
<property name="image_export_width" value="9"/>
<property name="legend_prefer_module_display_paths" value="true"/>
<property name="legend_prefer_result_titles" value="true"/>
Expand All @@ -2583,7 +2583,7 @@ utils.export_data_if_needed(df, props)
<property name="legend_automatic" value="false"/>
<property name="legend_format" value="meanBitLifeTimePerPacket"/>
</chart>
<chart createdWith="" icon="icons/full/obj/linechart.png" id="1183560170" name="Application End-To-End Delay, All Cases" resultTypes="" template="linechart_separate_mpl" type="MATPLOTLIB">
<chart icon="icons/full/obj/linechart.png" id="119001743" name="Application End-To-End Delay, All Cases" template="linechart_separate_mpl" type="MATPLOTLIB">
<script><![CDATA[import math
import matplotlib.pyplot as plt
from omnetpp.scave import results, chart, utils
Expand Down
Loading

0 comments on commit 5f6f4b5

Please sign in to comment.