matplotlib - What parameter needs to be set in pyplot.plot function to ensure that graphs from big data will look smooth -
i trying plot things in matplotlib plot function creates graph sudden changes despite fact in excel looks smoother. don't know attribute call 'squary'. differences show in picture (top - matplotlib, bottom - excel).
figure = pyplot.figure(); channel in channels: pyplot.plot(time[:len(channel)], channel); pyplot.show(); the original data not 'squary'. high-density data collected every 10 minutes 67 days. excel plot not done smoothing option. done straight lines between successive data points confirming data not 'squary' @ all. assume problem parameter in pyplot function don't know off.
i have realized problem rounding 2 decimals in excel. although plot looks smooth in excel when copying data table, numbers trimmed. set rounding more decimals , curve smooth in matplotlib well.

i found solution , not related matplotlib excel. have realized problem rounding 2 decimals in excel. although plot looks smooth in excel when copying data table, numbers trimmed. set rounding more decimals , curve smooth in matplotlib well.
so 1 should careful how data affected after copy excel.
Comments
Post a Comment