What figure properties does graymon sets?

2 ビュー (過去 30 日間)
braulio
braulio 2011 年 11 月 13 日
回答済み: Adam Danz 2024 年 10 月 4 日
I want to change often between the figure properties that the comand
graymon
sets to the 'normal' ones. I guess it would help to know which properties this command changes. Is there an "rgbmon" kind of command?
Thanks!

採用された回答

Daniel Shub
Daniel Shub 2011 年 11 月 13 日
You can see the inner workings of graymon with
type graymon.m
It changes the DefaultAxesColorOrder for all current and future axis objects. Starting with graymon.m, you could create a rgbmon by replacing the definition of co with
co = [ 0 0 1.0000
0 0.5000 0
1.0000 0 0
0 0.7500 0.7500
0.7500 0 0.7500
0.7500 0.7500 0
0.2500 0.2500 0.2500];
  1 件のコメント
braulio
braulio 2011 年 11 月 13 日
thanks a lot Daniel!

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

その他の回答 (1 件)

Adam Danz
Adam Danz 2024 年 10 月 4 日
In case anyone is still looking to flip between gray and colored figured, exportgraphics has a colorspace property that can be set to rgb, cmyk, or gray.
Avoid using graymon. It will be removed from MATLAB soon and warns in R2024b.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by