from omnetpp.scave import results, chart, utils, plot, vectorops as ops

params = chart.get_properties()
utils.preconfigure_plot(props)

filter_expression = params["filter"]

df = results.get_vectors(filter_expression, include_attrs=True, include_itervars=True)

if df.empty:
    plot.set_warning("The result filter returned no data.")
    exit(1)

df = ops.perform_vector_ops(df, params["vector_operations"])

plot.plot_vectors(df)

utils.postconfigure_plot(props)

utils.export_image_if_needed(props)
utils.export_data_if_needed(df, props)

fef7fff1ad4e4d1260391e4b657682b57097fe40
<mask token>

<mask token>
utils.preconfigure_plot(props)
<mask token>
if df.empty:
    plot.set_warning('The result filter returned no data.')
    exit(1)
<mask token>
plot.plot_vectors(df)
utils.postconfigure_plot(props)
utils.export_image_if_needed(props)
utils.export_data_if_needed(df, props)

<mask token>
params = chart.get_properties()
utils.preconfigure_plot(props)
filter_expression = params['filter']
df = results.get_vectors(filter_expression, include_attrs=True,
    include_itervars=True)
if df.empty:
    plot.set_warning('The result filter returned no data.')
    exit(1)
df = ops.perform_vector_ops(df, params['vector_operations'])
plot.plot_vectors(df)
utils.postconfigure_plot(props)
utils.export_image_if_needed(props)
utils.export_data_if_needed(df, props)

from omnetpp.scave import results, chart, utils, plot, vectorops as ops
params = chart.get_properties()
utils.preconfigure_plot(props)
filter_expression = params['filter']
df = results.get_vectors(filter_expression, include_attrs=True,
    include_itervars=True)
if df.empty:
    plot.set_warning('The result filter returned no data.')
    exit(1)
df = ops.perform_vector_ops(df, params['vector_operations'])
plot.plot_vectors(df)
utils.postconfigure_plot(props)
utils.export_image_if_needed(props)
utils.export_data_if_needed(df, props)

from omnetpp.scave import results, chart, utils, plot, vectorops as ops

params = chart.get_properties()
utils.preconfigure_plot(props)

filter_expression = params["filter"]

df = results.get_vectors(filter_expression, include_attrs=True, include_itervars=True)

if df.empty:
    plot.set_warning("The result filter returned no data.")
    exit(1)

df = ops.perform_vector_ops(df, params["vector_operations"])

plot.plot_vectors(df)

utils.postconfigure_plot(props)

utils.export_image_if_needed(props)
utils.export_data_if_needed(df, props)
