フィルターのクリア

Hi guys. How can I have display a color from RGB coordinates?

26 ビュー (過去 30 日間)
Luigi Treccozzi
Luigi Treccozzi 2018 年 7 月 11 日
コメント済み: Luigi Treccozzi 2018 年 7 月 11 日
What I'd like to do is to print a color starting from its RGB coordinates. Like MS Paint tool, more or less. There already exists a tool in Matlab? Thanks

採用された回答

KSSV
KSSV 2018 年 7 月 11 日
Red = [255 0 0] ;
Lime = [0 255 0] ;
x = [0 1 1 0] ; y = [0 0 1 1] ;
figure
fill(x,y,Red/255)
figure
fill(x,y,Lime/255)
  1 件のコメント
Luigi Treccozzi
Luigi Treccozzi 2018 年 7 月 11 日
Thanks! This is what I was looking for!

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by