This shows you the differences between two versions of the page.
— |
nl:plot [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Plot ===== | ||
+ | ==== Formaat ==== | ||
+ | **plot** //x//, //y//\\ | ||
+ | **plot** ( //x//, //y// ) | ||
+ | ==== Beschrijving ==== | ||
+ | Met deze functie verander je éé pixel op plaats (// | ||
+ | |||
+ | :!: Opgelet :!: één pixel is klein ;-) | ||
+ | |||
+ | ==== Voorbeeld ==== | ||
+ | Omdat één pixel zeer klein is, laat ik dus 100 pixels naast elkaar van kleur veranderen ;-) | ||
+ | <code basic4gl> | ||
+ | clg | ||
+ | color red | ||
+ | for x=1 to 100 | ||
+ | plot 100+x,100 | ||
+ | next x | ||
+ | </ | ||
+ | |||
+ | zie je het resultaat ? | ||
+ | |||
+ | |||
+ | ---- | ||
+ | [[line|vorige]] | [[a_real_dali|Tekenen en kleuren]] | [[poly|volgende]] |