From help-request at octave dot org Mon Apr 10 11:34:43 2006 Subject: Re: square waves From: Miroslaw Kwasniak To: help at octave dot org Date: Mon, 10 Apr 2006 18:33:14 +0200 On Mon, Apr 10, 2006 at 11:46:15AM -0400, Przemek Klosowski wrote: > > When you plot with lines, a vertical line will be drawn on 1->0 and 0->1 > transitions. As far as I know, there's no way to plot the line for flat > regions, and NOT plot it for transitions ... ... using the standart plot command. But I you know that it'a a perfect square wave you can play with the technique used in bar.m. If transitions aren't synchronous with samples this method another artefacts :) ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------