Lesson goal: Clear the output screen
Previous: Choose a plotting color
| Next: Drawing lines
You can clear the output screen using the
pcls function. It works like this:
Move the mouse over a dotted box for more information.
Now you try. Clear the screen with some different colors using
pcls(n), but be sure you put a color number where
Type your code here:
Does your code work? Want to run it on your iPhone?
Here's your code:
- Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.
- Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into
- Then click the "Use on iPhone" button that you'll see.