Plotting figure with intp2

1 次查看(过去 30 天)
Skydriver
Skydriver 2019-6-14
I have a coding to plot a figure and this is my coding:
[Xq_cond,Yq_cond] = meshgrid(linspace(min(Mwgrid),max(Mwgrid),length(amaxgrid)),linspace(min(amaxgrid),max(amaxgrid),n)); %import
Vq_cond = interp2(Mwgrid, amaxgrid, PL,Xq_cond,Yq_cond,'cubic');
where
Mwgrid = linspace(4.75,8.25,8); %linspace(4.8,7.6,50);
amaxgrid = linspace(0.19,0.42,36);
grid = meshgrid(Mwgrid,amaxgrid);
I also attach the PL in the .txt format
Is there any one can help me to solve the problem of plotting using intp2?
I wish my plot has the same figure like in the attachment

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by