Peano
Loading...
Searching...
No Matches
plot-comparison-of-implementation-variants Namespace Reference

Functions

 plot_for_subset_of_variants (choices, tar, plt)
 
 construct_labels (sub_choices)
 You can pass in the subchoices directly, or you can simply pass in some strings.
 
 add_legend_and_labels (plt, labels_on_x_axis)
 Add the labels of the choices as x-ticks and rotate them by 90 degrees.
 

Variables

list Symbols = ["-o", "-s", "-v", "-^"]
 
 parser
 
 nargs
 
 help
 
 dest
 
 required
 
 True
 
 args = parser.parse_args()
 
 sub_choices = Choices
 

Function Documentation

◆ add_legend_and_labels()

plot-comparison-of-implementation-variants.add_legend_and_labels (   plt,
  labels_on_x_axis 
)

Add the labels of the choices as x-ticks and rotate them by 90 degrees.

After that, we have to extend the whitespace underneath the plot, as the labels otherwise don't fit in.

Definition at line 69 of file plot-comparison-of-implementation-variants.py.

◆ construct_labels()

plot-comparison-of-implementation-variants.construct_labels (   sub_choices)

You can pass in the subchoices directly, or you can simply pass in some strings.

The routine takes the points in the identifier and replaces them with linebreaks.

Definition at line 56 of file plot-comparison-of-implementation-variants.py.

◆ plot_for_subset_of_variants()

plot-comparison-of-implementation-variants.plot_for_subset_of_variants (   choices,
  tar,
  plt 
)

Variable Documentation

◆ args

plot-comparison-of-implementation-variants.args = parser.parse_args()

◆ dest

plot-comparison-of-implementation-variants.dest

◆ help

plot-comparison-of-implementation-variants.help

◆ nargs

plot-comparison-of-implementation-variants.nargs

◆ parser

plot-comparison-of-implementation-variants.parser
Initial value:
1= argparse.ArgumentParser(
2 description="SPH comparison of different implementation variants"
3 )

Definition at line 92 of file plot-comparison-of-implementation-variants.py.

◆ required

plot-comparison-of-implementation-variants.required

◆ sub_choices

list plot-comparison-of-implementation-variants.sub_choices = Choices

◆ Symbols

list plot-comparison-of-implementation-variants.Symbols = ["-o", "-s", "-v", "-^"]

◆ True

plot-comparison-of-implementation-variants.True