Hi Chris,<br><br>The code is<br><br>from scipy import *<br>from pylab import *<br><br>x = [0.5,0.6,0.7,0.8,0.9,1.0]<br>y = [2,6,8,10,10,10]   <br><br>plot(x,y,linewidth=5.0)<br>show()<br> <br>and not<br><br>from scipy import *<br>

from pylab import *<br>
<br>
x1 = [0.5,0.6,0.7,0.8,0.9,1.0]<br>
x2 = [0,1,2,3,4,5,6,7,8,9,10]<br>
    <br>
plot(x1,y01,linewidth=5.0)<br>
show()<br>
<br><br>Moses<br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 6:43 PM, Moses <span dir="ltr"><<a href="mailto:jamuah@gmail.com">jamuah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi Chris,<br>
<br>
I am using python 2.6 and am using scipy and pylab. See the code below.  Cheers.<br>
<br>
from scipy import *<br>
from pylab import *<br>
<br>
x1 = [0.5,0.6,0.7,0.8,0.9,1.0]<br>
x2 = [0,1,2,3,4,5,6,7,8,9,10]<br>
    <br>
plot(x1,y01,linewidth=5.0)<br>
show()<br>
<br>Thanks.<br>.<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 5:49 PM, Chris Rebert <span dir="ltr"><<a href="mailto:clp2@rebertia.com" target="_blank">clp2@rebertia.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Mon, Nov 9, 2009 at 7:45 AM, Moses <<a href="mailto:jamuah@gmail.com" target="_blank">jamuah@gmail.com</a>> wrote:<br>



> I have written a script in python to plot a graph. However, the<br>
> range for the x-axis starts from 0.5 to 1.0. However, I would like<br>
> to start from 0 to 1. Any pointer to this shall be appreciated.<br>
<br>
</div>Some /very/ basic information such as what plotting library you're<br>
using would be necessary to answer your question. What version of<br>
Python you're using would also be useful.<br>
<br>
Cheers,<br>
Chris<br>
<font color="#888888">--<br>
<a href="http://blog.rebertia.com" target="_blank">http://blog.rebertia.com</a><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>