开发者

Plot quarterly and annual data on same graph in gnuplot

开发者 https://www.devze.com 2023-04-11 14:47 出处:网络
I need to plot two time series on the same graph. One series has annual observations, while the other series has quarterly observations. Is there straightforward way to do this?

I need to plot two time series on the same graph. One series has annual observations, while the other series has quarterly observations. Is there straightforward way to do this?

The only solution I have come up with is to expand th开发者_C百科e annual data by repeating each year's observation four times, but I'm wondering if there is a way to do this within gnuplot instead of by editing my data.


Quarterly plots in gnuplot are not supported. (check this link).
Maybe you can restructure your data to plot a time series with each point representing a year and another time series where each points represents a month?

I fiddled a little around with two time series (one containing yearly the other containing quarterly data) but could not find a satisfying solution. I am looking forward to other responses.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号