Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

What this country needs is a good five cent microcomputer.


computers / comp.graphics.apps.gnuplot / stop_“histeps”_from_terminating_to_zero_(y=0)_at_start_and_endpoints?

SubjectAuthor
o stop_“histeps”_from_terminating_to_zero_(y=0)_atAnirban Dutta

1
Subject: stop_“histeps”_from_terminating_to_zero_(y=0)_at_start_and_endpoints?
From: Anirban Dutta
Newsgroups: comp.graphics.apps.gnuplot
Date: Mon, 4 Nov 2019 16:56 UTC
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: i2pn2.org!i2pn.org!weretis.net!feeder7.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!j16no10289939qtl.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>
Subject: stop_“histeps”_from_terminating_to_zero_(y=0)_at
_start_and_endpoints?
From: anirbano...@gmail.com (Anirban Dutta)
Injection-Date: Mon, 04 Nov 2019 16:56:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2449
X-Received-Body-CRC: 1796080110
View all headers
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).


1
rocksolid light 0.7.2
clearneti2ptor