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


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

Re: plot energy level

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: plot energy level
Date 2020-04-27 09:56 +0200
Organization A noiseless patient Spider
Message-ID <r8637u$uar$1@dont-email.me> (permalink)
References <9530faa4-85a6-463f-ae10-a987ed08db6b@googlegroups.com> <r7r85p$693$1@dont-email.me> <95ab8606-014c-4023-a6dd-5e337b2cc9a7@googlegroups.com> <r7spb3$gfg$1@dont-email.me> <d76ca26c-fcde-45ee-a0fc-0d33b3662edb@googlegroups.com>

Show all headers | View raw


On 24.04.2020 18:29, alberto wrote:
> Il giorno giovedì 23 aprile 2020 21:12:37 UTC+2, Jörg Buchholz ha scritto:
>> On 23.04.20 10:50, alberto wrote:
>>> Il giorno giovedì 23 aprile 2020 07:13:30 UTC+2, Jörg Buchholz 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örg
>>>
>>> Hi, thanks for your reply I would plot something like this 
>>> https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.chemguide.co.uk%2Fatoms%2Fproperties%2F&psig=AOvVaw2c0vXGdXEL5vYU5kWljcYb&ust=1587717949253000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCJD9-raU_ugCFQAAAAAdAAAAABAN
>>>
>>>  where the horizontal lines are my energy values

A other solution is to get the tics from your datafile.

set xrange [0:10]
unset xtics
set grid lt -1
plot 'filename' u (0):4:ytic(sprintf("Level %.0f",$2)) w p


Jörg

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


Thread

plot energy level alberto <voodoo.bender@gmail.com> - 2020-04-22 08:42 -0700
  Re: plot energy level Jörg Buchholz <bookwood4new@freenet.de> - 2020-04-23 07:13 +0200
    Re: plot energy level alberto <voodoo.bender@gmail.com> - 2020-04-23 01:50 -0700
      Re: plot energy level Jörg Buchholz <bookwood4new@freenet.de> - 2020-04-23 21:12 +0200
        Re: plot energy level alberto <voodoo.bender@gmail.com> - 2020-04-24 09:29 -0700
          Re: plot energy level Jörg Buchholz <bookwood4new@freenet.de> - 2020-04-24 20:15 +0200
          Re: plot energy level Jörg Buchholz <bookwood4new@freenet.de> - 2020-04-27 09:56 +0200
            Re: plot energy level alberto <voodoo.bender@gmail.com> - 2020-04-27 06:21 -0700

csiph-web