Francesco Montesano, on 20110201 12:07, wrote:
> I attach a sample code which does not work.
>
> import numpy as np
> > import matplotlib.pyplot as plt
> >
> > #create function to plot plus random error
> > x = np.linspace(0,3,100)
> > y = np.sin(x)
> > err = np.random.random(100)
> >
> > plt.errorbar(x,y, yerr=err, color='g',linestyle='None',xuplims=True)
> > plt.show()
Hi Francesco,
> > plt.errorbar(x,y, yerr=err, color='g',linestyle='None',xuplims=True)
I'm not sure what you're hoping to see, but you should either use
xerr with xuplims, or yerr with uplims.
best,

Paul Ivanov
314 address only used for lists, offlist direct email at:
http://pirsquared.org  GPG/PGP key id: 0x0F3E28F7
