how to plot pixel?

as.raster(c(0,1,0))
[,1]
[1,] "#000000"
[2,] "#FFFFFF"
[3,] "#000000"

plot(as.raster(c(0,1,0)))

See the FAQ: How to do a minimal reproducible example reprex for beginners.

I solved thank you.. I just need to expanse plot tab in Rstudio

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.