Your data repeat itself twice.
Please check your data and report back if you still see the problem.
Regards,

-JJ



On Fri, Oct 23, 2009 at 3:58 PM, Jeremy Conlin <jlcon...@gmail.com> wrote:
> Hello list.  I am having trouble with an extraneous line drawn from my
> last data point back to the first data point.  I I don't quite know
> why this is happening and was hoping someone could tell me what was
> wrong.  I have attached an example; the commands I used are copied
> below.
>
> Thanks,
> Jeremy
>
>
> 8> pyplot.clf()
> [SpentFuel/H2O]|3> pyplot.plot(Energy[0],Tally[0])
>               <3> [<matplotlib.lines.Line2D object at 0xe681110>]
> [SpentFuel/H2O]|4> pyplot.step(Energy[0],Tally[0])
>               <4> [<matplotlib.lines.Line2D object at 0xacf1e30>]
> [SpentFuel/H2O]|5> pyplot.xscale('log')
> [SpentFuel/H2O]|6> pyplot.clf
> -----------------> pyplot.clf()
> [SpentFuel/H2O]|7> pyplot.xscale('log')
> [SpentFuel/H2O]|8> pyplot.plot(Energy[0],Tally[0])
>               <8> [<matplotlib.lines.Line2D object at 0xff1bd90>]
> 9> Energy[0]
>               <9>
> [1e-08,
>  9.9999999999999995e-08,
>  9.9999999999999995e-07,
>  1.0000000000000001e-05,
>  0.001,
>  1.0,
>  2.0,
>  5.0,
>  1e-08,
>  9.9999999999999995e-08,
>  9.9999999999999995e-07,
>  1.0000000000000001e-05,
>  0.001,
>  1.0,
>  2.0,
>  5.0]
> 10> Tally[0]
>               <10>
> [1.58463e-06,
>  2.9873200000000001e-05,
>  8.9392999999999993e-06,
>  5.9984199999999997e-06,
>  1.6206999999999999e-05,
>  8.3313199999999994e-05,
>  2.3284800000000001e-05,
>  2.43042e-05,
>  1.58463e-06,
>  2.9873200000000001e-05,
>  8.9392999999999993e-06,
>  5.9984199999999997e-06,
>  1.6206999999999999e-05,
>  8.3313199999999994e-05,
>  2.3284800000000001e-05,
>  2.43042e-05]
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to