Ejemplo n.º 1
0
                        graf.errorbar(x,
                                      y,
                                      yerr=eror,
                                      color=colo[colcount],
                                      label=leg[i])
                    else:
                        graf.plot(x, y, color=colo[colcount], label=leg[i])
                        graf.fill_between(x,
                                          y - eror,
                                          y + eror,
                                          alpha=args.shade,
                                          facecolor=colo[colcount],
                                          edgecolor='k',
                                          linewidth=0)
                if args.xg:
                    df = xg.DataXYDY(x=x, y=y, dy=eror, symbol=s1, line=l1)
            else:
                if (args.mp or args.eps != 'noeps'):
                    graf.plot(x,
                              data[:, int(cc)],
                              color=colo[colcount],
                              label=leg[i])
                if args.xg:
                    df = xg.Data(x=x, y=data[:, int(cc)], symbol=s1, line=l1)
            colcount += 1

if (args.mp or args.eps != 'noeps'):
    graf.set_xlabel(xlab)
    graf.set_ylabel(args.ylabel)
    if args.yaxis:
        graf.set_ylim(args.yaxis)