|
25 | 25 | rcParams['figure.figsize'] = 5.0, 2.5 |
26 | 26 | fig = plt.figure() |
27 | 27 |
|
28 | | - plt.plot(xx[:,5], udirk[2,:,5], '--', color='r', markersize=fs-2, label='DIRK', dashes=(3,3)) |
29 | | - plt.plot(xx[:,5], uend[2,:,5], '-', color='b', label='SDC') |
30 | | - plt.plot(xx[:,5], uimex[2,:,5], '--', color='g', markersize=fs-2, label='RK-IMEX', dashes=(3,3)) |
| 28 | + plt.plot(xx[:,5], udirk[2,:,5], '--', color='g', markersize=fs-2, label='DIRK(4)', dashes=(3,3)) |
| 29 | + plt.plot(xx[:,5], uend[2,:,5], '-', color='b', label='SDC(4)') |
| 30 | + plt.plot(xx[:,5], uimex[2,:,5], '--', color='r', markersize=fs-2, label='RK-IMEX(4)', dashes=(3,3)) |
31 | 31 | #plt.plot(xx[:,5], utrap[2,:,5], '--', color='k', markersize=fs-2, label='Trap', dashes=(3,3)) |
32 | 32 | plt.legend(loc='lower left', fontsize=fs, prop={'size':fs}) |
33 | 33 | plt.yticks(fontsize=fs) |
34 | 34 | plt.xticks(fontsize=fs) |
35 | 35 | plt.xlabel('x [km]', fontsize=fs, labelpad=0) |
36 | 36 | plt.ylabel('Bouyancy', fontsize=fs, labelpad=1) |
37 | 37 | #plt.show() |
38 | | - filename = 'sdc-fwsw-boussinesq.pdf' |
| 38 | + filename = 'boussinesq.pdf' |
39 | 39 | plt.savefig(filename, bbox_inches='tight') |
40 | 40 | call(["pdfcrop", filename, filename]) |
41 | 41 |
|
0 commit comments