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 916bc2e6a61451359e1e3cff6b746ac6d98d7b53..211d33679cb24b737078be8bda47e1c362d069db 100644 |
--- a/webrtc/tools/event_log_visualizer/plot_python.cc |
+++ b/webrtc/tools/event_log_visualizer/plot_python.cc |
@@ -11,6 +11,7 @@ |
#include "webrtc/tools/event_log_visualizer/plot_python.h" |
#include <stdio.h> |
+#include <memory> |
namespace webrtc { |
namespace plotting { |
@@ -58,6 +59,11 @@ void PythonPlot::draw() { |
} else if (series[i].style == LINE_GRAPH) { |
printf("plt.plot(x%zu, y%zu, color=rgb_colors[%zu], label=\'%s\')\n", i, |
i, i, series[i].label.c_str()); |
+ } else if (series[i].style == LINE_DOT_GRAPH) { |
+ printf( |
+ "plt.plot(x%zu, y%zu, color=rgb_colors[%zu], label=\'%s\', " |
+ "marker='.')\n", |
+ i, i, i, series[i].label.c_str()); |
} else { |
printf("raise Exception(\"Unknown graph type\")\n"); |
} |