What are you setting the x ticklabels to?  If you want to control how 
the numbers are displayed, you can create a custom formatter (which is 
basically a function to convert a floating-point number to a string).  
If you want to control the number of ticks across the axis, you can make 
a custom ticker.

If you can describe what your end goal is, I'm happy to describe the 
above options in more detail.

Cheers,
Mike

Jeremy Lewi wrote:
> Hi,
>     I'm using imshow to make an image of a 2-d matrix. I use 
> set_xticklabels to adjust the x-axis labels. The problem is that when I 
> then zoom in on the plot, the axis labels are not adjusted 
> appropriately. Does anyone suggestions on how I can fix this?
>
> Thanks
> Jeremy
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to