Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Plot Manipulation
See also: createcolor

Function: freecolor
Description: freecolor deallocates the colors that were allocated by user or by system.


Usage: freecolor({option})
Input:
option a string "user" to free the colors allocated by user with createcolor or "color" to try to free the system color (only by TrueColor-Monitor). By the freecolor() without option the both color classes will be deallocated.

Example:



x=uniform(10000, 2)*2-1

z=x.*x

z=z[,1]+z[,2]

z=z/max(z)

z=z*248

grey=z~z~z

freecolor()

createcolor(grey)

z=x~z

setmaskp(z, grey, 8, 5)

d=createdisplay(1, 1)

show(d, 1, 1, z)

Result:

you see the points that are nearer to the center darker as the other points


Group: Plot Manipulation
See also: createcolor

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000