| 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. | |
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)
you see the points that are nearer to the center darker as the other points
| Group: | Plot Manipulation |
| See also: | createcolor |