Put more data on x-axis
显示 更早的评论
Hello.
My two questions are:
- Is it possible to put more data on x-axis on my graph? To show yearly increments by small dashes in between the 5 year increments?
- To interpolate the big 20 year gap in the data? Or, is the data gap too big to interpolate accurately?

采纳的回答
更多回答(1 个)
Image Analyst
2020-4-12
0 个投票
Regarding question 2: what's the point? So you have missing data from 1993 to 2006 (it's all zero or nan). What would you want to fill it in with? A straight line? Random data drawn from a distribution of existing data? But even if you did that, what's the point? If you were to then do some analysis on that made up data, what good is it? You can't make any decisions on what happened in, say, 2001, if you're just using made up data. There is no confidence that the made up data is anything remotely like the actual (but missing) data.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!