Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Stacked boxes Followup-To: comp.graphics.apps.gnuplot Date: Thu, 14 Apr 2011 15:59:17 -0700 Organization: gnuplot development team Lines: 39 Message-ID: References: <4da3355c$0$12295$c3e8da3$aae71a0a@news.astraweb.com> <4da344aa$0$5610$c3e8da3$10cdda79@news.astraweb.com> <4da76754$0$9266$c3e8da3$aae71a0a@news.astraweb.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 14 Apr 2011 22:59:20 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="2023"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9uM/22iwjHBsDv44gVOAd" User-Agent: KNode/4.4.3 Cancel-Lock: sha1:oQNkYMltxGmo7M2ataxbV00dM+I= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:263 Mike Rhodes wrote: > On 4/14/2011 5:00 PM, sfeam wrote: >> >> After thinking about what would need to be added to gnuplot to produce >> the plot you ask for, I have decided that it is possible already with a >> slight change to the input data format. >> >> As I understand it, your data above consists of 3 entries >> Time(midpoint) height Time(width) >> >> If you split each line into records instead: >> Time(start) height >> Time(end) -height >> >> then the following command produces the plot you want: >> >> plot 'data' using 1:2 smooth cumulative with steps >> >> output is here: http://tinyurl.com/3nncaet > > So close! Just two questions: Hey! no fair moving the goalposts :-) > what to do with flows with zero length (e.g. UDP traffic), I don't know; you tell me. What do you want it to look like? > and is there anything along the lines of "fs solid" for steps? No, not currently. There was another request for such a thing recently in a different context. In that case, as I recall, the desired plot could be drawn another way. Maybe your case is an example that really would require a new plot mode. > Thanks, > Mike