How to retain the duplicate data while making contour plots using scatterinterpolant?
Show older comments
I am working with a .csv data which have duplicate values. when i am interpolating those data to prepare a contour plot between date (x-axis), time (y-axis) and values at z-axis. I am getting this - Warning: Duplicate data points have been detected and removed - corresponding values have been averaged. I want to retain the duplicate values rather to remove it. please help me out.
6 Comments
KSSV
on 8 Oct 2018
Why you want to retain the duplicate data? It is a good practice not to keep the duplicates.
Walter Roberson
on 8 Oct 2018
If one of the copies says the input value 4 value corresponds to output 7 and another says it corresponds to 3, then what value should be output if 4 is input? 3? 7? 5? Both 3 and 7?
shravani banerjee
on 8 Oct 2018
shravani banerjee
on 8 Oct 2018
Walter Roberson
on 8 Oct 2018
The defined interpolation routines never return the set of all possible solutions implied by duplicate coefficients.
Related Q with more details
@shravani: It is OK to ask follow-up questions in the same thread even after accepting an answer. Often times it is better, because the person who answered is already familiar with your data.
Answers (0)
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!