Code: Select all
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(100) * 1e-8
y = np.random.normal(1e-5, 1e-6, size=100)
plt.plot(x, y, '-')
plt.tick_params(labelsize='xx-small')
fig = plt.gcf()
fig.set_size_inches(4, 3)
fig.savefig('matplotlib_tick_unit_factor.png', bbox_inches='tight')
< /code>
Matplotlib-Diagramm mit Tick-Einheit-Faktoren 1E-5 für y-Achse und 1E-6 für die x-Achse: < /p>
Ich möchte die Schriftgröße dieses Faktor (Nicht in tick_params
Ich konnte den Namen dieses Elements in der Anatomie eines Abbildung.