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


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

stop “histeps” from terminating to zero (y=0) at start and endpoints?

X-Received by 2002:a05:620a:12b1:: with SMTP id x17mr12309072qki.467.1572886583958; Mon, 04 Nov 2019 08:56:23 -0800 (PST)
X-Received by 2002:a05:6830:1bef:: with SMTP id k15mr10897289otb.218.1572886583526; Mon, 04 Nov 2019 08:56:23 -0800 (PST)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!j16no10289938qtl.0!news-out.google.com!p4ni137qtu.1!nntp.google.com!j16no10289927qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Mon, 4 Nov 2019 08:56:23 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=103.79.119.3; posting-account=NGZ5fAoAAADL0fuPKpHTireUaqIFerEB
NNTP-Posting-Host 103.79.119.3
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <9de22a65-7028-4753-9ae1-900ae6872ecb@googlegroups.com> (permalink)
Subject stop “histeps” from terminating to zero (y=0) at start and endpoints?
From Anirban Dutta <anirbanonline92@gmail.com>
Injection-Date Mon, 04 Nov 2019 16:56:23 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 50
Xref csiph.com comp.graphics.apps.gnuplot:4262

Show key headers only | View raw


I am using the following script for plotting data points from file "delete.dat"

-------------------------
set terminal jpeg
set output "delete_histeps.jpeg"

set title "with histeps"
plot "delete.dat" using 1:2 index 0 pt 7 ps 0.2 lc "black" notitle,\
"delete.dat" using 1:2 index 1 pt 7 ps 0.2 lc "red" notitle,\
"delete.dat" using 1:2 index 2 pt 7 ps 0.2 lc "green" notitle,\
"delete.dat" using 1:2 index 0 with histeps lc "black",\
"delete.dat" using 1:2 index 1 with histeps lc "red",\
"delete.dat" using 1:2 index 2 with histeps lc "green"
--------------------------


and the "delete.dat" file is


---------------------
1 2
3 4
5 6
7 8
9 10


-1 5
-2 3
-3 4
-4 2
-5 6


5 1
6 2
7 3
8 4
9 5
10 4
11 3
12 12
---------------------


But the start and end step is dropping to zero, which I don't want. Though for step and fsteps command, the steps begin (end) at the first (last) data point, without dropping down to zero (y=0). Can you please suggest that works like histeps (which keeps data points in the middle of the steps) but does not terminate to zero (like steps or fsteps).

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


Thread

stop “histeps” from terminating to zero (y=0) at start and endpoints? Anirban Dutta <anirbanonline92@gmail.com> - 2019-11-04 08:56 -0800

csiph-web