We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c530b9a commit df4af86Copy full SHA for df4af86
examples/fwsw/plot_stifflimit_specrad.py
@@ -72,6 +72,9 @@
72
specrad[0,i] = np.linalg.norm( evals, np.inf )
73
74
75
+ print ("Spectral radius of infinitely fast wave case > 1.0 for M=%2i" % nodes_v[np.argmax(specrad[0,:]>1.0)])
76
+ print ("Spectral radius of > 1.0 for M=%2i" % nodes_v[np.argmax(specrad[1,:]>1.0)])
77
+
78
### Plot result
79
rcParams['figure.figsize'] = 2.5, 2.5
80
fig = plt.figure()
@@ -83,7 +86,7 @@
83
86
#plt.title(r'$\Delta t \left| \lambda_{\rm slow} \right|$ = %2.1f' % step.status.dt*abs(problem.lambda_s[0]), fontsize=fs)
84
87
plt.legend(loc='lower right', fontsize=fs, prop={'size':fs})
85
88
plt.xlim([np.min(nodes_v), np.max(nodes_v)])
- plt.ylim([0, 1.0])
89
+ plt.ylim([0, 1.2])
90
plt.yticks(fontsize=fs)
91
plt.xticks(fontsize=fs)
92
#plt.show()
0 commit comments