summaryrefslogtreecommitdiffstats
path: root/demo_plot.py
diff options
context:
space:
mode:
Diffstat (limited to 'demo_plot.py')
-rw-r--r--demo_plot.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/demo_plot.py b/demo_plot.py
index ba5f60f..e9fdfe3 100644
--- a/demo_plot.py
+++ b/demo_plot.py
@@ -12,7 +12,10 @@ disk.plot_rho_xy()
# disk.plot_Q_r()
# Plot on Custom Axis
-fig = plt.figure()
+# fig = plt.figure() # 1x1 (Default)
+# fig = plt.figure(figsize=(8.0, 6.0)) # 1x1 (Default)
+# fig = plt.figure(figsize=(16.0, 6.0)) # 1x2
+fig = plt.figure(figsize=(16.0, 12.0)) # 2x2
ax1 = fig.add_subplot(2,2,1)
ax2 = fig.add_subplot(2,2,2)
ax3 = fig.add_subplot(2,2,3)
@@ -21,4 +24,5 @@ disk.plot_rho_r(ax1)
disk.plot_rho_xy(ax2)
disk.plot_Q_xy(ax3)
disk.plot_Q_r(ax4)
+plt.savefig('DemoFig.pdf')
plt.show()