Changeset 1322 in lmdz_wrf for trunk/tools/generic_tools.py
- Timestamp:
- Nov 11, 2016, 7:25:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r1321 r1322 10320 10320 >>> latex_fig_array(['figs/figA.png','figs/figB.png','figs/figC.png','figs/figD.png','figs/figE.png'], \ 10321 10321 objf, 'figure test', 'fig:test', dist='2x3', width='None', height='auto', dorest='center') 10322 \begin{ table}10322 \begin{figure} 10323 10323 \begin{center} 10324 10324 \begin{tabular}{cc} … … 10338 10338 \caption{figure test} 10339 10339 \label{fig:test} 10340 \end{ table}10340 \end{figure} 10341 10341 """ 10342 10342 fname = 'latex_fig_array' … … 10390 10390 10391 10391 obf.write('\n') 10392 obf.write('\\begin{ table}\n')10392 obf.write('\\begin{figure}\n') 10393 10393 obf.write('\\begin{center}\n') 10394 10394 … … 10447 10447 obf.write('\\caption{' + figcaption + '}\n') 10448 10448 obf.write('\\label{' + figlabel + '}\n') 10449 obf.write('\\end{ table}\n')10449 obf.write('\\end{figure}\n') 10450 10450 obf.write('\n') 10451 10451
Note: See TracChangeset
for help on using the changeset viewer.