For Programmers: Free Programming Magazines  


Home > Archive > Matlab > December 2005 > Adjusting axis position









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Adjusting axis position
Ken Campbell

2005-12-16, 7:10 pm

Is there an easy way to adjust the position of an axis?

For example, if I had a y-axis that goes from 0 to 1, can I draw the
x-axis at a y-value of -0.1 ?

I am trying to create a plot that uses the axes as 'scale-bars'.

Thanks,

Ken
huh

2005-12-16, 7:10 pm

try using line(x,y) and
set(gca,'XTickLabel',{'One';'Two';'Three
';'Four'}).
This might help.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com