I am trying to plot an stl file but it showing error
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
abu sharique shamshad khan
am 19 Aug. 2021
Kommentiert: abu sharique shamshad khan
am 19 Aug. 2021
FV = stlread('Part2.stl');
disp(FV);
plot(FV);
Error using plot
Data must be numeric, datetime, duration or an array convertible to double.
Error in PART1 (line 3)
plot(FV);
0 Kommentare
Antworten (2)
Wan Ji
am 19 Aug. 2021
Bearbeitet: Wan Ji
am 19 Aug. 2021
Use triplot
FV = stlread('Part2.stl');
triplot(FV)
1 Kommentar
Wan Ji
am 19 Aug. 2021
Or you can use patch
patch('vertices', FV.Points, 'faces', FV.ConnectivityList, ...
'facevertexcdata',FV.Points(:,2),'facecolor','interp','facealpha',0.4 );
colormap(jet)
Siehe auch
Kategorien
Mehr zu Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!