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


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

filledcurve with fsteps

Started bybryan <bryanlepore@gmail.com>
First post2012-04-07 19:20 -0700
Last post2012-04-08 11:15 -0700
Articles 2 — 1 participant

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  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

#1027 — filledcurve with fsteps

Frombryan <bryanlepore@gmail.com>
Date2012-04-07 19:20 -0700
Subjectfilledcurve with fsteps
Message-ID<28255776.2746.1333851649194.JavaMail.geo-discussion-forums@vbbdy9>
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.

[toc] | [next] | [standalone]


#1028

Frombryan <bryanlepore@gmail.com>
Date2012-04-08 11:15 -0700
Message-ID<4182541.3410.1333908942880.JavaMail.geo-discussion-forums@vbhy13>
In reply to#1027
... or is 'fillsteps' in 4.7 what I want?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web