[Scilab-users] Time Series

Tim Wescott tim at wescottdesign.com
Thu Aug 18 20:23:46 CEST 2016


I think you just need to generate the time data.  Assuming a column
vector of ADC data (or a matrix with rows of multiple samples at the
sample time):

plot2d((1:size(ADCdata, 2)) * sample_time, ADCdata);

On Thu, 2016-08-18 at 19:40 +0200, Gerhard Kreuzer wrote:
> Hi,
> 
>  
> 
> what do I have:
> 
> Lot of floating point data, converted from ADC samples, äquidistant
> with a knowen sampling rate/sampling distance.
> 
>  
> 
> What o I want:
> 
> Plot a diagram, values over time.
> 
>  
> 
> This sounds like a common use case.
> 
>  
> 
> As far as I saw, I need value pairs to plot the data, but it makes no
> sense to generate  the time data. As I have a lot of data, this causes
> a ‚data explosion‘.
> 
> Is there a smarter way to do this?
> 
>  
> 
> Is there some function where I can feed in my data-vector and define a
> point at the x/time-axis and than the data is plotted accordinly?
> 
>  
> 
> With best regards
> 
>  
> 
> Gerhard
> 
>  
> 
> 
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432





More information about the users mailing list