errorbar shwoing syntax error
Title
Question
clf()
plot(L,tsquare,'o')
delta_l=[0.08,0.09,0.07,0.05,0.06,0.00,0.06,0.06,0.01]
delta_t=[0.04,0.08,0.03,0.05,0.03,0.03,0.04,0.07,0.08]
In [24]: errorbar=(L,tsquare,xerr=delta_l,yerr=delta_t,fmt='bo')
File "<ipython-input-24-673d8e5edfaf>", line 1
errorbar=(L,tsquare,xerr=delta_l,yerr=delta_t,fmt='bo')
^
SyntaxError: invalid syntax
Python-3.4.3 Plotting-Data 01-02 min 0-10 sec
Answers:
You have typed the wrong command. The command is errorbar(L,tsquare,xerr=delta_l,yerr=delta_t,fmt='bo')
Login to add comment