Skip to content

Commit 88454d0

Browse files
authored
Update 621-graphics-pset.markdown
1 parent 1c00122 commit 88454d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_build/reference/621-graphics-pset.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
> PSET [STEP] x,y [, color| COLOR color]
44
55
Draws a pixel at coordinate `x`,`y` with color `color`. If `color` is not defined, the current foreground color will be used.
6-
If STEP is used, the graphics cursor will be moved by `x` pixels in x-direction and `y` pixel in y-direction and then the pixel
6+
If `STEP` is used, the graphics cursor will be moved by `x` pixels in x-direction and `y` pixel in y-direction and then the pixel
77
will be drawn.
88

99
### Example:
1010

1111
```
1212
color 10 ' Set foreground color 10
1313
PSET 50,50 ' Point at 50,50 with foreground color
14-
PSET 60,60, 11 ' Point at 60,60 with color 5
15-
PSET 70,70 COLOR 12 ' Point at 70,70 with color 6
14+
PSET 60,60, 11 ' Point at 60,60 with color 11
15+
PSET 70,70 COLOR 12 ' Point at 70,70 with color 12
1616
PSET 80,80, rgb(255,255,0) ' Point at 80,80 with color yellow
17-
PSET STEP 10,10 COLOR 13 ' Point at 90,90 with color 7
17+
PSET STEP 10,10 COLOR 13 ' Point at 90,90 with color 13
1818
```

0 commit comments

Comments
 (0)