From 42f9fe928f55b571879afa4138d7785c68145876 Mon Sep 17 00:00:00 2001 From: Cees Bassa Date: Tue, 21 Aug 2018 23:38:35 +0200 Subject: [PATCH] Added pgerr1 functionality --- src/_ppgplot.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/_ppgplot.c b/src/_ppgplot.c index 938b1e8..6b1ef86 100644 --- a/src/_ppgplot.c +++ b/src/_ppgplot.c @@ -1386,6 +1386,19 @@ PYF(pgline) return(NULL); } +PYF(pgerr1) +{ + float x, y, e, t; + int dir = 5; + + if (!PyArg_ParseTuple(args,"iffff:pgerr1",&dir, &x, &y, &e, &t)) + return(NULL); + + cpgerr1(dir,x,y,e,t); + + PYRN; +} + PYF(pgpt) { int xsz, ysz; @@ -2269,6 +2282,7 @@ static PyMethodDef PpgMethods[] = { {"pgpanl", pgpanl, 1}, {"pgpap", pgpap, 1}, {"pgpt", pgpt, 1}, + {"pgerr1", pgerr1, 1}, {"pgptxt", pgptxt, 1}, {"pgqah", pgqah, 1}, {"pgqcf", pgqcf, 1},