Orderedcolors function in R2023b
조회 수: 7 (최근 30일)
이전 댓글 표시
I have a problem with orderedcolors() function after update 7 of Matlab R2023b, the color is changed index that it is not consistent with the help. Is there something I can do to back to the older update?
댓글 수: 3
DGM
2024년 4월 11일
I did not notice the change, but I guess there was one. As of now (R2024a), the behavior matches the webdocs (yellow-blue-red).
CT = orderedcolors('gem12');
image(permute(CT,[1 3 2]))
However, when I used the webdocs to add these color tables to MIMT ccmap() sometime last year, they were indeed shown as (red-blue-yellow). The change applies to both 'gem12' and 'glow12'. I do not know when exactly that was or what the function behavior was at that time.
There are no relevant release notes or published bug reports. Consequently, I'm not sure whether this was a design revision, a transient bug, a transient documentation error, or a combination of those possibilities. It seems to be resolved in the current version though.
답변 (1개)
Arun
2024년 4월 24일
Hi Huy Nguyen Minh,
I understand that you have found that there is an inconsistency in the documentation for specifying the order of colors in the “gem12” color palette for update 7 release of MATLAB R2023b. Also, you want information to revert to an older update due to this issue.
After looking into it, I found out that the mistake in the documentation is just about update 7 of MATLAB R2023b release. The documentation for previous updates of R2023b, as well as for the subsequent release R2024a, remains accurate and consistent.
Please refer to the shared MATLAB Answers link, which provides detailed instructions on: “How can I roll back a MATLAB update?”: https://www.mathworks.com/matlabcentral/answers/473278-how-can-i-roll-back-a-matlab-update
Hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!