Lesson goal: Clear the output screen
Previous:
Choose a plotting color |
Home | Next:
Drawing linesYou can clear the output screen using the pcls
function. It works like this:
pcls(n)
Move the mouse over a dotted box for more information.
0=black
1=Green
2=Yellow
3=Blue
4=Red
5=Buff
6=Cyan
7=Magenta
8=Orange
9=White
Now you try. Clear the screen with some different colors using pcls(n)
, but be sure you put a color number where n
is.
Type your code here: