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 7b35fa0 commit 4a659b3Copy full SHA for 4a659b3
examples/pylab_examples/usetex_demo.py
@@ -7,10 +7,10 @@
7
N = 500
8
delta = 0.6
9
X = -1 + 2. * np.arange(N) / (N - 1)
10
-pylab.plot(X, (1 - np.tanh(4. * X / delta)) / 2, # phase field tanh profiles
11
- X, (X + 1) / 2, # level set distance function
12
- X, (1.4 + np.tanh(4. * X / delta)) / 4, # composition profile
13
- X, X < 0, 'k--', # sharp interface
+pylab.plot(X, (1 - np.tanh(4.*X/delta))/2, # phase field tanh profiles
+ X, (X + 1)/2, # level set distance function
+ X, (1.4 + np.tanh(4.*X/delta))/4, # composition profile
+ X, X < 0, 'k--', # sharp interface
14
linewidth=5)
15
16
## legend
0 commit comments