From 4314729ddef28cb619ce97d50f0968ca24c93803 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 14 Apr 2004 19:54:10 +0000 Subject: Add graph, plot --- src/cmd/plot/libplot/dpoint.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/cmd/plot/libplot/dpoint.c (limited to 'src/cmd/plot/libplot/dpoint.c') 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); +} -- cgit v1.2.3