reverse jet colours on my lines
조회 수: 15 (최근 30일)
이전 댓글 표시
Yuktha Andie Ravinthiran
2022년 2월 17일
댓글: Yuktha Andie Ravinthiran
2022년 2월 17일
hold on
set(groot,'defaultLineLineWidth',1.5)
ex = xlsread(p2,'emission','E2:E37');
ey = xlsread(p2,'emission','C2:C361');
eyy = reshape(ey,[36,10])';
colors = jet(10);
hold on
for i = 1:10
plot(eyy(i,:), "color", colors(i,:))
end
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/897890/image.jpeg)
hold off
I want the colour of the lines to be reversed so that the current blue line is red and current red line is blue
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Colormaps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!