transporter? (...multi-colored graphed pattern)


Please login or register to vote for this query.

(click on this box to dismiss)

Run query then click the GRAPH tab to view.

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

create table #out (x float, label varchar(20), y float)
declare @x float, @y float, @c int

set @c = 1
set @y = 0
while @y <= 686
  set @x = sin(.5*cos(@y))
  insert into #out (x,label,y) values (@x, 'c'+convert(varchar,@c) , @y)  --replicate(' ',@c) 
    set @y = @y + 0.2
    if @c=30 set @c=1 else set @c=@c+1

select * from #out

--chart source js:

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results