Area plot does not recognize colormap

4 ビュー (過去 30 日間)
Wolfram
Wolfram 2020 年 1 月 23 日
コメント済み: darova 2020 年 1 月 23 日
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 2020 年 1 月 23 日
What is the question?

サインインしてコメントする。

回答 (1 件)

Adam
Adam 2020 年 1 月 23 日
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.

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by