MATLAB Answers

Area plot does not recognize colormap

조회 수: 3(최근 30일)
Wolfram
Wolfram 23 Jan 2020
댓글: darova 23 Jan 2020
When I changed to R2019a, area plots do not recognize the current colormap anymore. The only workaround I found was to replace 'area' by 'fill'. I include the code and the figures displayed. With my older Matlab version, both figures looked like 'Figure 2.png'.

  댓글 수: 1

darova
darova 23 Jan 2020
What is the question?

Sign in to comment.

답변(1개)

Adam
Adam 23 Jan 2020
What was your 'older Matlab version'?
If you keep the handle from an area plot you get an object (or objects, if you feed it a matrix) which you can then change the 'FaceColor' property of. This changed in 2017b.
You can see in the release notes at:
if you scroll down to the R2017b section.

  댓글 수: 0

Sign in to comment.

태그

제품


릴리스

R2019a

Translated by