X-Received: by 2002:aed:2450:: with SMTP id s16mr22398297qtc.345.1587993687266; Mon, 27 Apr 2020 06:21:27 -0700 (PDT) X-Received: by 2002:a4a:b141:: with SMTP id e1mr18795236ooo.54.1587993686937; Mon, 27 Apr 2020 06:21:26 -0700 (PDT) Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 27 Apr 2020 06:21:26 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=193.206.48.165; posting-account=-eF7WAoAAACt5PDSlI-9XEDar7KgU_BQ NNTP-Posting-Host: 193.206.48.165 References: <9530faa4-85a6-463f-ae10-a987ed08db6b@googlegroups.com> <95ab8606-014c-4023-a6dd-5e337b2cc9a7@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <46e673e9-798a-40eb-9f82-64dc9f8231a0@googlegroups.com> Subject: Re: plot energy level From: alberto Injection-Date: Mon, 27 Apr 2020 13:21:27 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 57 Xref: csiph.com comp.graphics.apps.gnuplot:4335 Il giorno luned=C3=AC 27 aprile 2020 09:56:48 UTC+2, J=C3=B6rg Buchholz ha = scritto: > On 24.04.2020 18:29, alberto wrote: > > Il giorno gioved=C3=AC 23 aprile 2020 21:12:37 UTC+2, J=C3=B6rg Buchhol= z ha scritto: > >> On 23.04.20 10:50, alberto wrote: > >>> Il giorno gioved=C3=AC 23 aprile 2020 07:13:30 UTC+2, J=C3=B6rg Buchh= olz ha > >>> scritto: > >>>> On 22.04.2020 17:42, alberto wrote: > >>>> > >>>>> > >>>>> plot 'eigenval_TPP_02_on_MSN.txt' using (2):($4) with boxes lc > >>>>> rgb '#FF0000' lw 2 title "visudyne 01" > >>>>> > >>>>> > >>>>> set term wxt enhanced persist replot > >>>>> > >>>>> I would plot > >>>>> > >>>>> _____ level1 > >>>>> > >>>>> _____ level2 > >>>>> > >>>>> _____ level3 > >>>>> > >>>> > >>>> I'm not sure, you want to have something like this? > >>>> > >>>> set errorbars small plot 'eigenval_TPP_02_on_MSN.txt' using > >>>> (2):4:(2) with xerrorbar > >>>> > >>>> > >>>> J=C3=B6rg > >>> > >>> Hi, thanks for your reply I would plot something like this=20 > >>> https://www.google.com/url?sa=3Di&url=3Dhttps%3A%2F%2Fwww.chemguide.c= o.uk%2Fatoms%2Fproperties%2F&psig=3DAOvVaw2c0vXGdXEL5vYU5kWljcYb&ust=3D1587= 717949253000&source=3Dimages&cd=3Dvfe&ved=3D0CAIQjRxqFwoTCJD9-raU_ugCFQAAAA= AdAAAAABAN > >>> > >>> where the horizontal lines are my energy values >=20 > A other solution is to get the tics from your datafile. >=20 > set xrange [0:10] > unset xtics > set grid lt -1 > plot 'filename' u (0):4:ytic(sprintf("Level %.0f",$2)) w p >=20 >=20 > J=C3=B6rg Hi=20 thanks for your help. It's works!! regards Al