Интерпретация файлов решений OPL

Просто используйте ax.set_xticks(positions) или ax.set_yticks(positions).

Например:

import matplotlib.pyplot as plt

fig, ax = plt.subplots()
ax.set_xticks([0.15, 0.68, 0.97])
ax.set_yticks([0.2, 0.55, 0.76])
plt.show()

enter image description here [/g0]

0
задан healyp 19 February 2019 в 09:11
поделиться