How can I manipulate the 2D data to make it smoother
I have the following data represented by the surface plot:
clear; clc;
load(‘data.mat’)
figure;
surf(nXX,nYY,nZZ,’linestyle’,’none’,’facecolor’,’interp’)
hold on
plot3([0, 0.5], [0, 0.145], [2, 2],’Color’,’white’,’LineStyle’,’–‘,’LineWidth’,2);
plot3([0, 0.5], [2*0.145, 0.145], [2, 2],’Color’,’black’,’LineStyle’,’–‘,’LineWidth’,2);
annotation(‘ellipse’,[0.08 0.58 0.18 0.34],’LineWidth’,2);
xlabel(‘C_a’)
ylabel(‘C_d’)
zlabel(‘C_z’)
view(2)
colorbar
set(gca,’FontSize’,13)
I want to remove the blue part inside the ellipse and extend the yellow area smoothly till C_a=0 and above the black dashed line. Although the yellow region appears constant, it actually changes very slowly. I aim to extend this yellow part while preserving its gradual variation.I have the following data represented by the surface plot:
clear; clc;
load(‘data.mat’)
figure;
surf(nXX,nYY,nZZ,’linestyle’,’none’,’facecolor’,’interp’)
hold on
plot3([0, 0.5], [0, 0.145], [2, 2],’Color’,’white’,’LineStyle’,’–‘,’LineWidth’,2);
plot3([0, 0.5], [2*0.145, 0.145], [2, 2],’Color’,’black’,’LineStyle’,’–‘,’LineWidth’,2);
annotation(‘ellipse’,[0.08 0.58 0.18 0.34],’LineWidth’,2);
xlabel(‘C_a’)
ylabel(‘C_d’)
zlabel(‘C_z’)
view(2)
colorbar
set(gca,’FontSize’,13)
I want to remove the blue part inside the ellipse and extend the yellow area smoothly till C_a=0 and above the black dashed line. Although the yellow region appears constant, it actually changes very slowly. I aim to extend this yellow part while preserving its gradual variation. I have the following data represented by the surface plot:
clear; clc;
load(‘data.mat’)
figure;
surf(nXX,nYY,nZZ,’linestyle’,’none’,’facecolor’,’interp’)
hold on
plot3([0, 0.5], [0, 0.145], [2, 2],’Color’,’white’,’LineStyle’,’–‘,’LineWidth’,2);
plot3([0, 0.5], [2*0.145, 0.145], [2, 2],’Color’,’black’,’LineStyle’,’–‘,’LineWidth’,2);
annotation(‘ellipse’,[0.08 0.58 0.18 0.34],’LineWidth’,2);
xlabel(‘C_a’)
ylabel(‘C_d’)
zlabel(‘C_z’)
view(2)
colorbar
set(gca,’FontSize’,13)
I want to remove the blue part inside the ellipse and extend the yellow area smoothly till C_a=0 and above the black dashed line. Although the yellow region appears constant, it actually changes very slowly. I aim to extend this yellow part while preserving its gradual variation. interpolation, fitting MATLAB Answers — New Questions