Re: how to plot the FFT of a list of values

2020-12-07 Thread Thomas Jollans
On 05/12/2020 23:08, Christian Gollwitzer wrote: Am 05.12.20 um 18:16 schrieb Boris Dorestand: I have 16 values of the period sequence 1, 2, 4, 8, 1, 2, 4, 8, ...  I compute its fourier transform using from scipy import fft, ifft x = [1,2,4,8,1,2,4,8] fft(x) array([ 30. +0.j,   0. +0.j,  -6.+

Re: how to plot the FFT of a list of values

2020-12-05 Thread Christian Gollwitzer
Am 05.12.20 um 18:16 schrieb Boris Dorestand: I have 16 values of the period sequence 1, 2, 4, 8, 1, 2, 4, 8, ... I compute its fourier transform using from scipy import fft, ifft x = [1,2,4,8,1,2,4,8] fft(x) array([ 30. +0.j, 0. +0.j, -6.+12.j, 0. +0.j, -10. +0.j, 0. +0.j, -6

Re: how to plot the FFT of a list of values

2020-12-05 Thread Dan Stromberg
rray([ 30. +0.j, 0. +0.j, -6.+12.j, 0. +0.j, -10. +0.j, 0. +0.j, > -6.-12.j, 0. +0.j]) > > Now how can I plot these values? I would like to plot 16 values. What > do I need to do here? Can you show an example? > Maybe https://stackoverflow.com/questions/17445

how to plot the FFT of a list of values

2020-12-05 Thread Boris Dorestand
I have 16 values of the period sequence 1, 2, 4, 8, 1, 2, 4, 8, ... I compute its fourier transform using >>> from scipy import fft, ifft >>> x = [1,2,4,8,1,2,4,8] >>> fft(x) array([ 30. +0.j, 0. +0.j, -6.+12.j, 0. +0.j, -10. +0.j, 0. +0.j, -6.-12.j, 0. +0.j]) Now how can I plot

Re: How to plot a data including date and time?

2019-08-14 Thread George Fischhof
Elliott Roper ezt írta (időpont: 2019. aug. 14., Sze 15:56): > On 14 Aug 2019, Elliott Roper wrote > (in article<0001hw.23044901039e772c7ca97...@news.giganews.com>): > > > On 14 Aug 2019, amirrezaheidary...@gmail.com wrote > > (in article<23d45668-fa47-4640-832a-5a5c64600...@googlegroups.com>

Re: How to plot a data including date and time?

2019-08-14 Thread Elliott Roper
On 14 Aug 2019, Elliott Roper wrote (in article<0001hw.23044901039e772c7ca97...@news.giganews.com>): > On 14 Aug 2019, amirrezaheidary...@gmail.com wrote > (in article<23d45668-fa47-4640-832a-5a5c64600...@googlegroups.com>): > > > On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2, amirrezah...@

Re: How to plot a data including date and time?

2019-08-14 Thread Elliott Roper
On 14 Aug 2019, amirrezaheidary...@gmail.com wrote (in article<23d45668-fa47-4640-832a-5a5c64600...@googlegroups.com>): > On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2, amirrezah...@gmail.com > wrote: > > I have a .csv file, in first column I have date and hour, and in the second > > column I h

Re: How to plot a data including date and time?

2019-08-14 Thread amirrezaheidarysbu
On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2, amirrezah...@gmail.com wrote: > I have a .csv file, in first column I have date and hour, and in the second > column I have energy use data. How can I make a bar chart with Date and time > as the x axis and the energy use as the Y axis? > > Thank

Re: How to plot a data including date and time?

2019-08-13 Thread Chris Angelico
On Wed, Aug 14, 2019 at 8:17 AM Rich Shepard wrote: > > On Tue, 13 Aug 2019, amirrezaheidary...@gmail.com wrote: > > > I have a .csv file, in first column I have date and hour, and in the > > second column I have energy use data. How can I make a bar chart with Date > > and time as the x axis and

Re: How to plot a data including date and time?

2019-08-13 Thread Rich Shepard
On Tue, 13 Aug 2019, amirrezaheidary...@gmail.com wrote: I have a .csv file, in first column I have date and hour, and in the second column I have energy use data. How can I make a bar chart with Date and time as the x axis and the energy use as the Y axis? First, find yourself a plotting prog

How to plot a data including date and time?

2019-08-13 Thread amirrezaheidarysbu
I have a .csv file, in first column I have date and hour, and in the second column I have energy use data. How can I make a bar chart with Date and time as the x axis and the energy use as the Y axis? Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: How to plot

2017-10-27 Thread Andrew Z
Rrhank you Thomas. On Oct 27, 2017 04:23, "Thomas Jollans" wrote: > On 2017-10-27 07:18, Andrew Z wrote: > > Hello, > > i'd like to create a graph/plot based a DB table's data, but not sure > > where to start. I > > > > also would like to have the following functionality: > > a. i'd like to

Re: How to plot

2017-10-27 Thread Thomas Jollans
On 2017-10-27 07:18, Andrew Z wrote: > Hello, > i'd like to create a graph/plot based a DB table's data, but not sure > where to start. I > > also would like to have the following functionality: > a. i'd like to have it in the separate window ( xwindow to be precise). > b. and i'd like to have

How to plot

2017-10-26 Thread Andrew Z
Hello, i'd like to create a graph/plot based a DB table's data, but not sure where to start. I also would like to have the following functionality: a. i'd like to have it in the separate window ( xwindow to be precise). b. and i'd like to have the graph updating with every record added to the