Section: Handle-Based Graphics
set(h,'color',[r,g,b])
where r,g,b
are between @[0,1]@. Alternately, you can
use color names to specify a color.
'none'
- No color.
'y','yellow'
- The color @[1,1,0]@ in RGB space.
'm','magenta'
- The color @[1,0,1]@ in RGB space.
'c','cyan'
- The color @[0,1,1]@ in RGB space.
'r','red'
- The color @[1,0,0]@ in RGB space.
'g','green'
- The color @[0,1,0]@ in RGB space.
'b','blue'
- The color @[0,0,1]@ in RGB space.
'w','white'
- The color @[1,1,1]@ in RGB space.
'k','black'
- The color @[0,0,0]@ in RGB space.