Skip to content

This code is used to parse xdd output files and create Plotly plots using Python

Notifications You must be signed in to change notification settings

bwatkinson/plotly_code

Repository files navigation

# Example of generating plot data file
python create_plot_files.py -d ./xdd_data_sets/xdd_with_bs_16384 -i ./plot_files/xdd_with_bs_16384.plot 
python create_plot_files.py --directory ./xdd_data_sets/xdd_with_bs_16384 --input_file ./plot_files/xdd_with_bs_16384.plot 
python create_plot_files.py --bulk ./plot_files,./xdd_data_sets
python create_plot_files.py -b ./plot_files,./xdd_data_sets

# Example of then generating plot from the output from above command
python plot_graphs.py -i xdd_with_bs_16384_data.txt 
python plot_graphs.py -i xdd_with_bs_16384_data.txt -e ALL:STDDEV-1:STDERR-3:STDERR
python plot_graphs.py --input_file xdd_with_bs_16384_data.txt --exclude ALL:STDDEV-1:STDERR-3:STDERR
# If you want to just delete a say dataset 2 you could also do
python plot_graphs.py -i all_Bandwidth_data.txt -e DEL:2
python plot_gprahs.py -i all_Bandwidth_data.txt -e ALL:STDDEV-DEL:2
# If you want to delete a couple of graphs, you can do
python plot_graphs.py -i all_Bandwidth_data.txt -e DEL:2,3
python plot_graphs.py -i all_Bandwidth_data.txt -e DEL:3-DEL:2
# If you want to add a base line (straight dashed line)  at 700.31 with a label, do the following
python plot_graphs.py -i all_Bandwidth_data.txt -b "Device Max, 700.31"
python plot_graphs.py -i all_Bandwidth_data.txt --baseline "Device Max, 700.31"
# If you want to adjust the max range number of the y-axis manually, do the following
python plot_graphs.py -i all_Bandwidth_data.txt -y 800
python plot_graphs.py -i all_Bandwidth_data.txt --y_range_max 800
# If you want to plot the graph on-line, then just do the following
python plot_graph.py -i all_Bandwidth_data.txt -o
python plot_graph.py -i all_Bandwidth_data.txt --plot_online
# If you want all data points to be labeled, then just do the following
python plot_graph.py -i all_Bandwidth_data.txt -a
python plot_graph.py -i all_Bandwidth_data.txt --all_labels

# Example of combining multiple graphs and then plotting them
python combine_plot_files_data.py -p point_of_interest.txt -l data_labels.txt
python combine_plot_files_data.py --points_of_interest_file points_of_interest.txt --data_labels_file.txt
python plot_graphs.py -i all_Bandwidth_data.txt

About

This code is used to parse xdd output files and create Plotly plots using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published