Not enough input arguments error
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi. my code gives me error. plz help me to fix it. what to do?
function createfigure(VertexNormals1, ZData1, YData1, XData1, Vertices1, Faces1, FaceVertexCData1)
%CREATEFIGURE(VERTEXNORMALS1, ZDATA1, YDATA1, XDATA1, VERTICES1, FACES1, FACEVERTEXCDATA1)
% VERTEXNORMALS1: patch vertexnormals
% ZDATA1: patch zdata
% YDATA1: patch ydata
% XDATA1: patch xdata
% VERTICES1: patch vertices
% FACES1: patch faces
% FACEVERTEXCDATA1: patch facevertexcdata
% Auto-generated by MATLAB on 24-Dec-2018 13:55:08
% Create figure
figure1 = figure('Renderer','zbuffer');
colormap('cool');
% Create axes
axes1 = axes('Parent',figure1,'CLim',[-0.999783764189357 0.999783764189357]);
view(axes1,[-37.5 30]);
% Create patch
patch('Parent',axes1,'VertexNormals',VertexNormals1,'ZData',ZData1,...
'YData',YData1,...
'XData',XData1,...
'Vertices',Vertices1,...
'Faces',Faces1,...
'FaceColor','interp',...
'EdgeColor','none',...
'FaceVertexCData',FaceVertexCData1,...
'CData',ZData1);
% Create colorbar
colorbar('peer',axes1);
3 commentaires
per isakson
le 15 Jan 2020
The name of the function in your question is createfigure
The name of code that throws the error is enteghal_hararate_2D
Réponses (0)
Voir également
Catégories
En savoir plus sur Polygons dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!