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


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

filledcurve with fsteps

From bryan <bryanlepore@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject filledcurve with fsteps
Date 2012-04-07 19:20 -0700
Organization http://groups.google.com
Message-ID <28255776.2746.1333851649194.JavaMail.geo-discussion-forums@vbbdy9> (permalink)

Show all headers | View raw


gnuplot 4.6.0

It seems that 'filledcurve' will work with 'fsteps' to color the steps in to look like rectangles, but it's not clear from browsing the newsgroup.

so far, I can get the step to look OK but the filled part looks like a triangle instead of a rectangle, e.g. :

set timefmt "%d %m %Y"
set xdata time
set format x "%d/%m\n%Y"
set style fill transparent solid 0.5 noborder
plot \
0 w l lt -1 notitle, \
0 w l lt 0 notitle, \
'data.dat' u  1:4 w fsteps lt  1 notitle, \
''         u  1:4 w filledcurve lt  1 notitle

data.dat:
30 12 2011       0   
24 03 2012       0
24 03 2012       0   
06 04 2012      200   
07 04 2012      300
07 12 2012       .
08 01 2012       .
09 01 2012       .

.... it would be helpful to know for sure if fsteps and filledcurves are compatible - esp. b/c it sounds like 'fsteps' might not really create closed polygons, and 'filledcurves' fills, well, curves, if it is to be taken literally.

-Bryan

p.s: sorry about the previous post - I deleted it when I browsed into the transparency demos. but thanks.

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


Thread

filledcurve with fsteps bryan <bryanlepore@gmail.com> - 2012-04-07 19:20 -0700
  Re: filledcurve with fsteps bryan <bryanlepore@gmail.com> - 2012-04-08 11:15 -0700

csiph-web