Случайный график

Post Reply
User avatar
Mr. Kibernetik
Site Admin
Posts: 4610
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPad, iPhone, MacBook
Location: Russia
Flag: Russia

Случайный график

Post by Mr. Kibernetik » Thu Jun 08, 2017 4:10 pm

Code: Select all

y = 200
'рисуем ось
#.drawline(500,y,0,y)
'рисуем график
#.drawcolor(0,0,1)
> x, 1..500
  y += #.rnd(11) - 5
  #.drawline(x,y)
<
Снимок2.JPG
Снимок2.JPG (16.53 KiB) Viewed 977 times

Post Reply