aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot/libplot/erase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plot/libplot/erase.c')
-rw-r--r--src/cmd/plot/libplot/erase.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/plot/libplot/erase.c b/src/cmd/plot/libplot/erase.c
new file mode 100644
index 00000000..ab913475
--- /dev/null
+++ b/src/cmd/plot/libplot/erase.c
@@ -0,0 +1,5 @@
+#include "mplot.h"
+void erase(void){
+ m_swapbuf();
+ m_clrwin(clipminx, clipminy, clipmaxx, clipmaxy, e1->backgr);
+}