From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- graphics/epix/doc/cb.xp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 graphics/epix/doc/cb.xp (limited to 'graphics/epix/doc/cb.xp') diff --git a/graphics/epix/doc/cb.xp b/graphics/epix/doc/cb.xp new file mode 100644 index 0000000000..e0434b483e --- /dev/null +++ b/graphics/epix/doc/cb.xp @@ -0,0 +1,22 @@ +/* -*-ePiX-*- */ +#include "epix.h" +using namespace ePiX; + +int main() +{ + bounding_box(P(-2,-1),P(2,1)); + unitlength("1in"); + picture(1.5,0.75); + + begin(); + + h_axis(4); + v_axis(1); + + bold(); + plot(cb, x_min, x_max, 4); + + label(P(0,y_min), P(0,-4), "\\code{cb}", b); + + end(); +} -- cgit v1.2.3