Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.graphics.apps.gnuplot > #280

Re: Zero-order hold interpolation

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Zero-order hold interpolation
Followup-To comp.graphics.apps.gnuplot
Date Tue, 26 Apr 2011 09:35:53 -0700
Organization gnuplot development team
Lines 15
Message-ID <ip6s99$ogc$1@dont-email.me> (permalink)
References <7f91ef94-a8f3-4c7d-ae0b-60ce98b207c8@f31g2000pri.googlegroups.com>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Tue, 26 Apr 2011 16:35:54 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="25100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1885IDpUpe2Xl8B07WKlUi9"
User-Agent KNode/4.4.3
Cancel-Lock sha1:oDjYkQbH7zwQI/cCocNciV8Ihq0=
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:280

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


Jonathan Drolet wrote:
> 
> I'm looking to plot values from a datafile with lines; this part is
> quite easy with gnuplot. My problem, however, is that gnuplot will
> linearly interpolate between datapoints. This is usually what I need,
> but for this particular plot, I want the line to be constant between
> two datapoints (zero-order hold interpolation), but can't seem to
> figure out an easy way to do this.
> 
> Is there a way to do this with gnuplot?

Plot styles "steps", "fsteps", and "histeps" are all variants on what
you want.
 
   http://gnuplot.sourceforge.net/demo/steps.html

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Zero-order hold interpolation Jonathan Drolet <lagoule@gmail.com> - 2011-04-26 09:20 -0700
  Re: Zero-order hold interpolation sfeam <sfeam@users.sourceforge.net> - 2011-04-26 09:35 -0700
    Re: Zero-order hold interpolation Jonathan Drolet <lagoule@gmail.com> - 2011-04-26 11:09 -0700

csiph-web