Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Apr 5, 2024
1 parent 165d990 commit 1aceb67
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/snippets/all/scalar_multiple_plots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ int main() {
// Set up plot styling:
// They are logged static as they don't change over time and apply to all timelines.
// Log two lines series under a shared root so that they show in the same plot by default.
rec.log_static(
"trig/sin",
rerun::SeriesLine().with_color({255, 0, 0}).with_name("sin(0.01t)")
);
rec.log_static(
"trig/cos",
rerun::SeriesLine().with_color({0, 255, 0}).with_name("cos(0.01t)")
);
rec.log_static("trig/sin", rerun::SeriesLine().with_color({255, 0, 0}).with_name("sin(0.01t)"));
rec.log_static("trig/cos", rerun::SeriesLine().with_color({0, 255, 0}).with_name("cos(0.01t)"));
// Log scattered points under a different root so that they show in a different plot by default.
rec.log_static("scatter/lcg", rerun::SeriesPoint());

Expand Down

0 comments on commit 1aceb67

Please sign in to comment.