Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Integer only axis labeling ?
Replies: 3   Last Post: Jul 24, 1996 7:49 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Gaurav Sharma

Posts: 2
Registered: 12/7/04
Integer only axis labeling ?
Posted: Jul 22, 1996 2:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


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)
******************************************************************





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.