Changing surface grid generated via FIT function

조회 수: 6 (최근 30일)
Renan M. Furlaneto
Renan M. Furlaneto 2021년 4월 26일
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개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by