Plotting time series data skipping time intervals

View: New views
2 Messages — Rating Filter:   Alert me  

Plotting time series data skipping time intervals

by rasikaa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to plot some time series data over several days using gnuplot. The data has time stamps with millisecond timings spanning several days. I am able to plot them using a time formatted x axis. However, the data has large time intervals (non trading hours in the stock market) that result in a large long line for this period.

Is there any way that I can tell gnuplot to ignore a certain time interval in a day so that I can get the graph as a continuous line?

Thanks and best regards,

Rasika

Re: Plotting time series data skipping time intervals

by Thomas Sefzick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

1. you may modify certain x-values by subtracting the gap(s) using the
'using' option. but this will not modify the x-axis, i.e. the tics labels,
these you would have to set explicitly.

2. you could use 'multiplot' and produce a sub-plot for each interval
of continuous data. have a look at:
http://gnuplot.flexkb.net/wc.dll?gnu~SplitAxes

rasikaa wrote:
I am trying to plot some time series data over several days using gnuplot. The data has time stamps with millisecond timings spanning several days. I am able to plot them using a time formatted x axis. However, the data has large time intervals (non trading hours in the stock market) that result in a large long line for this period.

Is there any way that I can tell gnuplot to ignore a certain time interval in a day so that I can get the graph as a continuous line?

Thanks and best regards,

Rasika