[Matplotlib-users] logarthmic colorbar looses ticks

2011-10-20 Thread Marko Riedel
Hi all, I've encountered the following problem when trying to use a logarithmic color scale: The code import numpy as np import matplotlib.pyplot as plt from matplotlib import ticker x = np.arange(-100,105,5) X,Y = np.meshgrid(x,x) Z = X**2 + Y**2 + 0.1 plt.contourf(X,Y,Z.T, locator=ticker.Log

[Matplotlib-users] math symbols with matplotlib basemap

2011-07-05 Thread Marko Riedel
Hi there, I wonder if there is I way how to use math symbols together with the basemap class. Here is my problem: The lines  import matplotlib.pyplot as plt plt.text(0.06  , 0.04, r"200 $\Omega$ m", fontsize=10, transform=plt.gca().transAxes) work with a standard plot. However if I use basem