Changing surface grid generated via FIT function
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have the following plot generated via FIT function:
[xrData, yrData, zrData] = prepareSurfaceData( Vr, Vi, Cr ); %this is my data used
ftr = 'lowess';
surffitr = fit( [xrData, yrData], zrData, ftr, 'Normalize', 'on' );
%Then I can plot the surface:
plot(surffitr,[xrData, yrData], zrData)
grid on
set(gca,'FontSize',16)
set(gcf,'color','w')
set(gcf,'units','normalized','outerposition',[0 0 1 1]) %maximize plot window to be saved
xlabel('Real Part of $\bar{V}^{+}_{f}, Re(\bar{V}^{+}_{f}) (V)$ ','Interpreter','latex')
ylabel('Imaginary Part of $\bar{V}^{+}_{f}, Im(\bar{V}^{+}_{f}) (V)$ ','Interpreter','latex')
zlabel('Real Part of $I^{+}_{vd} (A)$','Interpreter','latex')
Then, I have my plot generated:

The point is, I wanted to alter my surface grid, for instance removing it, or using a different pattern (increasing the space between each cell).
I'm not using surf() function directly so I'm a bit confused about how to do it.
Could someone please help me?
Thank you!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!