From a8f3acba5691deed38399c363274f440e2527b10 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Mon, 14 Jan 2013 16:05:13 -0500 Subject: [PATCH] iowatcher: Fix spindle rotation in the movie mode Signed-off-by: Chris Mason --- iowatcher/plot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iowatcher/plot.c b/iowatcher/plot.c index 1e9b7d7..7b4e18c 100644 --- a/iowatcher/plot.c +++ b/iowatcher/plot.c @@ -939,7 +939,7 @@ int svg_io_graph_movie_array_spindle(struct plot *plot, struct pid_plot_history "\n", - -spindle_steps * 1.2, center_x, center_y, center_x, center_y, graph_width_extra / 2); + spindle_steps * 1.2, center_x, center_y, center_x, center_y, graph_width_extra / 2); write(plot->fd, line, strlen(line)); snprintf(line, line_len, "\n\n", @@ -964,7 +964,7 @@ int svg_io_graph_movie_array_spindle(struct plot *plot, struct pid_plot_history snprintf(line, line_len, "\n", - rot, center_x, center_y, + -rot, center_x, center_y, axis_x_off_double(graph_width_extra / 2 + radius) + 8, center_y, radius, radius, pph->color); -- 2.25.1