aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot/libplot/dpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plot/libplot/dpoint.c')
-rw-r--r--src/cmd/plot/libplot/dpoint.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/plot/libplot/dpoint.c b/src/cmd/plot/libplot/dpoint.c
new file mode 100644
index 00000000..7d5b6ff8
--- /dev/null
+++ b/src/cmd/plot/libplot/dpoint.c
@@ -0,0 +1,6 @@
+#include "mplot.h"
+void dpoint(double x, double y){
+ draw(screen, Rect(SCX(x), SCY(y), SCX(x)+1, SCY(y)+1), getcolor(e1->foregr),
+ nil, ZP);
+ move(x, y);
+}