diff --git a/cameo/gnuplot.h b/cameo/gnuplot.h index 149d42f..9041e06 100644 --- a/cameo/gnuplot.h +++ b/cameo/gnuplot.h @@ -18,5 +18,6 @@ struct path *gnuplot_read(const char *name, double r_tool_default); void gnuplot_write(const char *name, const struct path *paths); +void gnuplot_append(const char *name, const struct path *paths); #endif /* !GNUPLOT_H */ diff --git a/cameo/lang.y b/cameo/lang.y index c2a7483..9faab0c 100644 --- a/cameo/lang.y +++ b/cameo/lang.y @@ -192,6 +192,8 @@ command: double y = $3*$5; translate(x, y, 0); + xo += x; + yo += y; } | TOK_CLEAR {