Hi guys. How can I have display a color from RGB coordinates?
26 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Luigi Treccozzi
el 11 de Jul. de 2018
Comentada: Luigi Treccozzi
el 11 de Jul. de 2018
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
0 comentarios
Respuesta aceptada
KSSV
el 11 de Jul. de 2018
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)
Más respuestas (0)
Ver también
Categorías
Más información sobre Subplots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!