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


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

Re: Zero-order hold interpolation

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Zero-order hold interpolation
Followup-To comp.graphics.apps.gnuplot
Date 2011-04-26 09:35 -0700
Organization gnuplot development team
Message-ID <ip6s99$ogc$1@dont-email.me> (permalink)
References <7f91ef94-a8f3-4c7d-ae0b-60ce98b207c8@f31g2000pri.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | 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