Jump to content

Colour bars/Display: Difference between revisions

No edit summary
Line 486:
EndIf</lang>
 
 
=={{header|R}}==
<lang R>
pal <- c("black", "red", "green", "blue", "magenta", "cyan", "yellow", "white")
par(mar = rep(0, 4)) # set margins to zero so image will fill display
image(matrix(1:8), col = pal, axes = FALSE)
</lang>
 
=={{header|Run BASIC}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.