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

1

Please login or register to vote for this query.

(click on this box to dismiss)

Run query then click the GRAPH tab to view.

Chess

Q&A for serious players and enthusiasts of chess

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
  begin
  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
  end
  

select * from #out




--chart source js: https://github.com/StackExchange/StackExchange.DataExplorer/blob/069bf5e441cf6717258479b862cc1f190ef1f7b4/App/StackExchange.DataExplorer/Scripts/query.graph.js

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results