Change multiple elements in one action

I’m creating a pixel screen and want to change multiple pixels’ colors at once. Can anyone show me how to change multiple pixels’ colors? Here is the graph:

See if this is what you’re looking for … I added two new functions …

https://www.desmos.com/calculator/io5x3xe892

That is what I was looking for, thank you!