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?

Newsgroups comp.graphics.apps.gnuplot
Date 2019-11-04 08:56 -0800
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>

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