In [1]:
%matplotlib inline
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt

mysize = 25
myfont = {'family' : 'normal',
        'weight' : 'bold',
        'size'   : mysize}

mpl.rc('font', **myfont)


fig=plt.figure(num=None, figsize=(6, 6), dpi=300, facecolor='w', edgecolor='k')
ax=fig.add_subplot(111)


plt.vlines(x=30, ymin=1,ymax=1e2, color='k', linestyle='--', linewidth=2.0)
plt.hlines(y=30, xmin=1,xmax=1e2, color='k', linestyle='--', linewidth=2.0)
ax.axvspan(0, 30, ymin=0, ymax=np.log(30)/np.log(100),color = (1,0.85,0.85))
ax.axvspan(0, 30, ymin=np.log(30)/np.log(100), ymax=np.log(100),color=(1,0.65,0.65))
ax.axvspan(30, 100, ymin=0, ymax=np.log(30)/np.log(100),color=(1,0.65,0.65))
ax.axvspan(30, 100, ymin=np.log(30)/np.log(100),color=(1, 0.45,0.45))

ax = plt.gca()
ax.set_xlim([1,1e2])
ax.set_ylim([1,1e2])
ax.set_xscale('log')
ax.set_yscale('log')

ax.axes.get_xaxis().set_ticks([])
ax.axes.get_yaxis().set_ticks([])

ax.set_xlabel("$k^{(t)}$")
ax.set_ylabel('$k^{(s)}$')

ax.text(27,0.675,'$k_c^{(t)}$')
ax.text(0.6,27,'$k_c^{(s)}$',rotation='vertical',)
ax.text(5,5,'$\mathbf{z}_{lf}$',fontsize=mysize+10)
ax.text(45,5,'$\mathbf{z}^{(s)}_{lf}$',fontsize=mysize+10)
ax.text(5,45,'$\mathbf{z}^{(t)}_{lf}$',fontsize=mysize+10)
ax.text(45,45,'$\mathbf{z}_{hf}$',fontsize=mysize+10)
plt.savefig("./figures/space_time_wavedomain_square.eps",bbox_inches='tight')


/home/nguyen/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py:1287: UserWarning: findfont: Font family [u'normal'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/home/nguyen/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py:1297: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=400:stretch=normal:size=medium. Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
  UserWarning)
/home/nguyen/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py:1297: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=700:stretch=normal:size=25.0. Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
  UserWarning)
/home/nguyen/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py:1297: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=700:stretch=normal:size=35.0. Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
  UserWarning)

In [ ]: