Re: Plot problem.. ?? No sign at all

2010-07-15 Thread Johan Grönqvist
Hi Ritchy, This is the first time I am doing this, but it's a standard response given on lists like this. 2010-07-13 18:17, Ritchy lelis skrev: This is how looks like the flash residue transference function that i was talking about... http://www.iadc.ca/Imran_ADC_tutorial_files/image048.gif

Re: Plot problem.. ?? No sign at all

2010-07-13 Thread Ritchy lelis
On 11 Jul, 13:28, Johan Grönqvist wrote: > 2010-07-11 02:12, Ritchy lelis skrev: > > > On 7 jul, 08:38, Johan Grönqvist  wrote: > > > About the plot draw it's a curve that it's a set of points wich it's > > the result of the comput of the Vref and Vi together. I don't know if > > i had to make a b

Re: Plot problem.. ?? No sign at all

2010-07-13 Thread Ritchy lelis
On 11 Jul, 17:39, Ritchy lelis wrote: > On 11 jul, 13:28, Johan Grönqvist wrote: > > > > > > > 2010-07-11 02:12, Ritchy lelis skrev: > > > > On 7 jul, 08:38, Johan Grönqvist  wrote: > > > > About the plot draw it's a curve that it's a set of points wich it's > > > the result of the comput of the

Re: Plot problem.. ?? No sign at all

2010-07-13 Thread Ritchy lelis
On 11 Jul, 17:39, Ritchy lelis wrote: > On 11 jul, 13:28, Johan Grönqvist wrote: > > > > > > > 2010-07-11 02:12, Ritchy lelis skrev: > > > > On 7 jul, 08:38, Johan Grönqvist  wrote: > > > > About the plot draw it's a curve that it's a set of points wich it's > > > the result of the comput of the

Re: Plot problem.. ?? No sign at all

2010-07-11 Thread Ritchy lelis
On 11 jul, 13:28, Johan Grönqvist wrote: > 2010-07-11 02:12, Ritchy lelis skrev: > > > On 7 jul, 08:38, Johan Grönqvist  wrote: > > > About the plot draw it's a curve that it's a set of points wich it's > > the result of the comput of the Vref and Vi together. I don't know if > > i had to make a b

Re: Plot problem.. ?? No sign at all

2010-07-11 Thread Johan Grönqvist
2010-07-11 02:12, Ritchy lelis skrev: On 7 jul, 08:38, Johan Grönqvist wrote: About the plot draw it's a curve that it's a set of points wich it's the result of the comput of the Vref and Vi together. I don't know if i had to make a break instruction (like in other's languages) after the "If" i

Re: Plot problem.. ?? No sign at all

2010-07-10 Thread Ritchy lelis
On 7 jul, 08:38, Johan Grönqvist wrote: > 2010-07-06 19:18, Ritchy lelis skrev: > > > On 6 jul, 17:29, Alan G Isaac  wrote: > >> Unfortunately I cannot make sense of the code you posted. > >> Provide a detailed description in words (or psuedocode) > >> of what you are trying to accomplish.  Be ver

Re: Plot problem.. ?? No sign at all

2010-07-07 Thread Johan Grönqvist
2010-07-06 19:18, Ritchy lelis skrev: On 6 jul, 17:29, Alan G Isaac wrote: Unfortunately I cannot make sense of the code you posted. Provide a detailed description in words (or psuedocode) of what you are trying to accomplish. Be very careful and detailed is you want a useful response. Alan I

Re: Plot problem.. ?? No sign at all

2010-07-06 Thread Ritchy lelis
On 6 jul, 17:29, Alan G Isaac wrote: > On 7/6/2010 12:11 PM, Ritchy lelis wrote: > > > My intention with de for loop was to iterate each point of the arrays > > Vi and Vref at the math calculations. The V0 it's the result of the > > math expressions between the Vi and Vref. I can't just create one

Re: Plot problem.. ?? No sign at all

2010-07-06 Thread Alan G Isaac
On 7/6/2010 12:11 PM, Ritchy lelis wrote: My intention with de for loop was to iterate each point of the arrays Vi and Vref at the math calculations. The V0 it's the result of the math expressions between the Vi and Vref. I can't just create one V0 by a function set by parametters (i don't see ho

Re: Plot problem.. ?? No sign at all

2010-07-06 Thread Ritchy lelis
On 6 jul, 16:18, Alan G Isaac wrote: > On 7/6/2010 8:05 AM, Ritchy lelis wrote: > > >  1 - "import numpy as np > >       import matplotlib.pyplot as plt" > > >       In what help's me making the call's of the libraries that way? > > http://bytebaker.com/2008/07/30/python-namespaces/ > > >  2 - Wha

Re: Plot problem.. ?? No sign at all

2010-07-06 Thread Alan G Isaac
On 7/6/2010 8:05 AM, Ritchy lelis wrote: 1 - "import numpy as np import matplotlib.pyplot as plt" In what help's me making the call's of the libraries that way? http://bytebaker.com/2008/07/30/python-namespaces/ 2 - What's the instruction linspace means/does? >>> help(np.lins

Re: Plot problem.. ?? No sign at all

2010-07-05 Thread Alan G Isaac
On 7/5/2010 7:45 AM, Ritchy lelis wrote: from pylab import* Vref = arange(1, 20, 0.02) Vi = arange(1, 10,0.1) for i in Vref: for n in Vi: if n> i/4: V0 = 2*n-i elif (-i/4)<= n and n<= i/4: V0 = 2*n elif Vi< -i/4:

Re: Plot problem.. ?? No sign at all

2010-07-05 Thread MRAB
Ritchy lelis wrote: hello guys.. I'm new at python programming and i'm having some problems with a script that i have been developing for my final project of my graduation. I have a script that is supposed to make a plot of a "Residuo" (waveform) witch is an output of a ADC ( Analogic To Digita

Plot problem.. ?? No sign at all

2010-07-05 Thread Ritchy lelis
hello guys.. I'm new at python programming and i'm having some problems with a script that i have been developing for my final project of my graduation. I have a script that is supposed to make a plot of a "Residuo" (waveform) witch is an output of a ADC ( Analogic To Digital Converter) for the f