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
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
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
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
set xrange [-10:10]
set style textbox opaque
plot 'eigenval_TPP_02_on_MSN.txt' u (0):4:(10) w xerrorbar pt 0 t
"visudyne 01",\
'' u (0):4:(sprintf("Level %.0f",$2)) w labels boxed center offset first
-5 notitle
Then you have horizontal lines from -10 to 10 at your level (given in colloumn 4) and a label "Level 1 ...." at the horizontal lines.
Jörg
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
set xrange [-10:10]
set style textbox opaque
plot 'eigenval_TPP_02_on_MSN.txt' u (0):4:(10) w xerrorbar pt 0 t
"visudyne 01",\
'' u (0):4:(sprintf("Level %.0f",$2)) w labels boxed center offset first
-5 notitle
Then you have horizontal lines from -10 to 10 at your level (given in
colloumn 4) and a label "Level 1 ...." at the horizontal lines.
Jörg
Hi,
thanks for your reply.
I'm trying your code, but i recive this error
plot [:][:] 'eigenval_TPP_02_on_MSN.txt' u (-8):($4):(2) w xerrorbar pt 0 lc rgb '#FF0000' lw 2 t 'visudyne 01' "u (0):4:(sprintf("Level %.0f",$2)) w labels boxed center offset first -5 notitle "
^
"VER_eigenval_HOMO_LUMO.gnu", line 20: unexpected or unrecognized token
How could I fix it?
regards
Al
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
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 68:24:17 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,275,281 |