1

By plotting with matplotlib sometimes I have this sort of axis format. The values are correct (checked debugging), the only problem is displaying.

Example

plt.figure(figsize=(8, 8.5))
plt.subplot(311)
plt.plot(t_p, L_p)
plt.title('Lift')
plt.xlabel('Time [s]')
plt.ylabel('Lift [N]')
plt.ylim(min(L_p), max(L_p))
plt.matplotlib.pyplot.tight_layout(pad=1.08, h_pad=None, w_pad=None,rect=None)

Thank you all for the help.

strpeter
  • 2,562
  • 3
  • 27
  • 48
mplrm
  • 11
  • 1
  • You can set the power limits, check out this answer http://stackoverflow.com/questions/14775040/matplotlib-axis-label-format – alexblae Jan 18 '17 at 13:15
  • It looks pretty fine? How should it look like? Can you rewrite your code to a minimal working example (MWE)? Then only our knowledge can help you. – strpeter Jan 18 '17 at 13:18
  • 1
    There was a question about this just the other day: [See here](http://stackoverflow.com/questions/41679770/how-can-i-change-plt-plot-x-axis-from-0-to-real-value/41682755). – ImportanceOfBeingErnest Jan 18 '17 at 13:20

0 Answers0