# Difference between revisions of "83Plus:Basic:Graphics:Shade("

From WikiTI

(→Comments) |
m (cleanup) |
||

Line 27: | Line 27: | ||

:Shade(−X^2-2,−X^2+7,−10,10,3,2 | :Shade(−X^2-2,−X^2+7,−10,10,3,2 | ||

− | |||

− |

## Revision as of 19:14, 15 April 2006

## Contents

## Synopsis

**Token size:** 1 byte

**Syntax:** Shade(lower equation,upper equation[,left side of X to shade from,right side of X to shade to[,pattern,pixel frequency]])

Shades in an area defined by the two equations, with a pattern at a certain pixel frequency.

Patterns are:

- 1: vertical
- 2: horizontal
- 3: slanted (top left to bottem right)
- 4: slanted (bottem left to top left)

## Outputs:

Shaded in area on the graph screen

## Comments

- Pattern may only be 1-4

## Examples

To make a sort of Star Trek: Voyager logo:

:Shade(−X^2-2,−X^2+7,−10,10,3,2