Index: webrtc/tools/event_log_visualizer/plot_python.cc |
diff --git a/webrtc/tools/event_log_visualizer/plot_python.cc b/webrtc/tools/event_log_visualizer/plot_python.cc |
index c91efe32c70dc2a5cbd13515c647ca43fe7181e6..863c05f9905426e88d8a0624c322541dc778694e 100644 |
--- a/webrtc/tools/event_log_visualizer/plot_python.cc |
+++ b/webrtc/tools/event_log_visualizer/plot_python.cc |
@@ -75,6 +75,11 @@ void PythonPlot::Draw() { |
"plt.plot(x%zu[1:], y%zu[:-1], color=rgb_colors[%zu], " |
"label=\'%s\')\n", |
i, i, i, series_list_[i].label.c_str()); |
+ } else if (series_list_[i].style == DOT_GRAPH) { |
+ printf( |
+ "plt.plot(x%zu, y%zu, color=rgb_colors[%zu], label=\'%s\', " |
+ "marker='.', ls=' ')\n", |
+ i, i, i, series_list_[i].label.c_str()); |
} else { |
printf("raise Exception(\"Unknown graph type\")\n"); |
} |