Figureのcolormapが変更できません
이전 댓글 표시

surf(peaks)
colormap winter
を実行すると
“入力引数が不足しています。
エラー: colormap (line 23) contour(xdata1,ydata1,zdata1,'LineStyle','none');”
とエラーが出でて、上記のFigureが出てきます。 発生する理由と対処法を教えていただけませんでしょうか。
채택된 답변
추가 답변 (1개)
madhan ravi
2018년 11월 4일
x = linspace(-2*pi,2*pi); %see example
y = linspace(0,4*pi);
[X,Y] = meshgrid(x,y);
Z = sin(X)+cos(Y);
contour(X,Y,Z)
카테고리
도움말 센터 및 File Exchange에서 カラーマップ에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!