summaryrefslogtreecommitdiff
path: root/graphics/epix/doc/cb.xp
blob: e0434b483ea0a12e13d70bb8a3d36b5d3be997ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();
}