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


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

Re: Specifying yerrorbar style

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!u5g2000vbd.googlegroups.com!not-for-mail
From Péter Juhász <peter.juhasz83@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Specifying yerrorbar style
Date Wed, 9 Nov 2011 15:01:30 -0800 (PST)
Organization http://groups.google.com
Lines 58
Message-ID <6a31a60f-8764-4c16-ad2d-314d4b8fa69b@u5g2000vbd.googlegroups.com> (permalink)
References <4ef826b8-524b-47ab-ba5c-06922ed949cb@q16g2000yqn.googlegroups.com> <8c306d56-6913-4e9c-9925-c635ad1fe48b@w3g2000vbw.googlegroups.com> <dca7634a-e1a3-4d3e-999d-28dea70040d1@p9g2000vbb.googlegroups.com>
NNTP-Posting-Host 78.92.1.142
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1320879690 31018 127.0.0.1 (9 Nov 2011 23:01:30 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 9 Nov 2011 23:01:30 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info u5g2000vbd.googlegroups.com; posting-host=78.92.1.142; posting-account=zDLjuQoAAAC_blU_eX_4MHabi0k_sknv
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Ubuntu/10.04 (lucid) Firefox/3.6.23,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:679

Show key headers only | View raw


On Nov 9, 10:40 pm, jikk <aixe...@gmail.com> wrote:
> On Nov 9, 10:45 am, Péter Juhász <peter.juhas...@gmail.com> wrote:
>
>
>
> > On Nov 7, 11:39 pm, jikk <aixe...@gmail.com> wrote:
>
> > > Hi, all
>
> > > plotting script that used to work for the previous version of gnuplot
> > > (v4.2.6) no longer work for the latest version (v4.4.0) and produces
> > > error messages for
> > > the following script line.
>
> > > plot "data_file" u ($1+0.5):2 title "legend1" w boxes fs solid 0.85,
> > > "" u ($1+0.5):2:3 notitle w yerrorbars 1,
> > > ....
>
> > > The error goes away as I change "yerrorbars 1" to "yerrorbars".
> > > However, this prohibits the customization of  the errorbar style.
> > > Can anyone tell me how can I do this right?
>
> > > Thanks for your help, in advance.
>
> > > Regards, Jikk
>
> > yerrorbars lt 1
>
> > The syntax you were trying to use was deprecated since version 4.0.
>
> > Péter Juhász
>
> Hi, Péter
>
> By having "lt", I could suppress the error message but this doesn't
> seem to be the solution that I wanted.
> It still draw an arbitrary markings for errorbars. In the case of the
> test script that I provided, it draws 'x' mark whereas what I want to
> have is a dashed-line the same one as the first error bar has.
>
> Thanks for your help!
> Jikk

Replace your plot command with the following:

plot "test.dat" u ($1+0.5):2 title "test0"  \
        w boxes fs solid 0.85,              \
        "" u ($1+0.5):2:3 notitle w yerrorbars lt 1 pt 0,     \
        "" u ($1+1.5):4 title "test1" w boxes lt 3 fs solid 0.7, \
        "" u ($1+1.5):4:5 notitle w yerrorbars lt 3 pt 0

Or even better:

plot "fosxx.txt" u ($1+0.5):2:3 title "test0" \
          w boxerrorbar lt 1 fs solid 0.85,\
     "" u ($1+1.5):4:5 notitle w boxerrorbar lt 3 fs solid 0.7

Péter Juhász

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


Thread

Specifying yerrorbar style jikk <aixer77@gmail.com> - 2011-11-07 14:39 -0800
  Re: Specifying yerrorbar style jikk <aixer77@gmail.com> - 2011-11-09 07:28 -0800
  Re: Specifying yerrorbar style Péter Juhász <peter.juhasz83@gmail.com> - 2011-11-09 07:45 -0800
    Re: Specifying yerrorbar style jikk <aixer77@gmail.com> - 2011-11-09 13:40 -0800
      Re: Specifying yerrorbar style Péter Juhász <peter.juhasz83@gmail.com> - 2011-11-09 15:01 -0800
        Re: Specifying yerrorbar style jikk <aixer77@gmail.com> - 2011-11-11 08:42 -0800

csiph-web