Add support for visualizing event logs without normalizing time.
Bug: webrtc:9299 Change-Id: Icdc4cba14f143cedb7c35347dd9711ab13f975d8 Reviewed-on: https://webrtc-review.googlesource.com/77820 Commit-Queue: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23392}
This commit is contained in:

committed by
Commit Bot

parent
2f65ec53ac
commit
1d4a2279af
@ -38,9 +38,9 @@ void PythonPlot::Draw() {
|
||||
// List x coordinates
|
||||
printf("x%zu = [", i);
|
||||
if (series_list_[i].points.size() > 0)
|
||||
printf("%G", series_list_[i].points[0].x);
|
||||
printf("%.3f", series_list_[i].points[0].x);
|
||||
for (size_t j = 1; j < series_list_[i].points.size(); j++)
|
||||
printf(", %G", series_list_[i].points[j].x);
|
||||
printf(", %.3f", series_list_[i].points[j].x);
|
||||
printf("]\n");
|
||||
|
||||
// List y coordinates
|
||||
|
Reference in New Issue
Block a user