|
1221 | 1221 | "cell_type": "markdown", |
1222 | 1222 | "metadata": {}, |
1223 | 1223 | "source": [ |
1224 | | - "This is now the first figure which sketches the entire estimation and validation part:" |
| 1224 | + "This is Figure 2 (a,b,c,d) which sketches the system and coordinates part:" |
1225 | 1225 | ] |
1226 | 1226 | }, |
1227 | 1227 | { |
|
1230 | 1230 | "metadata": {}, |
1231 | 1231 | "outputs": [], |
1232 | 1232 | "source": [ |
1233 | | - "fig = plt.figure(figsize=(3.47, 6.77))\n", |
| 1233 | + "fig = plt.figure(figsize=(3.47, 4.65))\n", |
1234 | 1234 | "gw = int(np.floor(0.5 + 1000 * fig.get_figwidth()))\n", |
1235 | 1235 | "gh = int(np.floor(0.5 + 1000 * fig.get_figheight()))\n", |
1236 | 1236 | "gs = plt.GridSpec(gh, gw)\n", |
1237 | 1237 | "gs.update(hspace=0.0, wspace=0.0, left=0.0, right=1.0, bottom=0.0, top=1.0)\n", |
1238 | 1238 | "\n", |
1239 | 1239 | "ax_box = fig.add_subplot(gs[:, :])\n", |
1240 | 1240 | "ax_box.set_axis_off()\n", |
1241 | | - "ax_box.text(0.00, 0.98, '(a)', size=10, zorder=1)\n", |
1242 | | - "ax_box.text(0.00, 0.71, '(b)', size=10)\n", |
1243 | | - "ax_box.text(0.55, 0.71, '(c)', size=10)\n", |
1244 | | - "ax_box.text(0.00, 0.46, '(d)', size=10)\n", |
1245 | | - "ax_box.text(0.00, 0.32, '(e)', size=10)\n", |
1246 | | - "ax_box.text(0.00, 0.14, '(f)', size=10)\n", |
| 1241 | + "ax_box.text(0.00, 0.95, '(a)', size=10, zorder=1)\n", |
| 1242 | + "ax_box.text(0.00, 0.58, '(b)', size=10)\n", |
| 1243 | + "ax_box.text(0.55, 0.58, '(c)', size=10)\n", |
| 1244 | + "ax_box.text(0.00, 0.22, '(d)', size=10)\n", |
1247 | 1245 | "\n", |
1248 | 1246 | "ax_mol = fig.add_subplot(gs[:1600, -2820:-400])\n", |
1249 | 1247 | "ax_mol.set_axis_off()\n", |
|
1294 | 1292 | "ax_tic2.set_ylabel('IC 2')\n", |
1295 | 1293 | "ax_tic2.set_xlabel('time / ns')\n", |
1296 | 1294 | "\n", |
1297 | | - "ax_its = fig.add_subplot(gs[4680:5480, 400:3350])\n", |
| 1295 | + "fig.savefig('data/figure_2.pdf', dpi=300)" |
| 1296 | + ] |
| 1297 | + }, |
| 1298 | + { |
| 1299 | + "cell_type": "markdown", |
| 1300 | + "metadata": {}, |
| 1301 | + "source": [ |
| 1302 | + "Next is Figure 3 (a,b) which shows estimation and validation:" |
| 1303 | + ] |
| 1304 | + }, |
| 1305 | + { |
| 1306 | + "cell_type": "code", |
| 1307 | + "execution_count": null, |
| 1308 | + "metadata": {}, |
| 1309 | + "outputs": [], |
| 1310 | + "source": [ |
| 1311 | + "fig = plt.figure(figsize=(3.47, 2.60))\n", |
| 1312 | + "gw = int(np.floor(0.5 + 1000 * fig.get_figwidth()))\n", |
| 1313 | + "gh = int(np.floor(0.5 + 1000 * fig.get_figheight()))\n", |
| 1314 | + "gs = plt.GridSpec(gh, gw)\n", |
| 1315 | + "gs.update(hspace=0.0, wspace=0.0, left=0.0, right=1.0, bottom=0.0, top=1.0)\n", |
| 1316 | + "\n", |
| 1317 | + "ax_box = fig.add_subplot(gs[:, :])\n", |
| 1318 | + "ax_box.set_axis_off()\n", |
| 1319 | + "ax_box.text(0.00, 0.95, '(a)', size=10)\n", |
| 1320 | + "ax_box.text(0.00, 0.36, '(b)', size=10)\n", |
| 1321 | + "\n", |
| 1322 | + "ax_its = fig.add_subplot(gs[50:1300, 400:3350])\n", |
1298 | 1323 | "pyemma.plots.plot_implied_timescales(its, units='ns', dt=0.1, ax=ax_its, nits=4, ylog=True)\n", |
1299 | 1324 | "ax_its.set_ylim(1, ax_its.get_ylim()[1])\n", |
1300 | 1325 | "ax_its.set_xlabel(r'lag time $\\tau$ / ns')\n", |
1301 | 1326 | "\n", |
1302 | 1327 | "ax_ck = [\n", |
1303 | | - " fig.add_subplot(gs[5940:6510, 400:970]),\n", |
1304 | | - " fig.add_subplot(gs[5940:6510, 995:1565]),\n", |
1305 | | - " fig.add_subplot(gs[5940:6510, 1590:2160]),\n", |
1306 | | - " fig.add_subplot(gs[5940:6510, 2185:2755]),\n", |
1307 | | - " fig.add_subplot(gs[5940:6510, 2780:3350])]\n", |
| 1328 | + " fig.add_subplot(gs[1730:2300, 400:970]),\n", |
| 1329 | + " fig.add_subplot(gs[1730:2300, 995:1565]),\n", |
| 1330 | + " fig.add_subplot(gs[1730:2300, 1590:2160]),\n", |
| 1331 | + " fig.add_subplot(gs[1730:2300, 2185:2755]),\n", |
| 1332 | + " fig.add_subplot(gs[1730:2300, 2780:3350])]\n", |
1308 | 1333 | "\n", |
1309 | 1334 | "for k, ax in enumerate(ax_ck):\n", |
1310 | | - " lest, lpred = _add_ck_subplot(cktest, ax, k, k, ipos=cktest.nsets - 1, dt=0.1, units='ns')\n", |
| 1335 | + " lest, lpred = _add_ck_subplot(\n", |
| 1336 | + " cktest, ax, k, k, ipos=cktest.nsets - 1, dt=0.1, units='ns', linewidth=0.7)\n", |
1311 | 1337 | " if k > 0:\n", |
1312 | 1338 | " ax.set_yticks([])\n", |
1313 | 1339 | "predlabel = 'predict ({:3.1f}%)'.format(100.0 * cktest.conf)\n", |
|
1319 | 1345 | " loc='upper left',\n", |
1320 | 1346 | " bbox_to_anchor=(-0.4, 1.45))\n", |
1321 | 1347 | "\n", |
1322 | | - "fig.savefig('data/figure_2.pdf', dpi=300)" |
| 1348 | + "fig.savefig('data/figure_3.pdf', dpi=300)" |
1323 | 1349 | ] |
1324 | 1350 | }, |
1325 | 1351 | { |
1326 | 1352 | "cell_type": "markdown", |
1327 | 1353 | "metadata": {}, |
1328 | 1354 | "source": [ |
1329 | | - "And this is the second figure which highlights the analysis part:" |
| 1355 | + "Figure 4 (a,b,c,d) highlights the basic analysis part using map plots:" |
1330 | 1356 | ] |
1331 | 1357 | }, |
1332 | 1358 | { |
|
1418 | 1444 | "ax_flux.set_xlabel('IC 1')\n", |
1419 | 1445 | "ax_flux.set_yticklabels([])\n", |
1420 | 1446 | "\n", |
1421 | | - "fig.savefig('data/figure_3.pdf', dpi=300)" |
| 1447 | + "fig.savefig('data/figure_4.pdf', dpi=300)" |
| 1448 | + ] |
| 1449 | + }, |
| 1450 | + { |
| 1451 | + "cell_type": "markdown", |
| 1452 | + "metadata": {}, |
| 1453 | + "source": [ |
| 1454 | + "Figure 5 visualizes the $\\mathcal{S}_2\\to\\mathcal{S}_4$ committor:" |
1422 | 1455 | ] |
1423 | 1456 | }, |
1424 | 1457 | { |
|
1464 | 1497 | " show_committor=True)\n", |
1465 | 1498 | "flux_ax.set_xticks(np.arange(0, 1.2, .2))\n", |
1466 | 1499 | "\n", |
1467 | | - "fig.savefig('data/figure_4.pdf', dpi=300)" |
| 1500 | + "fig.savefig('data/figure_5.pdf', dpi=300)" |
| 1501 | + ] |
| 1502 | + }, |
| 1503 | + { |
| 1504 | + "cell_type": "markdown", |
| 1505 | + "metadata": {}, |
| 1506 | + "source": [ |
| 1507 | + "And, finally, Figure 6 (a,b) depicts the Trp-1 autocorrelation:" |
1468 | 1508 | ] |
1469 | 1509 | }, |
1470 | 1510 | { |
|
1523 | 1563 | "ax_rlx.set_xlim((eq_time_ml[1], eq_time_ml[-1]))\n", |
1524 | 1564 | "ax_rlx.set_xlabel(r'time / ns')\n", |
1525 | 1565 | "\n", |
1526 | | - "fig.savefig('data/figure_5.pdf', dpi=300)" |
| 1566 | + "fig.savefig('data/figure_6.pdf', dpi=300)" |
1527 | 1567 | ] |
1528 | 1568 | }, |
1529 | 1569 | { |
|
0 commit comments