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


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

filledcurve with fsteps

Path csiph.com!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From bryan <bryanlepore@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject filledcurve with fsteps
Date Sat, 7 Apr 2012 19:20:49 -0700 (PDT)
Organization http://groups.google.com
Lines 31
Message-ID <28255776.2746.1333851649194.JavaMail.geo-discussion-forums@vbbdy9> (permalink)
NNTP-Posting-Host 24.62.36.14
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1333852107 1062 127.0.0.1 (8 Apr 2012 02:28:27 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Sun, 8 Apr 2012 02:28:27 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=24.62.36.14; posting-account=PtxH9gkAAAAGMw6wJDvB_vinyKd1zCKS
User-Agent G2/1.0
Xref csiph.com comp.graphics.apps.gnuplot:1027

Show key headers only | 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