PSET
PSET [STEP] x,y [, color| COLOR color]
Draws a pixel at coordinate x
,y
with color
color
. If color
is not defined, the current
foreground color will be used. 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 will be
drawn.
Example:
color 10 ' Set foreground color 10
PSET 50,50 ' Point at 50,50 with foreground color
PSET 60,60, 11 ' Point at 60,60 with color 11
PSET 70,70 COLOR 12 ' Point at 70,70 with color 12
PSET 80,80, rgb(255,255,0) ' Point at 80,80 with color yellow
PSET STEP 10,10 COLOR 13 ' Point at 90,90 with color 13
Code samples using PSET
3d wire cube v1.bas
3d wire cube.bas
3d_palmx.bas
anball 1.0.bas
angel feather.bas
another look at trig functions.bas
balls.bas
bezier_pen.bas
biorythms.bas
Chaos_1xt.bas
Chaos_NPhase.bas
cloud (revised).bas
cloud.bas
coordplot.bas
cube3d.bas
curtains.bas
ellipse arc length estimate.bas
evdemo.bas
fireworks.bas
fizzle.bas
fizzle2.bas
flowers.bas
forgive-me.bas
Fractal_Cloud.bas
fractal_fern.bas
Fractal_Mandelbrot.bas
Fractal_Sierpinski_Triangle_v1.bas
Fractal_Tree.bas
g_col_09.bas
Graphics
ARC
CHART
CIRCLE
COLOR
DRAW
DRAWPOLY
IMAGE
LINE
PAINT
PEN
PLOT
POINT
PSET
RECT
RGB
RGBF
SHOWPAGE
TEXTHEIGHT
TEXTWIDTH
TXTH
TXTW
VIEW
WINDOW
XMAX
XPOS
YMAX
YPOS
If there is insufficient information on this page and you wish learn more about PSET,
please send an email to smallbasic@gmail.com. You can help to improve information about
PSET by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.