8000 escape latex labels · basicmachines/python-control-2@5c38d4f · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c38d4f

Browse files
committed
escape latex labels
1 parent a8a54d1 commit 5c38d4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/genswitch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def genswitch(y, t, mu=4, n=2):
6060
# set(pl, 'LineWidth', AM_data_linewidth)
6161
plt.axis([0, 25, 0, 5])
6262

63-
plt.xlabel('Time {\itt} [scaled]')
63+
plt.xlabel('Time {\\itt} [scaled]')
6464
plt.ylabel('Protein concentrations [scaled]')
6565
plt.legend(('z1 (A)', 'z2 (B)')) # 'Orientation', 'horizontal')
6666
# legend(legh, 'boxoff')

examples/kincar-flatsys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def plot_results(t, x, ud, rescale=True):
100100

101101
plt.subplot(2, 4, 8)
102102
plt.plot(t, ud[1])
103-
plt.xlabel('Ttime t [sec]')
104-
plt.ylabel('$\delta$ [rad]')
103+
plt.xlabel('Time t [sec]')
104+
plt.ylabel('$\\delta$ [rad]')
105105
plt.tight_layout()
106106

107107
#

0 commit comments

Comments
 (0)
0