Clear Filters
Clear Filters

Put more data on x-axis

12 views (last 30 days)
SuzieChan
SuzieChan on 12 Apr 2020
Edited: Matt J on 12 Apr 2020
Hello.
My two questions are:
  1. 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?
  2. To interpolate the big 20 year gap in the data? Or, is the data gap too big to interpolate accurately?

Accepted Answer

Matt J
Matt J on 12 Apr 2020
Edited: Matt J on 12 Apr 2020

More Answers (1)

Image Analyst
Image Analyst on 12 Apr 2020
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.

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!