Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: webrtc/tools/event_log_visualizer/plot_python.cc

Issue 2782553005: Visualize events related to probing in the total bitrate graph. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/tools/event_log_visualizer/plot_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2b37280a422a1d1fa5d0f7ea5d5065375476461d 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='o', ls=' ')\n",
terelius 2017/03/28 15:02:56 Is there a reason for using marker='o' instead of
philipel 2017/03/29 09:54:57 Changed to '.'.
+ i, i, i, series_list_[i].label.c_str());
} else {
printf("raise Exception(\"Unknown graph type\")\n");
}
« no previous file with comments | « webrtc/tools/event_log_visualizer/plot_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698