Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University 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 x-axis represents an integer value. When I plot the graph matlab labels the x-axis 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 tic-marks only at the integer values. I remeber something about tic-marks 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 27695-7911 Ph: (919)-512-6221 (h) (919)-515-2844 (o) ******************************************************************
|
|
|
|