How to smooth the contour plot?

clc
clear all
close all
filename='testdata.xlsx'
a=xlsread(filename,'Sheet1');
pf = a(3:12,:);
ewd = a(14:23,:);
qwd = a(25:34,:);
pwd = a(36:45,:);
gv = a(47:56,:);
ewd1=ewd';
qwd1=qwd';
pf1=pf';
pwd1=pwd';
gv1=gv';
[c,h]=contour(ewd1,qwd1,pf1,[0:4:30])
clabel(c,h, 'labelspacing', 200)

Categories

Asked:

on 12 May 2023

Moved:

on 2 Sep 2023

Community Treasure Hunt

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

Start Hunting!