Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

histeps drops to zero at end of data

Newsgroups comp.graphics.apps.gnuplot
Date 2018-07-14 19:03 -0700
Message-ID <f654ce59-98e2-49e8-a864-3e8428fe684a@googlegroups.com> (permalink)
Subject histeps drops to zero at end of data
From Rolf Campbell <thats.unpossible@gmail.com>

Show all headers | View raw


I'm trying to produce a chart that has multiple lines which end at different x-values.  When I use normal lines, or even "steps", the lines with less data stop (this is exactly what I want).

When I plot with histeps, the lines with less data drop to zero after the final value.  Here is an example: https://img42.com/5VYEa.  I would have expected the red line to stop at the end of the maximum value like it does with "steps".

I noticed that even the published samples of how to use histeps exhibits the same behaviour: http://gnuplot.sourceforge.net/demo/steps.html

Is there a reason why histeps drops a line down to zero at the end even though "steps" does not?

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


Thread

histeps drops to zero at end of data Rolf Campbell <thats.unpossible@gmail.com> - 2018-07-14 19:03 -0700
  Re: histeps drops to zero at end of data Gavin Buxton <gavinbuxton@gmail.com> - 2018-07-15 06:55 -0700
    Re: histeps drops to zero at end of data Rolf Campbell <thats.unpossible@gmail.com> - 2018-07-15 07:17 -0700

csiph-web