How to interpolate a figure made with pcolor

5 次查看(过去 30 天)
Hi to everyone, I have these figures (.fig) coming from measurements and represented using pcolor. I would like to improve them graphically since the sampling is not so accurate. What can I do?

回答(1 个)

Michelle Wu
Michelle Wu 2017-2-17
编辑:Michelle Wu 2017-2-17
There are functions available in MATLAB which can perform 1-D, 2-D, or 3-D data interpolation. The function names are 'interp1', 'interp2' and 'interp3'. Depending on how many variables you have, you can try using the corresponding function to interpolate your data before using 'pcolor' to create the pseudocolor plot.
It may be a good idea to check out the section titled 'Interpolation' in the doc page below:

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by