You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
|
|
From: <qin...@st...> - 2020-12-29 06:48:21
|
Dear Andy
As your advice, we can reduce syntax / escape errors by put the paste / awk script in a separate file ("myscript.sh").
Then call it from inside gnuplot as plot "< bash ./myscript.sh"
But if the data file name (Q_byE_i*.txt) is a string variable and “16.0” of “if($1==16.0” in awk part is also a variable,
How can I pass these variables from gnuplot into myscript.sh.
Because I'm not very familiar with linux, my questions might be very basic or stupid.
please forgive me.
****************************************************
秦志豪
京都大学大学院 エネルギー科学研究科
エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
岸本研究室
E-mail : qin...@st...
****************************************************
?件人: Andrew Rasmussen<mailto:an...@gm...>
?送??: 2020年12月29日 1:13
收件人: qin...@st...<mailto:qin...@st...>
抄送: gnu...@li...<mailto:gnu...@li...>
主?: Re: 回?: [Gnuplot-info] system command in gnuplot
Yes, you should be able to make a similar modification, something like:
plot "< bash -c 'paste <(cat Q_byE_i*.txt) <(cat Q_byM_i*.txt)|awk \'{if($1==16.0) { e[$3] += $4 }}END { for ( i in e) { print i , e[i]}}\''"
I can't test it out, so you might have to escape some additional characters (* etc.).
When you are using a command that is this complicated, a way to simplify things and reduce syntax / escape errors is to put the paste / awk script in a separate file ("myscript.sh") and call that script from inside gnuplot:
plot "< bash ./myscript.sh"
Andy
On Mon, Dec 28, 2020 at 9:31 AM qin...@st...<mailto:qin...@st...> <qin...@st...<mailto:qin...@st...>> wrote:
Dear Andy
Thank you very much.
It worked. But I have another question.
In fact, I tried to merge some data files, then plot a graph.
The code is
plot "< paste <(cat Q_byE_i*.txt) <(cat Q_byM_i*.txt)|awk '{if($1==16.0) { e[$3] += $4 }}END { for ( i in e) { print i , e[i]}}'" u 1:2
The latter part of code about ‘awk’, I think there is no problem. Could I modify the code as the system("bash -c 'paste <(ls Q*) <(ls F*)'")?
Qin
****************************************************
秦志豪
京都大学大学院 エネルギー科学研究科
エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
岸本研究室
E-mail : qin...@st...<mailto:qin...@st...>
****************************************************
?件人: Andrew Rasmussen<mailto:an...@gm...>
?送??: 2020年12月28日 23:57
收件人: qin...@st...<mailto:qin...@st...>
抄送: gnu...@li...<mailto:gnu...@li...>
主?: Re: [Gnuplot-info] system command in gnuplot
Hello,
Your error comes from the fact that gnuplot is running the system command using the sh shell instead of bash (or whatever your usual shell is). You can get the command to be interpreted by bash like this:
system("bash -c 'paste <(ls Q*) <(ls F*)'")
Andy
On Mon, Dec 28, 2020 at 4:11 AM qin...@st...<mailto:qin...@st...> <qin...@st...<mailto:qin...@st...>> wrote:
Hello
Now I am using gnuplot (Version 5.2 patchlevel 6) on a Linux system.
The information of operating system as follow
Linux version 4.4.162-94.72-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
LSB Version: n/a
Distributor ID: SUSE
Description: SUSE Linux Enterprise Server 12 SP3
Release: 12.3
Codename: n/a
My question:
I am trying to launch a system command in gnuplot like
Terminal type is now 'qt'
gnuplot> system(" paste <(ls Q*) <(ls F*)")
show me the error message as
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: ` paste <(ls Q*) <(ls F*)'
But if I exit the gnuplot and run the command, it can work.
qin@csc1:~/qin /txt> paste <(ls Q*) <(ls F*)
any help would be much appreciated
have a nice day
****************************************************
秦志豪
京都大学大学院 エネルギー科学研究科
エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
岸本研究室
E-mail : qin...@st...<mailto:qin...@st...>
****************************************************
_______________________________________________
gnuplot-info mailing list
gnu...@li...<mailto:gnu...@li...>
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Andrew R. <an...@gm...> - 2020-12-28 16:13:45
|
Yes, you should be able to make a similar modification, something like:
plot "< bash -c 'paste <(cat Q_byE_i*.txt) <(cat Q_byM_i*.txt)|awk
\'{if($1==16.0) { e[$3] += $4 }}END { for ( i in e) { print i , e[i]}}\''"
I can't test it out, so you might have to escape some additional characters
(* etc.).
When you are using a command that is this complicated, a way to simplify
things and reduce syntax / escape errors is to put the paste / awk script
in a separate file ("myscript.sh") and call that script from inside gnuplot:
plot "< bash ./myscript.sh"
Andy
On Mon, Dec 28, 2020 at 9:31 AM qin...@st... <
qin...@st...> wrote:
> Dear Andy
>
>
>
> Thank you very much.
>
> It worked. But I have another question.
>
> In fact, I tried to merge some data files, then plot a graph.
>
> The code is
>
> plot "< paste <(cat Q_byE_i*.txt) <(cat Q_byM_i*.txt)|awk '{if($1==16.0)
> { e[$3] += $4 }}END { for ( i in e) { print i , e[i]}}'" u 1:2
>
>
>
> The latter part of code about ‘awk’, I think there is no problem. Could I
> modify the code as the system("bash -c 'paste <(ls Q*) <(ls F*)'")?
>
>
>
> Qin
>
>
>
> ****************************************************
> 秦志豪
> 京都大学大学院 エネルギー科学研究科
> エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
> 岸本研究室
> E-mail : qin...@st...
> ****************************************************
>
>
>
> *发件人: *Andrew Rasmussen <an...@gm...>
> *发送时间: *2020年12月28日 23:57
> *收件人: *qin...@st...
> *抄送: *gnu...@li...
> *主题: *Re: [Gnuplot-info] system command in gnuplot
>
>
>
> Hello,
>
>
>
> Your error comes from the fact that gnuplot is running the system command
> using the sh shell instead of bash (or whatever your usual shell is). You
> can get the command to be interpreted by bash like this:
>
>
>
> system("bash -c 'paste <(ls Q*) <(ls F*)'")
>
>
>
> Andy
>
>
>
> On Mon, Dec 28, 2020 at 4:11 AM qin...@st... <
> qin...@st...> wrote:
>
> Hello
>
> Now I am using gnuplot (Version 5.2 patchlevel 6) on a Linux system.
> The information of operating system as follow
> Linux version 4.4.162-94.72-default (geeko@buildhost) (gcc version 4.8.5
> (SUSE Linux) )
> LSB Version: n/a
> Distributor ID: SUSE
> Description: SUSE Linux Enterprise Server 12 SP3
> Release: 12.3
> Codename: n/a
>
> My question:
> I am trying to launch a system command in gnuplot like
> Terminal type is now 'qt'
> gnuplot> system(" paste <(ls Q*) <(ls F*)")
>
> show me the error message as
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: ` paste <(ls Q*) <(ls F*)'
>
> But if I exit the gnuplot and run the command, it can work.
> qin@csc1:~/qin /txt> paste <(ls Q*) <(ls F*)
>
> any help would be much appreciated
> have a nice day
>
> ****************************************************
> 秦志豪
> 京都大学大学院 エネルギー科学研究科
> エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
> 岸本研究室
> E-mail : qin...@st...
> ****************************************************
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
>
|
|
From: <qin...@st...> - 2020-12-28 15:46:41
|
Dear Andy
Thank you very much.
It worked. But I have another question.
In fact, I tried to merge some data files, then plot a graph.
The code is
plot "< paste <(cat Q_byE_i*.txt) <(cat Q_byM_i*.txt)|awk '{if($1==16.0) { e[$3] += $4 }}END { for ( i in e) { print i , e[i]}}'" u 1:2
The latter part of code about ‘awk’, I think there is no problem. Could I modify the code as the system("bash -c 'paste <(ls Q*) <(ls F*)'")?
Qin
****************************************************
秦志豪
京都大学大学院 エネルギー科学研究科
エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
岸本研究室
E-mail : qin...@st...
****************************************************
?件人: Andrew Rasmussen<mailto:an...@gm...>
?送??: 2020年12月28日 23:57
收件人: qin...@st...<mailto:qin...@st...>
抄送: gnu...@li...<mailto:gnu...@li...>
主?: Re: [Gnuplot-info] system command in gnuplot
Hello,
Your error comes from the fact that gnuplot is running the system command using the sh shell instead of bash (or whatever your usual shell is). You can get the command to be interpreted by bash like this:
system("bash -c 'paste <(ls Q*) <(ls F*)'")
Andy
On Mon, Dec 28, 2020 at 4:11 AM qin...@st...<mailto:qin...@st...> <qin...@st...<mailto:qin...@st...>> wrote:
Hello
Now I am using gnuplot (Version 5.2 patchlevel 6) on a Linux system.
The information of operating system as follow
Linux version 4.4.162-94.72-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
LSB Version: n/a
Distributor ID: SUSE
Description: SUSE Linux Enterprise Server 12 SP3
Release: 12.3
Codename: n/a
My question:
I am trying to launch a system command in gnuplot like
Terminal type is now 'qt'
gnuplot> system(" paste <(ls Q*) <(ls F*)")
show me the error message as
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: ` paste <(ls Q*) <(ls F*)'
But if I exit the gnuplot and run the command, it can work.
qin@csc1:~/qin /txt> paste <(ls Q*) <(ls F*)
any help would be much appreciated
have a nice day
****************************************************
秦志豪
京都大学大学院 エネルギー科学研究科
エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
岸本研究室
E-mail : qin...@st...<mailto:qin...@st...>
****************************************************
_______________________________________________
gnuplot-info mailing list
gnu...@li...<mailto:gnu...@li...>
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Andrew R. <an...@gm...> - 2020-12-28 14:57:18
|
Hello,
Your error comes from the fact that gnuplot is running the system command
using the sh shell instead of bash (or whatever your usual shell is). You
can get the command to be interpreted by bash like this:
system("bash -c 'paste <(ls Q*) <(ls F*)'")
Andy
On Mon, Dec 28, 2020 at 4:11 AM qin...@st... <
qin...@st...> wrote:
> Hello
>
> Now I am using gnuplot (Version 5.2 patchlevel 6) on a Linux system.
> The information of operating system as follow
> Linux version 4.4.162-94.72-default (geeko@buildhost) (gcc version 4.8.5
> (SUSE Linux) )
> LSB Version: n/a
> Distributor ID: SUSE
> Description: SUSE Linux Enterprise Server 12 SP3
> Release: 12.3
> Codename: n/a
>
> My question:
> I am trying to launch a system command in gnuplot like
> Terminal type is now 'qt'
> gnuplot> system(" paste <(ls Q*) <(ls F*)")
>
> show me the error message as
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: ` paste <(ls Q*) <(ls F*)'
>
> But if I exit the gnuplot and run the command, it can work.
> qin@csc1:~/qin /txt> paste <(ls Q*) <(ls F*)
>
> any help would be much appreciated
> have a nice day
>
> ****************************************************
> 秦志豪
> 京都大学大学院 エネルギー科学研究科
> エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
> 岸本研究室
> E-mail : qin...@st...
> ****************************************************
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: <qin...@st...> - 2020-12-28 10:11:14
|
Hello
Now I am using gnuplot (Version 5.2 patchlevel 6) on a Linux system.
The information of operating system as follow
Linux version 4.4.162-94.72-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
LSB Version: n/a
Distributor ID: SUSE
Description: SUSE Linux Enterprise Server 12 SP3
Release: 12.3
Codename: n/a
My question:
I am trying to launch a system command in gnuplot like
Terminal type is now 'qt'
gnuplot> system(" paste <(ls Q*) <(ls F*)")
show me the error message as
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: ` paste <(ls Q*) <(ls F*)'
But if I exit the gnuplot and run the command, it can work.
qin@csc1:~/qin /txt> paste <(ls Q*) <(ls F*)
any help would be much appreciated
have a nice day
****************************************************
秦志豪
京都大学大学院 エネルギー科学研究科
エネルギー基礎科学専攻 プラズマ・核融合基礎学分野
岸本研究室
E-mail : qin...@st...
****************************************************
|
|
From: Helmut H. <he...@ha...> - 2020-12-04 19:59:05
|
Hi, Alex,
Sorry for not responding earlier. The fontscale used is the same on both
machines so that's not an issue. Anyway, thank you very much for your
suggestion of using system("hostname"). This does indeed work nicely and
provides an excellent workaround for this annoying issue. It still
doesn't explain, though, why it is there at all. Puzzling.
Thanks again,
--Helmut
PS: This not only happens with the pdf terminal (which I understand
shouldn't be used anymore), but also with pdfcairo.
On 10/26/2020 3:55 AM, Alexander Stangl wrote:
> Hey,
>
> there might be also the fontscale parameter. But not sure why this
> should be different on different machines (if you use the same
> initialisation)
> A work around could be to read out the computer name and depending on
> this you set the terminal automatically to font size 6 or 12,
> e.g.:
> if(system("hostname") eq "PC1") { font = 12}
> else { font = 6}
> set terminal pdf font "Times-New-Roman,".font
>
> Best,
> Alex
>
> On Sat, 17 Oct 2020 at 17:11, Helmut Haberzettl <he...@ha...
> <mailto:he...@ha...>> wrote:
>
> Hi,
>
> I use gnuplot 5.2 (patchlevel 8) on various machines running
> Windows 10 Pro.
>
> When creating plots using the pdf terminal, the font sizes come out
> differently on different machines. Specifically, while
> set terminal pdf font "Times-New-Roman,12"
> works as expected on one machine, I need to use
> set terminal pdf font "Times-New-Roman,6"
> on another machine to produce approximately (but not identically) the
> same output on another machine. The plot files are identical
> otherwise.
>
> Are there some additional settings I'm unaware of that prevent
> this from
> happening? This is quite annoying because I frequently work on the
> same
> gnuplot file switching between machines (desktop, laptop) and any
> help
> in this regard would be greatly appreciated.
>
> Thank you,
> --Helmut Haberzettl
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> <mailto:gnu...@li...>
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> <https://lists.sourceforge.net/lists/listinfo/gnuplot-info>
>
|
|
From: Robert v. K. <bo...@en...> - 2020-12-03 11:15:11
|
Yes, I obviously overlooked that, sorry. My plots are now working great and I'm getting lots of information from my data. Again, many thanks Alex, LG, Bob On 03/12/2020 12:02, Alexander Stangl wrote: > As commented previously you need to filter out also the points when you > define the y value. > So it should read: > file1 using (($0-3)/4):(int($0)%4 == 0 ? (y=$1,NaN) : int($0)%4 == 3 ? $1/y > : NaN) title "rr100/rr25" ls 9 > > like this it will plot NaN every 1st, 2nd and 4th line of your four line > data block and for line 3 it plots the data from line3 divided by data > from line 1. > > Best, > Alex > > On Thu, 3 Dec 2020 at 11:36, Robert von Knobloch <bo...@en... > <mailto:bo...@en...>> wrote: > > Oh dear! I wrote a little too soon Alex, sorry. > The trace looks OK at first and then I realised that it had more > plotted > points that the number of data samples (twice as many). These are > positioned at the integer points of samples on the X axis and also > erroneously at 1/3 of the distance between these points. (So at X = 1, > 1.33, 2 etc..) > I cannot see where these points come from , any ideas? > > LG, > > Bob > > > On 02/12/2020 17:00, Alexander Stangl wrote: > >> Das sollte jetzt klappen: > >> statt using 0:... musst du using (($0-3)/4):... verwenden. Dann > plottest > >> du die daten gleich wie die anderen. > >> > >> LG > > > > Alexander, your solution works perfectly. > > Again, many thanks for your efforts. > > My knowledge of gnuplot is not as deep as yours. > > > > I'll post to the list as the topic is closed. > > Bob (Robert) von Knobloch. > > > > Solution: > > > > set datafile missing NaN > > y=NaN > > plot file1 every 4::0 using 1 title "rr25" ls 1, \ > > file1 every 4::1 using 1 title "rr50" ls 3, \ > > file1 every 4::2 using 1 title "rr75" ls 5, \ > > file1 every 4::3 using 1 title "rr100" ls 7, \ > > file1 using (($0-3)/4):(int($0)%4 == 0 ? (y=$1) : int($0)%4 > == 3 ? $1/y > > : NaN) title "rr100/rr25" ls 9 > > > > > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > <mailto:gnu...@li...> > > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > <https://lists.sourceforge.net/lists/listinfo/gnuplot-info> > > > |
|
From: Alexander S. <ma...@st...> - 2020-12-03 11:02:48
|
As commented previously you need to filter out also the points when you define the y value. So it should read: file1 using (($0-3)/4):(int($0)%4 == 0 ? (y=$1,NaN) : int($0)%4 == 3 ? $1/y : NaN) title "rr100/rr25" ls 9 like this it will plot NaN every 1st, 2nd and 4th line of your four line data block and for line 3 it plots the data from line3 divided by data from line 1. Best, Alex On Thu, 3 Dec 2020 at 11:36, Robert von Knobloch <bo...@en...> wrote: > Oh dear! I wrote a little too soon Alex, sorry. > The trace looks OK at first and then I realised that it had more plotted > points that the number of data samples (twice as many). These are > positioned at the integer points of samples on the X axis and also > erroneously at 1/3 of the distance between these points. (So at X = 1, > 1.33, 2 etc..) > I cannot see where these points come from , any ideas? > > LG, > > Bob > > > On 02/12/2020 17:00, Alexander Stangl wrote: > >> Das sollte jetzt klappen: > >> statt using 0:... musst du using (($0-3)/4):... verwenden. Dann plottest > >> du die daten gleich wie die anderen. > >> > >> LG > > > > Alexander, your solution works perfectly. > > Again, many thanks for your efforts. > > My knowledge of gnuplot is not as deep as yours. > > > > I'll post to the list as the topic is closed. > > Bob (Robert) von Knobloch. > > > > Solution: > > > > set datafile missing NaN > > y=NaN > > plot file1 every 4::0 using 1 title "rr25" ls 1, \ > > file1 every 4::1 using 1 title "rr50" ls 3, \ > > file1 every 4::2 using 1 title "rr75" ls 5, \ > > file1 every 4::3 using 1 title "rr100" ls 7, \ > > file1 using (($0-3)/4):(int($0)%4 == 0 ? (y=$1) : int($0)%4 == 3 ? > $1/y > > : NaN) title "rr100/rr25" ls 9 > > > > > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > |
|
From: Robert v. K. <bo...@en...> - 2020-12-03 10:36:15
|
Oh dear! I wrote a little too soon Alex, sorry. The trace looks OK at first and then I realised that it had more plotted points that the number of data samples (twice as many). These are positioned at the integer points of samples on the X axis and also erroneously at 1/3 of the distance between these points. (So at X = 1, 1.33, 2 etc..) I cannot see where these points come from , any ideas? LG, Bob > On 02/12/2020 17:00, Alexander Stangl wrote: >> Das sollte jetzt klappen: >> statt using 0:... musst du using (($0-3)/4):... verwenden. Dann plottest >> du die daten gleich wie die anderen. >> >> LG > > Alexander, your solution works perfectly. > Again, many thanks for your efforts. > My knowledge of gnuplot is not as deep as yours. > > I'll post to the list as the topic is closed. > Bob (Robert) von Knobloch. > > Solution: > > set datafile missing NaN > y=NaN > plot file1 every 4::0 using 1 title "rr25" ls 1, \ > file1 every 4::1 using 1 title "rr50" ls 3, \ > file1 every 4::2 using 1 title "rr75" ls 5, \ > file1 every 4::3 using 1 title "rr100" ls 7, \ > file1 using (($0-3)/4):(int($0)%4 == 0 ? (y=$1) : int($0)%4 == 3 ? $1/y > : NaN) title "rr100/rr25" ls 9 > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Robert v. K. <bo...@en...> - 2020-12-03 08:21:35
|
On 02/12/2020 17:00, Alexander Stangl wrote: > Das sollte jetzt klappen: > statt using 0:... musst du using (($0-3)/4):... verwenden. Dann plottest > du die daten gleich wie die anderen. > > LG Alexander, your solution works perfectly. Again, many thanks for your efforts. My knowledge of gnuplot is not as deep as yours. I'll post to the list as the topic is closed. Bob (Robert) von Knobloch. Solution: set datafile missing NaN y=NaN plot file1 every 4::0 using 1 title "rr25" ls 1, \ file1 every 4::1 using 1 title "rr50" ls 3, \ file1 every 4::2 using 1 title "rr75" ls 5, \ file1 every 4::3 using 1 title "rr100" ls 7, \ file1 using (($0-3)/4):(int($0)%4 == 0 ? (y=$1) : int($0)%4 == 3 ? $1/y : NaN) title "rr100/rr25" ls 9 |
|
From: Alexander S. <ma...@st...> - 2020-12-02 14:23:04
|
"set datafile missing NaN" should do the trick and here's a small edit: (int($0)%4 == 0 ? (y=$1,NaN) : int($0)%4 == 3 ? y/$1 : NaN) else it would plot datum#1 every 4th line (starting first line) and datum#1/datum#3 every 4th line (starting from the third line). Cheers, Alex On Wed, 2 Dec 2020 at 14:21, Robert von Knobloch <bo...@en...> wrote: > On 01/12/2020 16:29, Alexander Stangl wrote: > > Hey, > > > > what about: > > > > y=NaN > > plot file1 every 4::0 using 1 title "25" ls 1, \ > > file1 every 4::1 using 1 title "50" ls 3, \ > > file1 every 4::2 using 1 title "75" ls 5, \ > > file1 every 4::3 using 1 title "100" ls 7, \ > > file1 u 0:(int($0)%4==0 ? y=$1 : int($0)%4==2 ? $1*y : NaN) t > > "50*100" > > > > Best, > > Alex > > > > Hi Alex, thanks for the code. > It did not produce a visible plot for me, so I adjusted it a wee bit: > > y=NaN > plot file1 every 4::0 using 1 title "rr25" ls 1, \ > file1 every 4::1 using 1 title "rr50" ls 3, \ > file1 every 4::2 using 1 title "rr75" ls 5, \ > file1 every 4::3 using 1 title "rr100" ls 7, \ > file1 using 0:(int($0)%4 == 0 ? y=$1 : int($0)%4 == 3 ? y/$1 : > NaN) > title "rr100/rr50" ls 9 > > I'm dividing, not multiplying but the result is the same: > > small pieces of plot trace between each 3rd and 0th (4th) entry the > endpoints of these pieces don't seem to bear any numerical relationship > to the data. > Small picture attached, also to your direct mail as I think the list may > not support pictures. > > I think I see the logic of your suggestion and cannot see any reason why > it should not work (from reading the Gnuplot docs). > > Many thanks for your time, > > Bob > |
|
From: Alexander S. <ma...@st...> - 2020-12-01 15:55:52
|
Hey,
what about:
y=NaN
plot file1 every 4::0 using 1 title "25" ls 1, \
file1 every 4::1 using 1 title "50" ls 3, \
file1 every 4::2 using 1 title "75" ls 5, \
file1 every 4::3 using 1 title "100" ls 7, \
file1 u 0:(int($0)%4==0 ? y=$1 : int($0)%4==2 ? $1*y : NaN) t
"50*100"
Best,
Alex
On Tue, 1 Dec 2020 at 15:18, Robert von Knobloch <bo...@en...> wrote:
> Hi,
> I am plotting groups of 4 lines of data.
> I can plot the first datum of each line using:
>
> plot file1 every 4::0 using 1 title "25" ls 1, \
> file1 every 4::1 using 1 title "50" ls 3, \
> file1 every 4::2 using 1 title "75" ls 5, \
> file1 every 4::3 using 1 title "100" ls 7
>
> Which works fine for the whole file of 50 or so entries
>
> What I would like to be able to do is to add a computed line e.g. the
> result of datum#1 in the first of the 4 block multiplied by datum#1 of
> the third block (for the whole file).
>
> Is there a method of doing this?
>
> Regards,
> Robert von Knobloch
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Robert v. K. <bo...@en...> - 2020-12-01 14:17:42
|
Hi, I am plotting groups of 4 lines of data. I can plot the first datum of each line using: plot file1 every 4::0 using 1 title "25" ls 1, \ file1 every 4::1 using 1 title "50" ls 3, \ file1 every 4::2 using 1 title "75" ls 5, \ file1 every 4::3 using 1 title "100" ls 7 Which works fine for the whole file of 50 or so entries What I would like to be able to do is to add a computed line e.g. the result of datum#1 in the first of the 4 block multiplied by datum#1 of the third block (for the whole file). Is there a method of doing this? Regards, Robert von Knobloch |
|
From: edulsa <ed...@qu...> - 2020-11-30 08:51:21
|
Dear I have used Gnuplot (win and BSD versions) in my Physical Chemistry classes since January. I have learned a lot about it and I got encouraged my students to use this beautiful free program. However, I have a problem with my interface that I couldn´t solve even reading tutorials and manuals: I start a document, inserting constants, writing functions and plotting graphs without problems. I save the document (.plt document type) and close Gnuplot. But, when I reopened the same document (loading in a clean start), only the last plot save is showed. I would like to reopen the document to show to my students line by line, how to insert constants, define functions and not get only the last graph. Of course, I always can edit it using vim or another editor but I think that it should be a more cleaver way to do this directly in Gnuplot plot. My terminal is wxt. Is this caused by the terminal type that I choose? Please, could you give suggestions? I wish to thank you in advance for your attention My best regards Eduardo -- Eduardo Lemos de Sa Professor Titular Dep. Quimica da Universidade Federal do Paraná fone: +55(41)3361-3300 fax: +55(41)3361-3186 Voip Number 10531185 |
|
From: Nunzio L. <nun...@gm...> - 2020-10-28 14:02:04
|
Hi all, I am using gnuplot 5.5 I have a multi-data-set file with a different number of columns for each index. How can I get the number of columns for each index and store it in a variable to perform iterations? Best, NL |
|
From: Alexander S. <ma...@st...> - 2020-10-26 08:25:53
|
Hey,
there might be also the fontscale parameter. But not sure why this should
be different on different machines (if you use the same initialisation)
A work around could be to read out the computer name and depending on this
you set the terminal automatically to font size 6 or 12,
e.g.:
if(system("hostname") eq "PC1") { font = 12}
else { font = 6}
set terminal pdf font "Times-New-Roman,".font
Best,
Alex
On Sat, 17 Oct 2020 at 17:11, Helmut Haberzettl <he...@ha...>
wrote:
> Hi,
>
> I use gnuplot 5.2 (patchlevel 8) on various machines running Windows 10
> Pro.
>
> When creating plots using the pdf terminal, the font sizes come out
> differently on different machines. Specifically, while
> set terminal pdf font "Times-New-Roman,12"
> works as expected on one machine, I need to use
> set terminal pdf font "Times-New-Roman,6"
> on another machine to produce approximately (but not identically) the
> same output on another machine. The plot files are identical otherwise.
>
> Are there some additional settings I'm unaware of that prevent this from
> happening? This is quite annoying because I frequently work on the same
> gnuplot file switching between machines (desktop, laptop) and any help
> in this regard would be greatly appreciated.
>
> Thank you,
> --Helmut Haberzettl
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Ethan M. <eam...@gm...> - 2020-10-24 17:35:35
|
On Friday, 23 October 2020 09:30:42 PDT Al Conle wrote: > Hi, > When I have a set of points, one of which is outside of the yrange or > xrange, and I plot them all with linespoints, the line that connects > the last plotted point to the point outside of the field can be > significantly > wrong. It is as if the outside point is not in the same co-ordinate system. Fixed in release 5.2.5 (Oct 2018). Ethan > > E.g. plot script------------------ > set term qt enhanced font "arial,16" > set key noenhanced > set colors default > set grid > > set logscale xy > set xlabel "2Nf, Reversals to Failure" > set ylabel "Strain Ampl." > set yrange [0.0001:1] > set xrange [1:1E+08] > set pointsize 2 > plot \ > "merged3_SAE950X_fitted.html" u 2:1 w lp pt 4 lc -1 > > #E.g. ------------------example data file ------------------- > 1.01 1 751 0 1.006 203000 12409 #Fitted_point monotonic > 0.01914 640 421.6 0 0.01707 203000 1280 #Fitted_point manually > 0.00968 2300 393.6 0 0.00774 203000 879 #Fitted_point manually > 0.00739 4000 382.1 0 0.00551 203000 757 #Fitted_point manually > 0.00532 8000 367.4 0 0.00351 203000 630 #Fitted_point manually > 0.00424 15000 356.6 0 0.00249 203000 554 #Fitted_point manually > 0.00346 24000 346 0 0.00176 203000 493 #Fitted_point manually > 0.00273 50000 332.1 0 0.0011 203000 429 #Fitted_point manually > 0.00234 80000 321.5 0 0.00076 203000 391 #Fitted_point manually > 0.00204 164000 310.8 0 0.00051 203000 359 #Fitted_point manually > 0.00175 400000 296.1 0 0.00029 203000 324 #Fitted_point manually > 0.00158 1000000 284.3 0 0.00018 203000 302 #Fitted_point manually > 0.00145 2400000 271.9 0 0.00011 203000 283 #Fitted_point manually > 0.00131 15000000 254.6 0 0.00005 203000 260 #Fitted_point manually > 0.00131 20000000 254.6 0 0.00005 203000 260 #Fitted_point manually > > > Example plot is attached > > gnuplot version is > Version 5.2 patchlevel 2 last modified 2017-11-15 > Running opensuse 15.1 > > best regards, > Al > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: mark_at_yahoo <mar...@ya...> - 2020-10-23 22:39:14
|
Can the color of the interactive mouse feedback in the graphics terminal window be changed? This of course works with problems: gnuplot> plot sin(x) with lines linecolor "black" But with the following the interactive mouse elements are still black and thus invisible on the black background: gnuplot> set object 1 rectangle from screen 0,0 to screen 1,1 fillcolor rgb "black" behind gnuplot> plot sin(x) with lines linecolor "white" Apologies if this has been answered before -- my searches turned up nothing. FWIW, I'm using: $ gnuplot G N U P L O T Version 5.2 patchlevel 2 last modified 2017-11-15 Copyright (C) 1986-1993, 1998, 2004, 2007-2017 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info faq, bugs, etc: type "help FAQ" immediate help: type "help" (plot window: hit 'h') Type `load "all.dem"` to display a large number of examples. They are located at /usr/share/doc/packages/gnuplot/demo/* Terminal type is now 'qt' If not in 5.2, is changing the colors implemented in later versions? Thanks for any info. -- MARK mar...@ya... |
|
From: Al C. <fa...@gm...> - 2020-10-23 16:31:18
|
Hi, When I have a set of points, one of which is outside of the yrange or xrange, and I plot them all with linespoints, the line that connects the last plotted point to the point outside of the field can be significantly wrong. It is as if the outside point is not in the same co-ordinate system. E.g. plot script------------------ set term qt enhanced font "arial,16" set key noenhanced set colors default set grid set logscale xy set xlabel "2Nf, Reversals to Failure" set ylabel "Strain Ampl." set yrange [0.0001:1] set xrange [1:1E+08] set pointsize 2 plot \ "merged3_SAE950X_fitted.html" u 2:1 w lp pt 4 lc -1 #E.g. ------------------example data file ------------------- 1.01 1 751 0 1.006 203000 12409 #Fitted_point monotonic 0.01914 640 421.6 0 0.01707 203000 1280 #Fitted_point manually 0.00968 2300 393.6 0 0.00774 203000 879 #Fitted_point manually 0.00739 4000 382.1 0 0.00551 203000 757 #Fitted_point manually 0.00532 8000 367.4 0 0.00351 203000 630 #Fitted_point manually 0.00424 15000 356.6 0 0.00249 203000 554 #Fitted_point manually 0.00346 24000 346 0 0.00176 203000 493 #Fitted_point manually 0.00273 50000 332.1 0 0.0011 203000 429 #Fitted_point manually 0.00234 80000 321.5 0 0.00076 203000 391 #Fitted_point manually 0.00204 164000 310.8 0 0.00051 203000 359 #Fitted_point manually 0.00175 400000 296.1 0 0.00029 203000 324 #Fitted_point manually 0.00158 1000000 284.3 0 0.00018 203000 302 #Fitted_point manually 0.00145 2400000 271.9 0 0.00011 203000 283 #Fitted_point manually 0.00131 15000000 254.6 0 0.00005 203000 260 #Fitted_point manually 0.00131 20000000 254.6 0 0.00005 203000 260 #Fitted_point manually Example plot is attached gnuplot version is Version 5.2 patchlevel 2 last modified 2017-11-15 Running opensuse 15.1 best regards, Al |
|
From: Helmut H. <he...@ha...> - 2020-10-17 15:11:01
|
Hi, I use gnuplot 5.2 (patchlevel 8) on various machines running Windows 10 Pro. When creating plots using the pdf terminal, the font sizes come out differently on different machines. Specifically, while set terminal pdf font "Times-New-Roman,12" works as expected on one machine, I need to use set terminal pdf font "Times-New-Roman,6" on another machine to produce approximately (but not identically) the same output on another machine. The plot files are identical otherwise. Are there some additional settings I'm unaware of that prevent this from happening? This is quite annoying because I frequently work on the same gnuplot file switching between machines (desktop, laptop) and any help in this regard would be greatly appreciated. Thank you, --Helmut Haberzettl |
|
From: Tu C. <tuc...@gm...> - 2020-10-02 09:06:36
|
I have plenty of plots, about 200. using for loop, function, shell
command.
when I use terminal pdf, all is ok. but I need add some equation on
axis. so I have to use terminal latex or something.
after I changed terminal to epslatex(shown below).
$ gnuplot **.gplt
works fine. gives a tex file and eps file. And eps file have several
plots without any text. after I
$ pdflatex **.tex.
It only gives a pdf with the first plot and all axis text overlap.
I've trid
$ set mutliplot
it gives eps and pdf all plots overlapped in one plot. so do any text.
I've searched several days for solution. can't find any demo or
question as complex as I have(loop, function, shell command). also find
none problem like I described above(eps mutliplot while pdf only one).
-----------------------------------------------------------------------
main part of my gnuplot script:
set terminal epslatex size 45cm, 30cm color colortext standalone
set output "result_MVyes_inVno_aver_vg_percent_n-p.tex"
array distance[8] = ["0.1", "0.5", "1.0", "1.5", "2.0", "3.0", "5.0",
"7.0"]
array start[8] = [24, 719, 1414, 2109, 2804, 3499, 4194, 4889]
array end[8] = [368, 1063, 1758, 2453, 3148, 3843, 4538, 5233]
getData(fName, n) = sprintf("<(sed -n '%d,%dp' %s)", start[n], end[n],
fName)
array clean[3] = ["po", "no", "BGno"]
fileName(year, i) = sprintf("origin_fluid_%s%s.dat", year, clean[i])
comData(n, year) = sprintf("<(paste %s %s |sed -n '%d,%dp')",
fileName(year, 1), fileName(year, 2), start[n], end[n])
uds0 = "using 2:(100*($12-$28)/$28)"
set xlabel 'y'
set key out vert
set logscale x 10
set format y '$%.1e$'
set xrange [10**(-2):3.5]
####################################
# atmospheric pressure #
# #
####################################
set yrange [-2*10**(-4):2*10**(-4)]
#####################################
set ylabel 'atmospheric pressure'
set title 'every year every distance polluted atmospheric pressure'
plot for [year in "2004 2005 2006"] for [i = 1:8] comData(i, year)
@uds0 with linespoint pn 5 lt (abs(year)-2004)*8+i title year."
".distance[i]
####################################年份不变
set title '2004 every distance polluted and nonpolluted atmospheric
pressure'
plot for [year in "2004"] for [i = 1:8] comData(i, year) @uds0 with
linespoint pn 5 lt (abs(year)-2004)*8+i title year." ".distance[i]
set title '2005 every distance polluted and nonpolluted atmospheric
pressure'
plot for [year in "2005"] for [i = 1:8] comData(i, year) @uds0 with
linespoint pn 5 lt (abs(year)-2004)*8+i title year." ".distance[i]
set title '2006 every distance polluted and nonpolluted atmospheric
pressure'
plot for [year in "2006"] for [i = 1:8] comData(i, year) @uds0 with
linespoint pn 5 lt (abs(year)-2004)*8+i title year." ".distance[i]
####################################
do for [i = 1:8] {
set title "every year ".distance[i]." polluted and nonpolluted
atmospheric pressure"
plot for [year in "2004 2005 2006"] comData(i, year) @uds0 with
linespoint pn 5 lt (abs(year)-2003) title year." ".distance[i]
}
--
Tu Can <tuc...@gm...>
|
|
From: Tait <gnu...@t4...> - 2020-09-08 14:17:26
|
It looks like the .pro file should add: CONFIG += c++11 (at a minimum, or possibly c++14 or c++17). See https://wiki.qt.io/How_to_use_C%2B%2B11_in_your_Qt_Projects and https://stackoverflow.com/questions/19398438/c-qt-how-to-add-std-c11-to-the-makefile-which-is-generated-by-qmake for example. Can you try that and share whether it fixes the issue for you? GCC 4.8.2 is more than seven years old at this point -- roughly the era of gnuplot 4.6. Any non-ancient version of GCC defaults to -std=c++14 if unspecified, so this will only affect a select few people, like yourself, building gnuplot on old systems. Kevin Klein <kk...@gm...> said (on 2020/09/04): > Date: Fri, 4 Sep 2020 12:17:07 -0500 > From: Kevin Klein <kk...@gm...> > To: gnu...@li... > Subject: [Gnuplot-info] appending to default Makefile variable value > > When running "make" while trying to build gnuplot on RHEL7, I initially > received the following error: > > In file included from /usr/include/c++/4.8.2/type_traits:35:0, > from /usr/include/qt5/QtCore/qglobal.h:45, > from /usr/include/qt5/QtCore/QtCore:4, > from qterminal/qt_term.cpp:51: > /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file > requires compiler and library support for the ISO C++ 2011 standard. This > support is currently experimental, and must be enabled with the -std=c++11 > or -std=gnu++11 compiler options. > > Based on the above message, "-std=c++11" needed to be added to the > QT_CFLAGS variable that is generated in the Makefile. Ultimately I did > this by looking at the default value for this variable in config.log, then > running the following in the shell: > > setenv QT_CFLAGS '-std=c++11 <QT_CFLAGS>' > > where <QT_CFLAGS> is the default value for QT_CFLAGS as listed in > config.log, then re-running configure. This generated a Makefile with > QT_CFLAGS set to its default value plus " -std=c++11", which then allowed > the "make" (and "make install") to complete successfully. > > My question is: > > Is there a simple one-liner way to specify that something should be > appended to the QT_CFLAGS variable when configure is run rather than > replacing it? If I had run the following in the shell: > > setenv QT_CFLAGS -std=c++11 > > And then run configure, the resulting Makefile would only contain > "-std=c++11" as the value for QT_CFLAGS rather than that plus all of the > default library include paths, and "make" would have failed. |
|
From: Kevin K. <kk...@gm...> - 2020-09-04 17:17:41
|
When running "make" while trying to build gnuplot on RHEL7, I initially
received the following error:
In file included from /usr/include/c++/4.8.2/type_traits:35:0,
from /usr/include/qt5/QtCore/qglobal.h:45,
from /usr/include/qt5/QtCore/QtCore:4,
from qterminal/qt_term.cpp:51:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options.
Based on the above message, "-std=c++11" needed to be added to the
QT_CFLAGS variable that is generated in the Makefile. Ultimately I did
this by looking at the default value for this variable in config.log, then
running the following in the shell:
setenv QT_CFLAGS '-std=c++11 <QT_CFLAGS>'
where <QT_CFLAGS> is the default value for QT_CFLAGS as listed in
config.log, then re-running configure. This generated a Makefile with
QT_CFLAGS set to its default value plus " -std=c++11", which then allowed
the "make" (and "make install") to complete successfully.
My question is:
Is there a simple one-liner way to specify that something should be
appended to the QT_CFLAGS variable when configure is run rather than
replacing it? If I had run the following in the shell:
setenv QT_CFLAGS -std=c++11
And then run configure, the resulting Makefile would only contain
"-std=c++11" as the value for QT_CFLAGS rather than that plus all of the
default library include paths, and "make" would have failed.
|
|
From: Phil V <pv....@gm...> - 2020-09-02 12:30:04
|
Hello, is there a way to zoom an interactive plot beyond the bounds of the axes? Or to increase the size of the axes relative to the window? Currently the image gets cropped off at an invisible bounding box far away from the edges of the window. DETAILS: I am using the command splot FILE using 1:2:3 with lines This creates a '3D' wire frame as expected. I am trying to zoom the image to take up more of the screen. When I turn the mousewheel it shifts the plot along the y axis. When I shift turn the mousewheel it shifts the plot along the x axis. When I control-mousewheel down the axes labels increase in one axis and the plot scales down visually. When I control-mousewheel up, the opposite happens, but the plot gets cropped off at an invisible bounding box. The magnifying glass buttons allow to reset(1) and the zoom in and out buttons behave inconsistently: (-) repeated clicks shrinks sometimes but expands other times. (+) similarly. Sometimes gives the KDE message "bell in session 'default'". QUESTIONS: 1. is there a way to zoom an interactive plot beyond the bounds of the axes? Q2. is there a way to increase the size of the axes relative to the window? Ideally cropping would happen only at the edges of the window. |
|
From: <mar...@ya...> - 2020-08-21 12:22:36
|
Hello everyone, I would like to plot several curve using a single line thank to a for loop. I currently have : plot @chemin_tot_DNS u (@yplusfroid_DNS):(@wT*rho_fr/qwsurcpmf_LES_DNS) @format_dns_fr title "SND", \ @chemin_tot_nomodel u (@yplusfroid_nomodel):(@wT*rho_fr/qwsurcpmf_LES_nomodel) @format_nomodel_fr title "Sans modele (Quick)", \ @chemin_tot_fsim100sim100 every 1 u (@yplusfroid_fsim100sim100):(@wT*rho_fr/qwsurcpmf_LES_fsim100sim100) pt 1 @pts_fr title "Similarite (Quick)", \ @chemin_tot_fwal055wal055 every 1 u (@yplusfroid_fwal055wal055):(@wT*rho_fr/qwsurcpmf_LES_fwal055wal055) pt 8 @pts_fr title "WALE (Quick)" plot @chemin_tot_DNS u (@yplusfroid_DNS):(@uT*rho_fr/qwsurcpmf_LES_DNS) @format_dns_fr title "SND", \ @chemin_tot_nomodel u (@yplusfroid_nomodel):(@uT*rho_fr/qwsurcpmf_LES_nomodel) @format_nomodel_fr title "Sans modele (Quick)", \ @chemin_tot_fsim100sim100 every 1 u (@yplusfroid_fsim100sim100):(@uT*rho_fr/qwsurcpmf_LES_fsim100sim100) pt 1 @pts_fr title "Similarite (Quick)", \ @chemin_tot_fwal055wal055 every 1 u (@yplusfroid_fwal055wal055):(@uT*rho_fr/qwsurcpmf_LES_fwal055wal055) pt 8 @pts_fr title "WALE (Quick)", \ I would like to do something like : liste="@chemin_tot_DNS @chemin_tot_nomodel @chemin_tot_fsim100sim100 @chemin_tot_fwal055wal055" plot for [file in liste] file using (@yplusfroid_VARIABLE):(@wT*rho_fr/qwsurcpmf_LES_VARIABLE) plot for [file in liste] file using (@yplusfroid_VARIABLE):(@uT*rho_fr/qwsurcpmf_LES_VARIABLE) where VARIABLE take the value DNS when liste=chemin_tot_DNS, the value nomodel when liste=chemin_tot_nomodel... I have 2 problem : 1) Gnuplot does not recognize the value @chemin_tot_DNS. This is not so problematic since I can give the value of @chemin_tot_DNS but if you know how to use the @chemin_tot_DNS in the for loop it would be wonderful. 2) I do not succeed in adapting VARIABLE in order that it changes values for each iteration of the for loop. Is there a solution to this issue ? Thank you in advance for your answer, Sincerely, Martin |