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


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

Re: two sets of shaded bars

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: two sets of shaded bars
Followup-To comp.graphics.apps.gnuplot
Date 2013-05-17 14:25 -0700
Organization gnuplot development team
Message-ID <kn671c$78d$1@dont-email.me> (permalink)
References <049790bd-9b87-4701-b963-dd8075a9fd31@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


pmsummers59@gmail.com wrote:

> Hi all,
> 
> I'm trying to generate a plot with 2 sets of bars, using filledcurves. The
> script below ALMOST does what I want, except that 2 bars don't show up
> (I've marked them with comments). Each set plots fine individually.
> 
> This is actually generated via gretl, using version 4.6 of gnuplot on
> Windows 7.
> 
> Thanks in advance for any suggestions,

I suspect it's because your dates have somehow acquired internal
colons rather than decimal points.  The produces intervals with zero width.

	Ethan


> 
> PS
> 
> 
> # set term pngcairo font "verdana,8" size 680,400
> set encoding utf8
> # timeseries 12 (letterbox)
> set style line 1 lc rgb "#ff0000"
> set style line 2 lc rgb "#0000ff"
> set style line 3 lc rgb "#00cc00"
> set style line 4 lc rgb "#bf25b2"
> set style line 5 lc rgb "#8faab3"
> set style line 6 lc rgb "#ffa500"
> set style line 8 lc rgb "#dddddd"
> set style fill transparent solid 0.5 #noborder
> set style increment user
> set ylabel "per cent of labor force"
> set y2label "per cent"
> set xzeroaxis
> set datafile missing "?"
> set key left bottom
> set xrange [1967.210417:2014.372917]
> set yrange [3:11]
> set ytics nomirror
> set y2tics
> # n_bars = 6
> plot \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lc rgb "violet" lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lt 8 w filledcurve , \
> '-' using 1:2:3 notitle lt 8 w filledcurve
> 1969:917  3 11
> 1970:833  3 11
> e
> 1973:833  3 11
> 1975:250  3 11
> e
> 1980:000  3 11 #This one isn't plotted
> 1980:500  3 11
> e
> 1981:500  3 11
> 1982:833  3 11
> e
> 1990:500  3 11
> 1991:167  3 11
> e
> 2001:167  3 11 #Neither is this one
> 2001:833  3 11
> e
> 2007:917  3 11
> 2009:417  3 11
> e
> 1969.250 3 11
> 1971.000 3 11
> e
> 1973.917 3 11
> 1975.333 3 11
> e
> 1979.833 3 11
> 1982.917 3 11
> e
> 1989.083 3 11
> 1992.333 3 11
> e
> 2000.250 3 11
> 2003.667 3 11
> e
> 2007.167 3 11
> 2010.333 3 11
> e

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


Thread

two sets of shaded bars pmsummers59@gmail.com - 2013-05-17 12:39 -0700
  Re: two sets of shaded bars sfeam <sfeam@users.sourceforge.net> - 2013-05-17 14:25 -0700
    Re: two sets of shaded bars pmsummers59@gmail.com - 2013-05-17 15:56 -0700
      Re: two sets of shaded bars pmsummers59@gmail.com - 2013-05-20 08:57 -0700

csiph-web