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


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

Re: histeps drops to zero at end of data

Newsgroups comp.graphics.apps.gnuplot
Date 2018-07-15 07:17 -0700
References <f654ce59-98e2-49e8-a864-3e8428fe684a@googlegroups.com> <5d946d6c-8d43-4860-85dd-f699a7abd3d8@googlegroups.com>
Message-ID <986932d4-f576-4bf6-a2c6-23be55ecd737@googlegroups.com> (permalink)
Subject Re: histeps drops to zero at end of data
From Rolf Campbell <thats.unpossible@gmail.com>

Show all headers | View raw


On Sunday, July 15, 2018 at 9:55:06 AM UTC-4, Gavin Buxton wrote:
> Try something like:
> plot (x<0?sin(x):1/0)

That seems to work OK, but when I try a more complicated example like what I've attached at the bottom, the red line drops to zero even though there is no data telling it to.


set xtics  ("Jun/14" 736859, "Jun/17" 736862, "Jun/20" 736865, "Jun/23" 736868, "Jun/26" 736871, "Jun/29" 736874, "Jul/02" 736877, "Jul/05" 736880, "Jul/08" 736883, "Jul/11" 736886, "Jul/14" 736889, "Jul/17" 736892, "Jul/20" 736895, "Jul/23" 736898, "Jul/26" 736901, "Jul/29" 736904, "Aug/01" 736907, "Aug/04" 736910, "Aug/07" 736913, "Aug/10" 736916, "Aug/13" 736919, "Aug/16" 736922, "Aug/19" 736925, "Aug/22" 736928, "Aug/25" 736931, "Aug/28" 736934, "Aug/31" 736937, "Sep/03" 736940, "Sep/06" 736943, "Sep/09" 736946, "Sep/12" 736949, "Sep/15" 736952, "Sep/18" 736955, "Sep/21" 736958, "Sep/24" 736961, "Sep/27" 736964, "Sep/30" 736967, "Oct/03" 736970, "Oct/06" 736973, "Oct/09" 736976, "Oct/12" 736979, "Oct/15" 736982, "Oct/18" 736985, "Oct/21" 736988, "Oct/24" 736991, "Oct/27" 736994, "Oct/30" 736997, "Nov/02" 737000, "Nov/05" 737003, "Nov/08" 737006, "Nov/11" 737009, "Nov/14" 737012, "Nov/17" 737015, "Nov/20" 737018, "Nov/23" 737021, "Nov/26" 737024, "Nov/29" 737027, "Dec/02" 737030, "Dec/05" 737033, "Dec/08" 737036, "Dec/11" 737039, "Dec/14" 737042, "Dec/17" 737045, "Dec/20" 737048, "Dec/23" 737051, "Dec/26" 737054, "Dec/29" 737057, "Jan/01" 737060, "Jan/04" 737063, "Jan/07" 737066, "Jan/10" 737069, "Jan/13" 737072, "Jan/16" 737075, "Jan/19" 737078, "Jan/22" 737081, "Jan/25" 737084, "Jan/28" 737087, "Jan/31" 737090, "Feb/03" 737093, "Feb/06" 737096, "Feb/09" 737099, "Feb/12" 737102, "Feb/15" 737105, "Feb/18" 737108, "Feb/21" 737111, "Feb/24" 737114, "Feb/27" 737117, "Mar/02" 737120, "Mar/05" 737123, "Mar/08" 737126, "Mar/11" 737129, "Mar/14" 737132, "Mar/17" 737135, "Mar/20" 737138, "Mar/23" 737141, "Mar/26" 737144, "Mar/29" 737147, "Apr/01" 737150, "Apr/04" 737153, "Apr/07" 737156, "Apr/10" 737159, "Apr/13" 737162, "Apr/16" 737165, "Apr/19" 737168, "Apr/22" 737171, "Apr/25" 737174, "Apr/28" 737177, "May/01" 737180, "May/04" 737183, "May/07" 737186, "May/10" 737189, "May/13" 737192, "May/16" 737195, "May/19" 737198, "May/22" 737201, "May/25" 737204, "May/28" 737207, "May/31" 737210, "Jun/03" 737213, "Jun/06" 737216, "Jun/09" 737219, "Jun/12" 737222)
set ylabel "ottawa30C (days)"
set offsets 0,0,1,0
unset y2tics
set ytics
set key on left top
set lmargin 6.0
set rmargin 8.0
set tmargin 3.0
set bmargin 3.0
set boxwidth 0.750000
set style fill solid 1.00 border -1
set grid noxtics front
plot '-' title 'Normal (80% CI)' axes x1y1 with filledcurves fc rgb "#e3e3e3" fs solid 1.0 noborder, '-' title '30-year average' axes x1y1 with linespoints lc rgb "#008800" lw 1.000000 dashtype solid pointtype 0, '-' title 'max' axes x1y1 with histeps lc rgb "orange" lw 2.000000 dashtype solid, '-' title 'min' axes x1y1 with histeps lc rgb "purple" lw 2.000000 dashtype solid, '-' title '2018' axes x1y1 with histeps lc rgb "red" lw 2.000000 dashtype solid
736859 1.0 #6/14
736860 1.0 #6/15
736861 1.0 #6/16
736862 1.0 #6/17
736863 1.0 #6/18
736864 1.0 #6/19
736865 1.0 #6/20
736866 1.0 #6/21
736867 1.0 #6/22
736868 1.0 #6/23
736869 1.0 #6/24
736870 1.0 #6/25
736871 1.0 #6/26
736872 1.0 #6/27
736873 1.0 #6/28
736874 1.0 #6/29
736875 1.0 #6/30
736876 1.0 #7/1
736877 1.0 #7/2
736878 1.0 #7/3
736879 1.0 #7/4
736880 2.0 #7/5
736881 2.0 #7/6
736882 2.0 #7/7
736883 2.0 #7/8
736884 2.0 #7/9
736885 2.0 #7/10
736886 2.0 #7/11
736887 2.0 #7/12
736888 2.0 #7/13
736889 2.0 #7/14
736890 2.0 #7/15
736891 2.0 #7/16
736892 2.0 #7/17
736892 13.0 #7/17
736891 13.0 #7/16
736890 12.0 #7/15
736889 12.0 #7/14
736888 12.0 #7/13
736887 12.0 #7/12
736886 12.0 #7/11
736885 12.0 #7/10
736884 11.0 #7/9
736883 10.0 #7/8
736882 10.0 #7/7
736881 10.0 #7/6
736880 9.0 #7/5
736879 9.0 #7/4
736878 9.0 #7/3
736877 9.0 #7/2
736876 9.0 #7/1
736875 8.0 #6/30
736874 7.0 #6/29
736873 7.0 #6/28
736872 7.0 #6/27
736871 6.0 #6/26
736870 6.0 #6/25
736869 6.0 #6/24
736868 6.0 #6/23
736867 6.0 #6/22
736866 5.0 #6/21
736865 5.0 #6/20
736864 5.0 #6/19
736863 5.0 #6/18
736862 4.0 #6/17
736861 4.0 #6/16
736860 4.0 #6/15
736859 4.0 #6/14
e
736859 2.0 #6/14
736860 2.1 #6/15
736861 2.2 #6/16
736862 2.2 #6/17
736863 2.4 #6/18
736864 2.6 #6/19
736865 2.8 #6/20
736866 2.9 #6/21
736867 3.0 #6/22
736868 3.2 #6/23
736869 3.4 #6/24
736870 3.6 #6/25
736871 3.9 #6/26
736872 4.1 #6/27
736873 4.2 #6/28
736874 4.4 #6/29
736875 4.5 #6/30
736876 4.6 #7/1
736877 4.7 #7/2
736878 5.0 #7/3
736879 5.3 #7/4
736880 5.5 #7/5
736881 5.8 #7/6
736882 6.1 #7/7
736883 6.3 #7/8
736884 6.4 #7/9
736885 6.5 #7/10
736886 6.6 #7/11
736887 6.8 #7/12
736888 7.0 #7/13
736889 7.2 #7/14
736890 7.3 #7/15
736891 7.7 #7/16
736892 7.9 #7/17
e
736859 8.0 1914 6/14
736860 8.0 1919 6/15
736861 8.0 1919 6/16
736862 9.0 1919 6/17
736863 10.0 1919 6/18
736864 11.0 1919 6/19
736865 11.0 1919 6/20
736866 11.0 1919 6/21
736867 11.0 1919 6/22
736868 12.0 1919 6/23
736869 13.0 1919 6/24
736870 14.0 1919 6/25
736871 14.0 1919 6/26
736872 14.0 1919 6/27
736873 14.0 1919 6/28
736874 14.0 1919 6/29
736875 14.0 1919 6/30
736876 15.0 1919 7/1
736877 16.0 1919 7/2
736878 17.0 1919 7/3
736879 18.0 1919 7/4
736880 19.0 1919 7/5
736881 19.0 1919 7/6
736882 19.0 1919 7/7
736883 19.0 1921 7/8
736884 20.0 1921 7/9
736885 20.0 1921 7/10
736886 21.0 1921 7/11
736887 22.0 1921 7/12
736888 23.0 1921 7/13
736889 24.0 1921 7/14
736890 24.0 1921 7/15
736891 24.0 1921 7/16
736892 25.0 1921 7/17
e
736859 0.0 2003 6/14
736860 0.0 2003 6/15
736861 0.0 2003 6/16
736862 0.0 2003 6/17
736863 0.0 2003 6/18
736864 0.0 2003 6/19
736865 0.0 2003 6/20
736866 0.0 2003 6/21
736867 0.0 2000 6/22
736868 0.0 2000 6/23
736869 0.0 2000 6/24
736870 0.0 2000 6/25
736871 0.0 2000 6/26
736872 0.0 2000 6/27
736873 0.0 2000 6/28
736874 0.0 2000 6/29
736875 0.0 2000 6/30
736876 0.0 2000 7/1
736877 0.0 2000 7/2
736878 0.0 2000 7/3
736879 0.0 2000 7/4
736880 0.0 2000 7/5
736881 0.0 2000 7/6
736882 0.0 2000 7/7
736883 0.0 2000 7/8
736884 0.0 2000 7/9
736885 0.0 2000 7/10
736886 0.0 2000 7/11
736887 0.0 2000 7/12
736888 0.0 2000 7/13
736889 0.0 2000 7/14
736890 0.0 2000 7/15
736891 0.0 2000 7/16
736892 0.0 2000 7/17
e
736859 0.0 2018/6/14/2018-06-14
736860 0.0 2018/6/15/2018-06-15
736861 0.0 2018/6/16/2018-06-16
736862 1.0 2018/6/17/2018-06-17
736863 2.0 2018/6/18/2018-06-18
736864 2.0 2018/6/19/2018-06-19
736865 2.0 2018/6/20/2018-06-20
736866 2.0 2018/6/21/2018-06-21
736867 2.0 2018/6/22/2018-06-22
736868 2.0 2018/6/23/2018-06-23
736869 2.0 2018/6/24/2018-06-24
736870 2.0 2018/6/25/2018-06-25
736871 2.0 2018/6/26/2018-06-26
736872 2.0 2018/6/27/2018-06-27
736873 2.0 2018/6/28/2018-06-28
736874 3.0 2018/6/29/2018-06-29
736875 4.0 2018/6/30/2018-06-30
736876 5.0 2018/7/1/2018-07-01
736877 6.0 2018/7/2/2018-07-02
736878 7.0 2018/7/3/2018-07-03
736879 8.0 2018/7/4/2018-07-04
736880 9.0 2018/7/5/2018-07-05
736881 9.0 2018/7/6/2018-07-06
736882 9.0 2018/7/7/2018-07-07
736883 10.0 2018/7/8/2018-07-08
736884 11.0 2018/7/9/2018-07-09
736885 11.0 2018/7/10/2018-07-10
736886 11.0 2018/7/11/2018-07-11
736887 11.0 2018/7/12/2018-07-12
736888 12.0 2018/7/13/2018-07-13
736889 13.0 2018/7/14/2018-07-14
e

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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