Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Integer only axis labeling ?
Posted:
Jul 22, 1996 2:51 AM


I need to plot a graph in Matlab in which the xaxis represents an integer value. When I plot the graph matlab labels the xaxis with numbers like 3.5, 4.5 (in addition to the 1 2 3 and 4 which are fine). I guess there must be a way to make it label and put ticmarks only at the integer values. I remeber something about ticmarks but am unable to find the right command. Could someone please tell me if there is a simple way of doing this ?
Thanks in advance,
Gaurav Sharma  ******************************************************************
Gaurav Sharma Center for Advanced Computing and Communication ECE Dept, NCSU, Raleigh, NC 276957911 Ph: (919)5126221 (h) (919)5152844 (o) ******************************************************************



