title: How to generate a square waveform for qwt oscillocope example?
body: <p>the example  of qwt oscillocope generate a sinus waveform, for my project   I would like to generate a Square or cosinus  wave.
   I tried to find out where the sinus wave is generated , I did'nt find.
   any help will be appreciated 
  thx</p>