How to smooth the contour plot?

4 views (last 30 days)
Nitin Kumar Jhankal
Nitin Kumar Jhankal on 12 May 2023
Moved: Matt J on 2 Sep 2023
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)

Answers (1)

Walter Roberson
Walter Roberson on 12 May 2023
Moved: Matt J on 2 Sep 2023

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!