<s> from visual import * <EOL> from visual . graph import * <EOL> oscillation = gdisplay ( xtitle = '<STR_LIT>' , ytitle = '<STR_LIT>' ) <EOL> funct1 = gcurve ( color = color . cyan ) <EOL> funct2 = gvbars ( delta = <NUM_LIT:0.5> , color = color . red ) <EOL> funct3 = gdots ( color = color . yellow ) <EOL> for t in arange ( - <NUM_LIT:30> , <NUM_LIT> , <NUM_LIT:1> ) : <EOL> funct1 . plot ( pos = ( t , <NUM_LIT> + <NUM_LIT> * cos ( - <NUM_LIT> * t ) * exp ( <NUM_LIT> * t ) ) ) <EOL> funct2 . plot ( pos = ( t , <NUM_LIT> + <NUM_LIT> * cos ( - <NUM_LIT:0.1> * t ) * exp ( <NUM_LIT> * t ) ) ) <EOL> funct3 . plot ( pos = ( t , <NUM_LIT> * cos ( - <NUM_LIT> * t ) * exp ( <NUM_LIT> * t ) ) ) <EOL> histo = gdisplay ( title = '<STR_LIT>' , x = <NUM_LIT:0> , y = <NUM_LIT> , width = <NUM_LIT> , height = <NUM_LIT> ) <EOL> datalist1 = [ <NUM_LIT:5> , <NUM_LIT> , <NUM_LIT:12> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:8> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT:7> ] <EOL> data = ghistogram ( bins = arange ( - <NUM_LIT:20> , <NUM_LIT> , <NUM_LIT:10> ) , color = color . red ) <EOL> data . plot ( data = datalist1 ) <EOL> datalist2 = [ <NUM_LIT:7> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , - <NUM_LIT:15> ] <EOL> data . plot ( data = datalist2 , accumulate = <NUM_LIT:1> ) </s>
