From: Ryan K. <rya...@gm...> - 2006-04-28 22:35:25
|
I'm a dork. help xticks told me the solution (imagine that) - RTFdocstring. make sure to include xticks([1.75,2.0],['1.75','2.0']) On 4/28/06, Ryan Krauss <rya...@gm...> wrote: > I have a semilogx plot that I have zoomed into, so that there are no > xticks visible. I can't seem to set the xticks to something that > isn't an integer power of 10. I would actually prefer to set it to a > number that isn't displayed as 10^xxx, but I don't know how. > > For example: > > y=3Dsin(2*pi*f) > semilogx(f,y) > xlim([1.5,2.5]) > xticks([1.75,2.0]) > show() > > has no xticks. > > How do I fix this? > > Thanks, > > Ryan > |