RosettaCodeData/Task/Draw-a-pixel/Maxima/draw-a-pixel.maxima
2023-09-16 17:28:03 -07:00

5 lines
209 B
Text

/* Matrix that represents the window and the pixel positioned in it */
ematrix(320,240,1,100,100)$
/* Drawing the window and the pixel as needed */
wxdraw2d(palette = [white,gray,red], image(%,0,0,320,240))$