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: Thomas D. D. <to...@sp...> - 2015-07-12 21:09:50
|
On 07/12/15 13:56, Hans-Bernhard Bröker wrote:
> Am 12.07.2015 um 22:47 schrieb Thomas D. Dean:
>> On 07/12/15 08:46, Hans-Bernhard Bröker wrote:
>>> Am 12.07.2015 um 12:20 schrieb Thomas D. Dean:
>
>>>> I want the grid to align with the y axis, not the y2 axis.
>
>>>> If I use 'set grid xtics ytics' I have no y grid
>
>>> Please show a complete example command sequence that produces the
>>> problematic behaviour. If possible, start with "reset".
>>>
>>> Just in case: you _do_ have some actual ytics active for the grid to be
>>> based on, right?
>>
>> As I said in the original post, demo/electron.dem, third plot.
>
> No, that's not actually as you said. That plot is _designed_ to have
> the grid aligned with y2. What you should show is a script that
> actually tries to put the grid aligned with y1, but fails to work.
>
>
My original post:
A simple example of what I want to do is in demo/electron.dem, the last
plot, amplitude frequency response.
I want the grid to align with the y axis, not the y2 axis.
If I use 'set grid xtics ytics' I have no y grid
If I use 'set grid xtics y2tics' or 'set grid' the grid is aligned with
the y2 tics
I want to align the grid with the ytics.
Is this possible?
In the demo, change y2 to y in the set grid line! But, that results in
no y grid.
reset
A(jw) = ({0,1}*jw/({0,1}*jw+p1)) * (1/(1+{0,1}*jw/p2))
p1 = 10
p2 = 10000
set dummy jw
set grid x y
set logscale xy
set log x2
unset log y2
set key default
set key bottom center box
set title "Amplitude and Phase Frequency Response"
set xlabel "jw (radians)"
set xrange [1.1 : 90000.0]
set ylabel "magnitude of A(jw)"
set y2label "Phase of A(jw) (degrees)"
set ytics nomirror tc lt 1
set y2tics nomirror tc lt 3
set xtics mirror
set tics out
set autoscale y
set autoscale y2
plot abs(A(jw)) lt 1, 180/pi*arg(A(jw)) axes x1y2 lt 3
Tom Dean
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2015-07-12 20:56:53
|
Am 12.07.2015 um 22:47 schrieb Thomas D. Dean: > On 07/12/15 08:46, Hans-Bernhard Bröker wrote: >> Am 12.07.2015 um 12:20 schrieb Thomas D. Dean: >>> I want the grid to align with the y axis, not the y2 axis. >>> If I use 'set grid xtics ytics' I have no y grid >> Please show a complete example command sequence that produces the >> problematic behaviour. If possible, start with "reset". >> >> Just in case: you _do_ have some actual ytics active for the grid to be >> based on, right? > > As I said in the original post, demo/electron.dem, third plot. No, that's not actually as you said. That plot is _designed_ to have the grid aligned with y2. What you should show is a script that actually tries to put the grid aligned with y1, but fails to work. |
|
From: Thomas D. D. <to...@sp...> - 2015-07-12 20:47:54
|
On 07/12/15 08:46, Hans-Bernhard Bröker wrote:
> Am 12.07.2015 um 12:20 schrieb Thomas D. Dean:
>
>> I want the grid to align with the y axis, not the y2 axis.
>>
>> If I use 'set grid xtics ytics' I have no y grid
>
> Please show a complete example command sequence that produces the
> problematic behaviour. If possible, start with "reset".
>
> Just in case: you _do_ have some actual ytics active for the grid to be
> based on, right?
As I said in the original post, demo/electron.dem, third plot. Here is
a cut/paste from that example, with 'reset' prepended. Notice, the grid
lines are aligned with the y2 axis. I want to align the grid lines with
the y axis.
reset
A(jw) = ({0,1}*jw/({0,1}*jw+p1)) * (1/(1+{0,1}*jw/p2))
p1 = 10
p2 = 10000
set dummy jw
set grid x y2
set logscale xy
set log x2
unset log y2
set key default
set key bottom center box
set title "Amplitude and Phase Frequency Response"
set xlabel "jw (radians)"
set xrange [1.1 : 90000.0]
set ylabel "magnitude of A(jw)"
set y2label "Phase of A(jw) (degrees)"
set ytics nomirror tc lt 1
set y2tics nomirror tc lt 3
set xtics mirror
set tics out
set autoscale y
set autoscale y2
plot abs(A(jw)) lt 1, 180/pi*arg(A(jw)) axes x1y2 lt 3
Tom Dean
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2015-07-12 15:46:27
|
Am 12.07.2015 um 12:20 schrieb Thomas D. Dean: > I want the grid to align with the y axis, not the y2 axis. > > If I use 'set grid xtics ytics' I have no y grid Please show a complete example command sequence that produces the problematic behaviour. If possible, start with "reset". Just in case: you _do_ have some actual ytics active for the grid to be based on, right? |
|
From: Thomas D. D. <to...@sp...> - 2015-07-12 10:20:50
|
gnuplot 5.1 A simple example of what I want to do is in demo/electron.dem, the last plot, amplitude frequency response. I want the grid to align with the y axis, not the y2 axis. If I use 'set grid xtics ytics' I have no y grid If I use 'set grid xtics y2tics' or 'set grid' the grid is aligned with the y2 tics I want to align the grid with the ytics. Is this possible? Tom Dean |
|
From: Thomas D. D. <to...@sp...> - 2015-07-11 06:50:33
|
I set terminal in ~/.gnuplot, which I changed
> cat ~/.gnuplot
set fontpath "/usr/share/fonts/X11/100dpi"
set terminal wxt font "helvB,12" enhanced
> gnuplot
...
G N U P L O T
Version 5.1 patchlevel 0 last modified 2015-07-08
...
terminal type is wxt 0 enhanced font "helvB024"
fontpath is "/usr/share/fonts/X11/100dpi"
system fontpath is "/usr/share/ghostscript/fonts"
Terminal type set to 'wxt'
gnuplot> load "transparent_solids.dem"
Works!.
And, the transparency is similar to qt.
Thanks.
Tom Dean
|
|
From: Tatsuro M. <tma...@ya...> - 2015-07-11 06:34:08
|
----- Original Message ----- > From: Thomas D. Dean > To: gnuplot-info > Cc: > Date: 2015/7/11, Sat 14:03 > Subject: Re: [Gnuplot-info] Gnuplot 5.1 Warning and Incorrect Plot > > On 07/10/15 20:27, tmacchant wrote: >> On your system, it is possible that font confuration is incorrect. Try >> >> $ fc-cash -fv >> >> from bash prompt >> > > I have done this several times. I see no errors. It does not change > anything. > Hmmmm. I also am using ubuntu 14.0.4 LTS amd64. I have never seen such slowness for qt. Do you build gnuplot 5.1 also with wxt? How about wxt? $ GNUTERM=wxt gnuplot electron.dem The wxt terminal has a transparency facilities. Note that qt and wxt cannot be used at the same gnuplot session (except for windows.). If you have not built gnuplot with wxt, please see carefully configure reports and what is missing. Tatsuro |
|
From: Thomas D. D. <to...@sp...> - 2015-07-11 05:03:58
|
On 07/10/15 20:27, tmacchant wrote: > On your system, it is possible that font confuration is incorrect. Try > > $ fc-cash -fv > > from bash prompt > I have done this several times. I see no errors. It does not change anything. |
|
From: tmacchant <tma...@ya...> - 2015-07-11 03:52:50
|
On your system, it is possible that font confuration is incorrect. Try $ fc-cash -fv from bash prompt Tatsuro -- View this message in context: http://gnuplot.10905.n7.nabble.com/Gnuplot-5-1-Warning-and-Incorrect-Plot-tp19604p19615.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas D. D. <to...@sp...> - 2015-07-11 03:37:19
|
I spoke too soon. I do have gnuplot running with qt5. However, if I set terminal qt, the first plot still fails. I really do want the qt terminal because the plots, especially transparency are better, I guess, as a work around, I will just issue the first plot command twice! The x11 terminal still works correctly. I will drop this, since there is most likely no solution. Thank you. Tom Dean |
|
From: Thomas D. D. <to...@sp...> - 2015-07-11 03:30:03
|
I found a solution. I was using qt4. Building with qt5 failed at several points, due to my setup and system. Configure was not generating a correct Makefile because it could not find qt5! The key is to look at the Makefile, specifically QT_CFLAGS and QT_LIBS. If they are blank, the problem is with the build dependencies. I did a lot of things, so, not sure what fixed things, maybe all. > uname -a Linux P9X79 3.13.0-51-generic #84-Ubuntu SMP Wed Apr 15 12:08:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty I installed build-dep gnuplot qttools5-dev-tools qtbase5-dev libqt5svg5 libqt5svg5-dev and, did 'sudo updatedb'. This is very important. Now, 'configure --with-qt=qt5' generates the correct QT_CFLAGS and QT_LIBS values. Before, they were blank! configure, make, make check, and make install all work. The first plot is correct! Sorry for all the noise. Hope this helps someone else. Tom Dean |
|
From: Thomas D. D. <to...@sp...> - 2015-07-10 22:25:28
|
On 07/10/15 12:41, Ethan Merritt wrote: > On Fri, Jul 10, 2015 at 11:53 AM, Thomas D. Dean <to...@sp...> wrote: >> On 07/10/15 11:34, Ethan Merritt wrote: >> >>> >>> A pointer to the discussion and proposed fix would be sufficient. >> >> >> >> discussion, among others: >> >> http://comments.gmane.org/gmane.comp.graphics.gnuplot.user/7933 > > That was a different problem altogether. The executable was installed > in the wrong directory. > >> http://gnuplot.10905.n7.nabble.com/Reworked-qt-terminal-is-much-faster-and-fails-to-work-on-Mac-td17949i60.html >> >> Daniel J Sebald proposed a patch. >> >> https://sourceforge.net/p/gnuplot/patches/653/ >> >> for cleaning up the linking and waiting for gnuplot_qt socket >> >> I am not sure this patch is a fix. > > That patch was a non-starter because it totally broke on OSX and > basically just papered over the symptom by not checking for a problem > with the font request - so no error message but also the font + > scaling was still messed up if the system didn't respond in time. > > I remain dubious that this is really a problem on the gnuplot end. > The font request really is delayed or late, which points to an issue > with font configuration at the operating system level. The identical > gnuplot code works fine on other linux machines. That doesn't rule > out the possibility that something could be done in gnuplot to reduce > the chance of triggering an error in the font support, but so far I > have not seen a plausible suggestion as to what that change might be. > > Out of curiousity, are you using Qt4 or Qt5? Which exact version? > > I am using qt4. QtCore does not seem to exist in the Ubuntu 14.04 packages for qt5. > lrelease-qt4 -version lrelease version 4.8.6 This seems to be related to qt. See my previous message about set terminal. Tom Dean |
|
From: Ethan M. <eam...@gm...> - 2015-07-10 19:41:25
|
On Fri, Jul 10, 2015 at 11:53 AM, Thomas D. Dean <to...@sp...> wrote: > On 07/10/15 11:34, Ethan Merritt wrote: > >> >> A pointer to the discussion and proposed fix would be sufficient. > > > > discussion, among others: > > http://comments.gmane.org/gmane.comp.graphics.gnuplot.user/7933 That was a different problem altogether. The executable was installed in the wrong directory. > http://gnuplot.10905.n7.nabble.com/Reworked-qt-terminal-is-much-faster-and-fails-to-work-on-Mac-td17949i60.html > > Daniel J Sebald proposed a patch. > > https://sourceforge.net/p/gnuplot/patches/653/ > > for cleaning up the linking and waiting for gnuplot_qt socket > > I am not sure this patch is a fix. That patch was a non-starter because it totally broke on OSX and basically just papered over the symptom by not checking for a problem with the font request - so no error message but also the font + scaling was still messed up if the system didn't respond in time. I remain dubious that this is really a problem on the gnuplot end. The font request really is delayed or late, which points to an issue with font configuration at the operating system level. The identical gnuplot code works fine on other linux machines. That doesn't rule out the possibility that something could be done in gnuplot to reduce the chance of triggering an error in the font support, but so far I have not seen a plausible suggestion as to what that change might be. Out of curiousity, are you using Qt4 or Qt5? Which exact version? |
|
From: Thomas D. D. <to...@sp...> - 2015-07-10 19:13:56
|
On Ubuntu 14.04, > gnuplot ... gnuplot> set terminal x11 gnuplot> load "electron.dem" works, all plots are correct. > gnuplot ... gnuplot> set terminal qt gnuplot> load "electron.dem" Warning: slow font initializationHit return to continueqt_processTermEvent received a GE_fontprops event. This should not have happened The first plot is wrong and all others are correct. So, the problem is with the qt terminal, not the x11 terminal. Sorry for the confusion. Tom Dean |
|
From: Thomas D. D. <to...@sp...> - 2015-07-10 18:53:35
|
On 07/10/15 11:34, Ethan Merritt wrote: > > A pointer to the discussion and proposed fix would be sufficient. discussion, among others: http://comments.gmane.org/gmane.comp.graphics.gnuplot.user/7933 http://gnuplot.10905.n7.nabble.com/Reworked-qt-terminal-is-much-faster-and-fails-to-work-on-Mac-td17949i60.html Daniel J Sebald proposed a patch. https://sourceforge.net/p/gnuplot/patches/653/ for cleaning up the linking and waiting for gnuplot_qt socket I am not sure this patch is a fix. Tom Dean |
|
From: Ethan M. <eam...@gm...> - 2015-07-10 18:34:29
|
On Fri, Jul 10, 2015 at 11:26 AM, Thomas D. Dean <to...@sp...> wrote:
> I removed gnuplot 5.1 and installed the Ubuntu package.
>
> Now, electron.dem works.
>
> But, the Ubuntu package is seemingly screwed-up. Installing gnuplot
> does not work. Installing gnuplot-x11 does not work. Installing
> gnuplot-qt does work.
>
> I use X, not the desktop.
>
> I removed the ubuntu packages and manually cleaned-up. apt does not
> remove /usr/bin/gnuplot.
>
> I rebuilt and installed gnuplot 5.1. It works great, except for the
> first plot.
>
> This issue has been discussed repeatedly for both OSX abnd Linux. A fix
> was proposed and it looks like it was not implemented.
Discussed and proposed where?
> Should I file a bug report?
A pointer to the discussion and proposed fix would be sufficient.
thanks,
Ethan
> Tom Dean
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Thomas D. D. <to...@sp...> - 2015-07-10 18:26:14
|
I removed gnuplot 5.1 and installed the Ubuntu package. Now, electron.dem works. But, the Ubuntu package is seemingly screwed-up. Installing gnuplot does not work. Installing gnuplot-x11 does not work. Installing gnuplot-qt does work. I use X, not the desktop. I removed the ubuntu packages and manually cleaned-up. apt does not remove /usr/bin/gnuplot. I rebuilt and installed gnuplot 5.1. It works great, except for the first plot. This issue has been discussed repeatedly for both OSX abnd Linux. A fix was proposed and it looks like it was not implemented. Should I file a bug report? Tom Dean |
|
From: Thomas D. D. <to...@sp...> - 2015-07-10 16:23:58
|
On 07/10/15 09:04, Thomas D. Dean wrote: > > uname -a > Linux P9X79 3.13.0-51-generic #84-Ubuntu SMP Wed Apr 15 12:08:34 UTC > 2015 x86_64 x86_64 x86_64 GNU/Linux > > > gnuplot electron.dem > > Warning: slow font initializationHit return to > continueqt_processTermEvent received a GE_fontprops event. This should > not have happened > > The first plot is over-zoomed so the title and labels are just off the > display. The next plot is correct. If I do the plots manually, line by > line, the first plot is still not correct. But, if I issue the plot > command again, I get a correct plot. Bug 1572 mentions using enhanced on set term > gnuplot ... gnuplot> set term x11 enhanced gnuplot> load "electron.dem" All the plots are correct. Tom Dean |
|
From: Ethan M. <eam...@gm...> - 2015-07-10 16:20:38
|
On Friday, 10 July 2015 09:04:22 AM Thomas D. Dean wrote: > > uname -a > Linux P9X79 3.13.0-51-generic #84-Ubuntu SMP Wed Apr 15 12:08:34 UTC > 2015 x86_64 x86_64 x86_64 GNU/Linux > > > gnuplot electron.dem > > Warning: slow font initializationHit return to > continueqt_processTermEvent received a GE_fontprops event. This should > not have happened > > The first plot is over-zoomed so the title and labels are just off the > display. The next plot is correct. If I do the plots manually, line by > line, the first plot is still not correct. But, if I issue the plot > command again, I get a correct plot. > > Is this a known problem? So far as I know the error message means exactly what it says. The request to the system for a font took so long that gnuplot decided to stop waiting for it and tried to draw the plot with only a guess at font information. Because of this, the sizing and placement of elements in the font is not correct. This can happen if you request a font that has buggy metrics (some very old *.ttf fonts for example), but can also come if the font is not already in the system or per-user font cache and the system is just plain slow in searching/loading it from disk. In the latter case the problem should go away if you repeat the plot sequence, because now it is in the font cache. This seems to be a recurring problem on OSX, but I have only seen it on linux if the font is being used for the very first time and therefore none of the font metrics are cached. Ethan > Any fix? > > Tom Dean > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- mail: Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |
|
From: Thomas D. D. <to...@sp...> - 2015-07-10 16:04:31
|
> uname -a Linux P9X79 3.13.0-51-generic #84-Ubuntu SMP Wed Apr 15 12:08:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > gnuplot electron.dem Warning: slow font initializationHit return to continueqt_processTermEvent received a GE_fontprops event. This should not have happened The first plot is over-zoomed so the title and labels are just off the display. The next plot is correct. If I do the plots manually, line by line, the first plot is still not correct. But, if I issue the plot command again, I get a correct plot. Is this a known problem? Any fix? Tom Dean |
|
From: Tatsuro M. <tma...@ya...> - 2015-06-18 00:50:36
|
----- Original Message ----- > From: tmacchant > To: gnuplot-info > Cc: > Date: 2015/6/18, Thu 09:00 > Subject: Re: [Gnuplot-info] passing an argument to gnuplot script > >> export num=$1 >> gnuplot -e "fileW='/dev/shm/waitingTime$1.txt'; >> fileT='/dev/shm/thinkingTime$1.txt'" file.gnuplot > > I have been long time only window user and became also Linux user very > recently. > (But I have experienced msys and cygwin.) > > I have also Googled. > > Does the below work? > $ cmd=$(printf "gnuplot -e \"fileW='/dev/shm/waitingTime%d.txt';fileT='/dev/shm/thinkingTime%d.txt'\" file.gnuplot" $1 $1); $cmd > Perhaps the below is enough $ $(printf "gnuplot -e \"fileW='/dev/shm/waitingTime%d.txt';fileT='/dev/shm/thinkingTime%d.txt'\" file.gnuplot" $1 $1) Tatsuro |
|
From: tmacchant <tma...@ya...> - 2015-06-18 00:22:54
|
> export num=$1 > gnuplot -e "fileW='/dev/shm/waitingTime$1.txt'; > fileT='/dev/shm/thinkingTime$1.txt'" file.gnuplot I have been long time only window user and became also Linux user very recently. (But I have experienced msys and cygwin.) I have also Googled. Does the below work? $ cmd=$(printf "gnuplot -e \"fileW='/dev/shm/waitingTime%d.txt'; fileT='/dev/shm/thinkingTime%d.txt'\" file.gnuplot" $1 $1); $cmd Tatsuro -- View this message in context: http://gnuplot.10905.n7.nabble.com/passing-an-argument-to-gnuplot-script-tp94p19544.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: tmacchant <tma...@ya...> - 2015-06-15 23:13:28
|
> okay if i want to pass a parameter ,i have the bash script and i want to call my gnuplot file and pass > > this parameter (which is a number)to it . now in the bash script i used > this command gnuplot /home/yas/file.gnuplot $1 > and in the gnuplot file i need to be able to take this $1 ..how to do > that? > i tried arg but it did not work! I did not say the below works gnuplot /home/yas/file.gnuplot $1 I have wrote some working examples. Did not you look those? As far as I know, there are two ways to pass the parameter to the script. The below examples were already written in separately, but I summarize in one for the convenience. **************************************************** 1. Scripts are prepared to use parameters and initial values of them are determined outside of script. #test.gp set term pngcairo set out 'paratest.png plot a*x+b set out #end of test.gp echo "a=2;b=3;load 'test.gp'" | gnuplotcvs or gnuplot -e "a=2;b=3;load 'test.gp'" 2. Prepare scripts using argument variable ($0, $1,... (ver. <= 4) or ARG1, ARG2, (ver.5)) and argument passed by command line **************************************************************************** Note that command line options are changed at ver. 5. Version 4 $ gnuplot --help Usage: gnuplot [OPTION]... [FILE] for X11 options see 'help X11->command-line-options' -V, --version -h, --help -p --persist -d --default-settings -e "command1; command2; ..." Version 5 $ gnuplot --help Usage: gnuplot [OPTION] ... [FILE] for X11 options see 'help X11->command-line-options' -V, --version -h, --help -p --persist -d --default-settings -c scriptfile ARG1 ARG2 ... -e "command1; command2; ..." The option to use call mechanism is added on ver. 5 -c scriptfile ARG1 ARG2 ... **************************************************************************** I show a example for ver.5 #calltest.gp a=ARG1; b=ARG2 set term pngcairo set out 'paratest.png plot a*x+b set out #end of calltest.gp gnuplotcvs -e "call 'calltest.gp' 2 3" # works on all version or gnuplotcvs -c calltest.gp 2 3 # works only on ver. 5 or later For ver.4 or before, ARG1 and ARG2 should be replaced by $0 and $1. Note for call script for ver.4 or before, NOTE: there is a clash in syntax with the datafile `using` callback operator. Use `$$n` or `column(n)` to access column n from a datafile inside a `call`ed datafile plot. Tatsuro -- View this message in context: http://gnuplot.10905.n7.nabble.com/passing-an-argument-to-gnuplot-script-tp94p19532.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Tatsuro M. <tma...@ya...> - 2015-06-14 07:34:26
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: tmacchant3 gnuplot-info > Cc: > Date: 2015/6/14, Sun 15:35 > Subject: Re: [Gnuplot-info] passing an argument to gnuplot script > > ----- Original Message ----- > >> From: tmacchant >> To: gnuplot-info >> Cc: >> Date: 2015/6/13, Sat 04:49 >> Subject: Re: [Gnuplot-info] passing an argument to gnuplot script >> >>> #!/bin/bash >>> set xlabel "start" >>> set ylabel "Delay" >>> set autoscale >> >> You are confusing gnuplot script and bash shell command. >> >> #!/bin/bash declare that this file is bash shell script. You cannot write >> gnuplot command in bash shell script. >> >> Tatsuro >> > > The below examples are not strictly passing the arguments but practically do the > similar thing. > > #test.gp > plot a*x+b > #end of test.gp > > $ echo "a=2;b=3;load 'test.gp'" | gnuplotcvs --persist > or > $ gnuplot -e "a=2;b=3;load 'test.gp'" --persist > > The idea is taken from the octave-ML. > > http://octave.1599824.n4.nabble.com/Pass-argument-to-script-file-td4670853.html > > HTH > > Tatsuro Using call command on gnuplot version 5 or later #calltest.gp plot ARG1*x+ARG2 $ gnuplot -e "call 'calltest.gp' 2 3" --persist HTH Tatsuro |
|
From: Tatsuro M. <tma...@ya...> - 2015-06-14 06:35:49
|
----- Original Message ----- > From: tmacchant > To: gnuplot-info > Cc: > Date: 2015/6/13, Sat 04:49 > Subject: Re: [Gnuplot-info] passing an argument to gnuplot script > >> #!/bin/bash >> set xlabel "start" >> set ylabel "Delay" >> set autoscale > > You are confusing gnuplot script and bash shell command. > > #!/bin/bash declare that this file is bash shell script. You cannot write > gnuplot command in bash shell script. > > Tatsuro > The below examples are not strictly passing the arguments but practically do the similar thing. #test.gp plot a*x+b #end of test.gp $ echo "a=2;b=3;load 'test.gp'" | gnuplotcvs --persist or $ gnuplot -e "a=2;b=3;load 'test.gp'" --persist The idea is taken from the octave-ML. http://octave.1599824.n4.nabble.com/Pass-argument-to-script-file-td4670853.html HTH Tatsuro |