Hi, I am having troubles to correctly make a figure with inverted log axis.
This is what I am doing:

import numpy as np
import matplotlib.pyplot as plt

y=np.linspace(-90,90,20)
z=np.arange(1,1.e4, 200)

c=y.reshape(20,1)*z.reshape(1,len(z))

fig,ax=plt.subplots()
plt.pcolor(y,z,c.transpose())
ax.set_yscale('log')
ax.invert_yaxis()

The problem is that the ticks of y axis is not displayed correctly once I
invert the y axis. It shows the tick at 1000. All other ticks such as 100,
10 and 1 are missing.  Am I doing something wrong or is this a bug in
matplotlib?

Thanks for your help.





--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/missing-ticks-on-inverted-log-axis-tp41063.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to