Changeset 1152 in lmdz_wrf
- Timestamp:
- Oct 6, 2016, 6:42:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r1147 r1152 5785 5785 if maxd > ymax: ymax = maxd 5786 5786 5787 print 'x:',xmin,',',xmax,'y:',ymin,ymax5788 5789 5787 plt.rc('text', usetex=True) 5790 5788 … … 5794 5792 linewidth=lws[il], markersize=pss[il], label= linesn[il], color=cols[il]) 5795 5793 5796 plt.xlabel( vtit + ' (' + vunit+ ')')5794 plt.xlabel(gen.latex_text(vtit) + ' (' + units_lunits(vunit) + ')') 5797 5795 plt.ylabel(dtit) 5798 5796 plt.xlim(xmin,xmax) … … 5805 5803 5806 5804 plt.xlabel(dtit) 5807 plt.ylabel( vtit + ' (' + vunit+ ')')5805 plt.ylabel(gen.latex_text(vtit) + ' (' + units_lunits(vunit) + ')') 5808 5806 5809 5807 plt.xlim(ymin,ymax) 5810 5808 plt.ylim(xmin,xmax) 5811 5809 5812 graphtit = g tit.replace('_','\_').replace('&','\&')5810 graphtit = gen.latex_text(gtit) 5813 5811 5814 5812 plt.title(graphtit)
Note: See TracChangeset
for help on using the changeset viewer.