Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!f6g2000vbc.googlegroups.com!not-for-mail From: babelproofreader Newsgroups: comp.graphics.apps.gnuplot Subject: Re: How to label an impulse plot? Date: Tue, 3 Apr 2012 12:53:02 -0700 (PDT) Organization: http://groups.google.com Lines: 25 Message-ID: References: <986b41c1-08e3-472b-b2e0-d277a8743059@r9g2000yqd.googlegroups.com> NNTP-Posting-Host: 176.97.81.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1333482860 8897 127.0.0.1 (3 Apr 2012 19:54:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 3 Apr 2012 19:54:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f6g2000vbc.googlegroups.com; posting-host=176.97.81.1; posting-account=V-aTTgoAAAD9uWp6X9mBvbIa6pCkw0qW User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0,gzip(gfe) X-Received-Bytes: 2091 Xref: csiph.com comp.graphics.apps.gnuplot:1017 On 2 Apr., 17:48, sfeam wrote: > babelproofreader wrote: > > I am currently plotting a series of impulse bars with Gnuplot like > > this: > > > using 1:23 notitle with impulses lt 0 linecolor rgb "#C0C0C0" axis > > x1y2, \ > > using 1:24 notitle with impulses lt 0 linecolor rgb "#C0C0C0" axis > > x1y2, \ > > > and I would like to label these impulse bars with identifying numbers > > at the top/bottom of each impulse bar. How can I adjust the above code > > to achieve this? > > See 5th plot in this demo: > > =A0http://gnuplot.sourceforge.net/demo_cvs/datastrings.html > > The demo uses "with boxes" rather than "with impulses" but it shouldn't > matter. Thanks for this link but it doesn't quite do what I would like. I don't want to label the impulses with their values but rather label them sequentially i.e. the first impulse is labelled "1", the second "2" etc.