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
|
Oct
|
Nov
|
Dec
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-06-30 21:00:26
|
On 30.06.2011 15:44, cédric ody wrote: > > I would like to put x axis on top of the graph using SPLOT command. Is there > such possibility? No. 3D plots don't support secondary axes. No x2range, no x2tics. |
|
From: stafusa <st...@gm...> - 2011-06-30 18:27:25
|
Hello, in bash you can type, say, "rm" and search the shell history for entries beginning with "rm" by simply pressing PgUp, PgDn. That is very useful, and all you have to do is to add, in your .bashrc: bind '"\e[5~": history-search-backward' bind '"\e[6~": history-search-forward' At work (Suse, with gnuplot 4.4 patch 0) I have the same functionality in gnuplot, but not in my personal computer (Ubuntu, gnuplot 4.4 patch 2). I didn't find anything in the .gnuplot or similar and googling for quite a while didn't turn out anything useful. Does someone know how to get this feature to work in gnuplot? Thx in advance, Stafusa -- View this message in context: http://old.nabble.com/efficient-history-search-tp31964384p31964384.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: cédric o. <ced...@gm...> - 2011-06-30 13:44:38
|
Dear gnuplot users and developers, I am using version 4.2 patchlevel 2. I would like to put x axis on top of the graph using SPLOT command. Is there such possibility? I know how to do it with PLOT command but it does not seem that axes keyword is implemented for SPLOT. Thank you by advance, Cédric |
|
From: Thomas S. <t.s...@fz...> - 2011-06-28 08:42:18
|
if there is no load file, then GPVAL_LOAD_FILE is undefined,
i.e. not existing, and this can be tested using the 'exists()'
function:
if (exists("GPVAL_LOAD_FILE")) print GPVAL_LOAD_FILE
Robbie Morrison wrote:
>
>
> Hello all, hi Thomas
>
> I can confirm the patch from Thomas Sefzick (see below)
> works for real files but not for 'stdin'. The patch
> allows the name of the current script to be recovered
> from within that script. I suggest the patch gets
> developed a little and transferred to the gnuplot mainline.
> Can someone therefore cross-post this message to the
> dev list please? TIA.
>
> The patch was tested on Ubuntu 10.04 (64-bit) / Linux
> 2.6.32-32-generic / gcc 4.4.3 / Intel Core i5-520M.
> Here are the build calls:
>
> $ ./configure --without-lua # 11 seconds
> $ make # 35 seconds
>
> The test script:
>
> $ cat gpval-load-file.gp
> show version
> print GPVAL_LOAD_FILE
>
> Some trials:
>
> $ src/gnuplot gpval-load-file.gp
>
> G N U P L O T
> Version 4.4 patchlevel 3 (with modifications by robbie)
> last modified June 2011
> System: Linux 2.6.32-32-generic
>
> Copyright (C) 1986-1993, 1998, 2004, 2007-2010
> Thomas Williams, Colin Kelley and many others
>
> gnuplot home: http://www.gnuplot.info
> faq, bugs, etc: type "help seeking-assistance"
> immediate help: type "help"
> plot window: hit 'h'
>
> gpval-load-file.gp
>
> However this patch fails if reading from 'stdin:'
>
> $ src/gnuplot < gpval-load-file.gp
>
> G N U P L O T
> Version 4.4 patchlevel 3 (with modifications by robbie)
> last modified June 2011
> System: Linux 2.6.32-32-generic
>
> Copyright (C) 1986-1993, 1998, 2004, 2007-2010
> Thomas Williams, Colin Kelley and many others
>
> gnuplot home: http://www.gnuplot.info
> faq, bugs, etc: type "help seeking-assistance"
> immediate help: type "help"
> plot window: hit 'h'
>
> line 0: undefined variable: GPVAL_LOAD_FILE
>
> After examining 'misc.c', I should imagine the fix to
> this problem would be straightforward.
>
> many thanks to Thomas, best wishes to all
> Robbie
>
> ------------------------------------------------------------
> To: gnu...@li...
> Subject: Re: [Gnuplot-info] name of current script
> Message-ID: <311...@ta...>
> From: Thomas Sefzick <t.s...@fz...>
> Date: Wed, 9 Mar 2011 09:03:45 -0800 (PST)
> ------------------------------------------------------------
>
>> the best place to set such a variable would be the
>> 'load_file()' routine in 'misc.c'.
>>
>> two lines need to be added there:
>>
>> --- misc.c.orig 2011-03-08 15:15:32.240304167 +0100
>> +++ misc.c 2011-03-09 18:00:13.300516216 +0100
>> @@ -215,6 +215,8 @@
>> lf_push(fp, name, NULL); /* save state for errors and recursion */
>> do_load_arg_substitution = can_do_args;
>>
>> + fill_gpval_string("GPVAL_LOAD_FILE", name);
>> +
>> if (fp == (FILE *) NULL) {
>> os_error(c_token, "Cannot open %s file '%s'",
>> can_do_args ? "call" : "load", name);
>> @@ -286,6 +288,8 @@
>> }
>> }
>>
>> + fill_gpval_string("GPVAL_LOAD_FILE", "");
>> +
>> /* pop state */
>> (void) lf_pop(); /* also closes file fp */
>> }
>>
>> Robbie Morrison wrote:
>>>
>>>
>>> Hello all
>>>
>>> It would be rather useful if the current filename was
>>> available from within a gnuplot script.
>>>
>>> This suggestion was raised in 2008 and 2009
>>> respectively:
>>>
>>>
>>> http://groups.google.com/group/comp.graphics.apps.gnuplot/browse_thread/thread/2b34fa67a0365173/8f8c63c891f59aeb?lnk=gst&q=%22current+filename%22#8f8c63c891f59aeb
>>>
>>> http://groups.google.com/group/comp.graphics.apps.gnuplot/browse_thread/thread/781545ccfbaada56/ebffa12161a37fe3?lnk=gst&q=%22get+filename%22#ebffa12161a37fe3
>>>
>>> And, AFAIK, has not been resolved.
>>>
>>> One approach might be:
>>>
>>> assume the file 'myfile.gp' contains the lines:
>>>
>>> myfile = GPVAL_LOAD_FILE
>>> print "myfile = ", myfile
>>>
>>> then entering the command:
>>>
>>> load "myfile.gp"
>>>
>>> would display either of the following -- the first
>>> being a simple echo and the second being the canonical
>>> file path:
>>>
>>> myfile = myfile.gp
>>> myfile = /path/to/myfile.gp
>>>
>>> On termination, GPVAL_LOAD_FILE would be unset.
>>>
>>> Another approach (probably too late) would have been
>>> to have the 'call' command assign the filename to $0
>>> in line with most other shell positional variable
>>> conventions.
>>>
>>> If there is a work-around, that would be good to know.
>>>
>>> best wishes
>>> Robbie
> ---
> Robbie Morrison
> PhD student -- policy-oriented energy system simulation
> Technical University of Berlin (TU-Berlin), Germany
> University email (redirected) : mor...@ie...
> Webmail (preferred) : ro...@ac...
> [from Webmail client]
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense..
> http://p.sf.net/sfu/splunk-d2d-c1
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/Re%3A-name-of-current-script-tp31928369p31944425.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Robbie M. <ro...@ac...> - 2011-06-25 21:40:13
|
Hello all, hi Thomas
I can confirm the patch from Thomas Sefzick (see below)
works for real files but not for 'stdin'. The patch
allows the name of the current script to be recovered
from within that script. I suggest the patch gets
developed a little and transferred to the gnuplot mainline.
Can someone therefore cross-post this message to the
dev list please? TIA.
The patch was tested on Ubuntu 10.04 (64-bit) / Linux
2.6.32-32-generic / gcc 4.4.3 / Intel Core i5-520M.
Here are the build calls:
$ ./configure --without-lua # 11 seconds
$ make # 35 seconds
The test script:
$ cat gpval-load-file.gp
show version
print GPVAL_LOAD_FILE
Some trials:
$ src/gnuplot gpval-load-file.gp
G N U P L O T
Version 4.4 patchlevel 3 (with modifications by robbie)
last modified June 2011
System: Linux 2.6.32-32-generic
Copyright (C) 1986-1993, 1998, 2004, 2007-2010
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help seeking-assistance"
immediate help: type "help"
plot window: hit 'h'
gpval-load-file.gp
However this patch fails if reading from 'stdin:'
$ src/gnuplot < gpval-load-file.gp
G N U P L O T
Version 4.4 patchlevel 3 (with modifications by robbie)
last modified June 2011
System: Linux 2.6.32-32-generic
Copyright (C) 1986-1993, 1998, 2004, 2007-2010
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help seeking-assistance"
immediate help: type "help"
plot window: hit 'h'
line 0: undefined variable: GPVAL_LOAD_FILE
After examining 'misc.c', I should imagine the fix to
this problem would be straightforward.
many thanks to Thomas, best wishes to all
Robbie
------------------------------------------------------------
To: gnu...@li...
Subject: Re: [Gnuplot-info] name of current script
Message-ID: <311...@ta...>
From: Thomas Sefzick <t.s...@fz...>
Date: Wed, 9 Mar 2011 09:03:45 -0800 (PST)
------------------------------------------------------------
> the best place to set such a variable would be the
> 'load_file()' routine in 'misc.c'.
>
> two lines need to be added there:
>
> --- misc.c.orig 2011-03-08 15:15:32.240304167 +0100
> +++ misc.c 2011-03-09 18:00:13.300516216 +0100
> @@ -215,6 +215,8 @@
> lf_push(fp, name, NULL); /* save state for errors and recursion */
> do_load_arg_substitution = can_do_args;
>
> + fill_gpval_string("GPVAL_LOAD_FILE", name);
> +
> if (fp == (FILE *) NULL) {
> os_error(c_token, "Cannot open %s file '%s'",
> can_do_args ? "call" : "load", name);
> @@ -286,6 +288,8 @@
> }
> }
>
> + fill_gpval_string("GPVAL_LOAD_FILE", "");
> +
> /* pop state */
> (void) lf_pop(); /* also closes file fp */
> }
>
> Robbie Morrison wrote:
>>
>>
>> Hello all
>>
>> It would be rather useful if the current filename was
>> available from within a gnuplot script.
>>
>> This suggestion was raised in 2008 and 2009
>> respectively:
>>
>>
>> http://groups.google.com/group/comp.graphics.apps.gnuplot/browse_thread/thread/2b34fa67a0365173/8f8c63c891f59aeb?lnk=gst&q=%22current+filename%22#8f8c63c891f59aeb
>>
>> http://groups.google.com/group/comp.graphics.apps.gnuplot/browse_thread/thread/781545ccfbaada56/ebffa12161a37fe3?lnk=gst&q=%22get+filename%22#ebffa12161a37fe3
>>
>> And, AFAIK, has not been resolved.
>>
>> One approach might be:
>>
>> assume the file 'myfile.gp' contains the lines:
>>
>> myfile = GPVAL_LOAD_FILE
>> print "myfile = ", myfile
>>
>> then entering the command:
>>
>> load "myfile.gp"
>>
>> would display either of the following -- the first
>> being a simple echo and the second being the canonical
>> file path:
>>
>> myfile = myfile.gp
>> myfile = /path/to/myfile.gp
>>
>> On termination, GPVAL_LOAD_FILE would be unset.
>>
>> Another approach (probably too late) would have been
>> to have the 'call' command assign the filename to $0
>> in line with most other shell positional variable
>> conventions.
>>
>> If there is a work-around, that would be good to know.
>>
>> best wishes
>> Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : mor...@ie...
Webmail (preferred) : ro...@ac...
[from Webmail client]
|
|
From: Thomas S. <t.s...@fz...> - 2011-06-25 08:56:47
|
you need to set the xranges for the whole range your x-axis is covering - including the intervall which is use by "the other" plot. if the log. part of the plot should cover 1/4 of the x-axis, then the linear xrange needs to start from -400. the log. range then should end at "10**(4*log(200))". ... set xrange [-400:2000] set xtics 200,100,2000 ... set log x set xrange [1:1.6e9] set xtics 1,10,200 chris1234 wrote: > > Hello, > > i tried to inspire me from this post :" > http://old.nabble.com/How-to-combine-a-linear-range-and-log-scale-range-in-the-same-X-axis--td31481340.html" > in order to have a log scale for a range of my data between 1:200 and > a > linear scale for a range between 200:2000. I still can't get it, here is > the > script i use : > > ----------------------------------------------------------- > set multiplot > set xrange [200:2000] > set xtics 200,100,2000 > set style line 1 linecolor rgb "black" > set key width 1.5 height 1 box linestyle 1 > plot './test_scalCls_Om_0.3_Ol_07.dat' u ($1>=200?$1:0/0):2 w l ti > "{/Symbol > W}_{m}=0.3 {/Symbol W}_{/Symbol L}=0.7",\ > "./test_neutrino_scalCls.dat" u ($1>=200?$1:0/0):2 w l ti "{/Symbol > W}_{/Symbol n}=0.12",\ > "./test_a_little_quintessence_scalCls.dat" u ($1>=200?$1:0/0):2 w l ti > "{/Symbol W}_{Q}=0.12",\ > "./wmap_7y.dat" u ($1>=200?$1:0/0):2 w l ti "wmap data"; > set xrange [1:200] > set log x > set xtics 1,10 > plot './test_scalCls_Om_0.3_Ol_07.dat' u ($1<=200?$1:0/0):2 w l ti > "{/Symbol > W}_{m}=0.3 {/Symbol W}_{/Symbol L}=0.7",\ > "./test_neutrino_scalCls.dat" u ($1<=200?$1:0/0):2 w l ti "{/Symbol > W}_{/Symbol n}=0.12",\ > "./test_a_little_quintessence_scalCls.dat" u ($1<=200?$1:0/0):2 w l ti > "{/Symbol W}_{Q}=0.12",\ > "./wmap_7y.dat" u ($1<=200?$1:0/0):2 w l ti "wmap data"; > unset multiplot > ------------------------------------------------- > > the problem is these two scales are mixing each others, i have only the > total range from 1 to 2000, and the two plots overlap. > > I tried to plot firstly the log scale ( from 1 to 200) and after the > linear > scale ( from 200 to 2000) but it still doesn't work. > > If someone could help me ... > > Regards. > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/problem-combining-log-scale-and-linear-scale-on-same-x-axis-tp31924325p31925179.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: christophe p. <chr...@gm...> - 2011-06-25 03:11:02
|
Hello, i tried to inspire me from this post :" http://old.nabble.com/How-to-combine-a-linear-range-and-log-scale-range-in-the-same-X-axis--td31481340.html" in order to have a log scale for a range of my data between 1:200 and a linear scale for a range between 200:2000. I still can't get it, here is the script i use : ----------------------------------------------------------- set multiplot set xrange [200:2000] set xtics 200,100,2000 set style line 1 linecolor rgb "black" set key width 1.5 height 1 box linestyle 1 plot './test_scalCls_Om_0.3_Ol_07.dat' u ($1>=200?$1:0/0):2 w l ti "{/Symbol W}_{m}=0.3 {/Symbol W}_{/Symbol L}=0.7",\ "./test_neutrino_scalCls.dat" u ($1>=200?$1:0/0):2 w l ti "{/Symbol W}_{/Symbol n}=0.12",\ "./test_a_little_quintessence_scalCls.dat" u ($1>=200?$1:0/0):2 w l ti "{/Symbol W}_{Q}=0.12",\ "./wmap_7y.dat" u ($1>=200?$1:0/0):2 w l ti "wmap data"; set xrange [1:200] set log x set xtics 1,10 plot './test_scalCls_Om_0.3_Ol_07.dat' u ($1<=200?$1:0/0):2 w l ti "{/Symbol W}_{m}=0.3 {/Symbol W}_{/Symbol L}=0.7",\ "./test_neutrino_scalCls.dat" u ($1<=200?$1:0/0):2 w l ti "{/Symbol W}_{/Symbol n}=0.12",\ "./test_a_little_quintessence_scalCls.dat" u ($1<=200?$1:0/0):2 w l ti "{/Symbol W}_{Q}=0.12",\ "./wmap_7y.dat" u ($1<=200?$1:0/0):2 w l ti "wmap data"; unset multiplot ------------------------------------------------- the problem is these two scales are mixing each others, i have only the total range from 1 to 2000, and the two plots overlap. I tried to plot firstly the log scale ( from 1 to 200) and after the linear scale ( from 200 to 2000) but it still doesn't work. If someone could help me ... Regards. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-06-24 18:31:22
|
On 24.06.2011 15:24, Nunzio Losacco wrote: > why is not possible to set pointinterval for a "with points" plot style? Because given the existence of 'every', there would be no point having that option. |
|
From: Nunzio L. <nun...@gm...> - 2011-06-24 13:24:11
|
Hi all, why is not possible to set pointinterval for a "with points" plot style? I can do it with "with linespoints" but would like to have an invisible connecting line in this case. Regards, NL. |
|
From: Jon <dev...@gm...> - 2011-06-24 00:41:50
|
Dear All, I think this should be a setting for running gnuplot. The help history seems to give a clue to use pipe, which does not look familiar to me. If anybody here could give some simple solution, that would be great! Thanks, Sincerely, Jon |
|
From: <mc...@gm...> - 2011-06-21 15:45:39
|
Dear gnuplot users, I spent the afternoon trying to figure out how I can manage not to cut off the numbers at the right margin which label the cbscale of my pm3d plot. set rmargin xxx to larges values doesn't change anything, set margin at screen xxx does change something, however I can't seem to get it under control. Does anybody please have any suggestion for me? Thank you so much! Yukti |
|
From: BBands <bb...@gm...> - 2011-06-20 18:28:34
|
Is this the sort of plot that you want? http://dirsig.blogspot.com/2010/11/lidar-point-cloud-visualization.html John On Mon, Jun 20, 2011 at 12:45 AM, Francois Berenger <ber...@ri...> wrote: > Dear gnuplot hackers, > > I have some file like this: > > --- > 0 1 2 7 > 1 1 2 8 > 2 1 2 9 > [...] > --- > > In fact in my file all numbers are floats > but I don't think its important to illustrate my point. > > I'd like to plot the 3 first columns as points > in 3D and use the 4th column to make their color vary. > > Is this possible? > > I tried several things and even found some close > topic in the demos (cf. third example here > http://gnuplot.sourceforge.net/demo_4.3/heatmaps.html) > but did not manage to get what I want. > > Thanks a lot, > Francois. |
|
From: Francois B. <ber...@ri...> - 2011-06-20 07:46:06
|
Dear gnuplot hackers, I have some file like this: --- 0 1 2 7 1 1 2 8 2 1 2 9 [...] --- In fact in my file all numbers are floats but I don't think its important to illustrate my point. I'd like to plot the 3 first columns as points in 3D and use the 4th column to make their color vary. Is this possible? I tried several things and even found some close topic in the demos (cf. third example here http://gnuplot.sourceforge.net/demo_4.3/heatmaps.html) but did not manage to get what I want. Thanks a lot, Francois. |
|
From: Gareth W. <g.w...@sh...> - 2011-06-15 16:59:30
|
On 15 Jun 2011, at 17:42, BBands wrote: > I tend to do a lot of preprocessing, so finding things like yrange > before hand is not hard. Maybe this might help: Could you guess the > proper y increment from the file size? Great idea. I'll try to write something in the script find the bin with the most values (awk, maybe?), and then calculate an appropriate ytics increment value from that. Best wishes, Gareth |
|
From: BBands <bb...@gm...> - 2011-06-15 16:43:04
|
I tend to do a lot of preprocessing, so finding things like yrange
before hand is not hard. Maybe this might help: Could you guess the
proper y increment from the file size?
jab
On Wed, Jun 15, 2011 at 9:32 AM, Gareth Walker <g.w...@sh...> wrote:
>
> On 15 Jun 2011, at 17:08, BBands wrote:
>
>> The ternary operator allows conditional plotting.
>>
>> 'help ternary'
>> 'help plot using'
>>
>> Ethan helped me with a rather elegant example of this that you can see
>> in finance.dem.
>>
>> Why not pass the increment for 'set ytics' in from your bash script?
>
> thanks for this. I am thinking of ways I can get my script to do this. The problem that immediately comes to mind there is that I would need to know the yrange maximum in order to calculate the appropriate increment. But of course the yrange is calculated each time by Gnuplot, not by bash. But I will keep trying. I'll also try to make sense of the ternary operators
>
> Best wishes,
>
> Gareth
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
|
|
From: Gareth W. <g.w...@sh...> - 2011-06-15 16:32:44
|
On 15 Jun 2011, at 17:08, BBands wrote: > The ternary operator allows conditional plotting. > > 'help ternary' > 'help plot using' > > Ethan helped me with a rather elegant example of this that you can see > in finance.dem. > > Why not pass the increment for 'set ytics' in from your bash script? thanks for this. I am thinking of ways I can get my script to do this. The problem that immediately comes to mind there is that I would need to know the yrange maximum in order to calculate the appropriate increment. But of course the yrange is calculated each time by Gnuplot, not by bash. But I will keep trying. I'll also try to make sense of the ternary operators Best wishes, Gareth |
|
From: BBands <bb...@gm...> - 2011-06-15 16:11:22
|
The ternary operator allows conditional plotting.
'help ternary'
'help plot using'
Ethan helped me with a rather elegant example of this that you can see
in finance.dem.
Why not pass the increment for 'set ytics' in from your bash script?
jab
On Wed, Jun 15, 2011 at 8:55 AM, Gareth Walker <g.w...@sh...> wrote:
>
> On 15 Jun 2011, at 16:49, BBands wrote:
>
>> Try 'set ytics 1'.
>
> That works great if there are only a few people taking the exam, but when there are lots of people taking it that frequency doesn't work (too many labels).
>
> Best wishes,
>
> Gareth
>
> --
> Dr. Gareth Walker
> School of English Literature, Language and Linguistics
> University of Sheffield
> Jessop West
> 1 Upper Hanover Street
> Sheffield
> S3 7RA
>
> email: g.walker at sheffield.ac.uk
> tel: 0114 2220238
> homepage: http://gareth-walker.staff.shef.ac.uk/
>
>
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
|
|
From: Gareth W. <g.w...@sh...> - 2011-06-15 15:55:54
|
On 15 Jun 2011, at 16:49, BBands wrote: > Try 'set ytics 1'. That works great if there are only a few people taking the exam, but when there are lots of people taking it that frequency doesn't work (too many labels). Best wishes, Gareth -- Dr. Gareth Walker School of English Literature, Language and Linguistics University of Sheffield Jessop West 1 Upper Hanover Street Sheffield S3 7RA email: g.walker at sheffield.ac.uk tel: 0114 2220238 homepage: http://gareth-walker.staff.shef.ac.uk/ |
|
From: BBands <bb...@gm...> - 2011-06-15 15:52:45
|
Try 'set ytics 1'.
jab
On Wed, Jun 15, 2011 at 8:33 AM, Gareth Walker <g.w...@sh...> wrote:
>
> On 15 Jun 2011, at 16:21, BBands wrote:
>
> Yes, see 'help set xtics'. It is the increment argument that you want
> and there are examples in the text that should serve.
>
> set ytics 0, 1, 10
>
>
> Thanks for this. But the problem with this method (if I have understood it
> correctly) is that I would then have to specify the start, frequency and end
> values myself for each graph. Since I will be plotting a lot of graphs I
> was hoping for a way to have Gnuplot work these things out for me
> automatically, but simply omit labels (not so bothered about tics) between
> whole numbers.
> Best wishes,
> Gareth
>
>
> --
> Dr. Gareth Walker
> School of English Literature, Language and Linguistics
> University of Sheffield
> Jessop West
> 1 Upper Hanover Street
> Sheffield
> S3 7RA
>
> email: g.walker at sheffield.ac.uk
> tel: 0114 2220238
> homepage: http://gareth-walker.staff.shef.ac.uk/
>
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
|
|
From: Gareth W. <g.w...@sh...> - 2011-06-15 15:44:37
|
On 15 Jun 2011, at 16:35, BBands wrote: > There is another way as well. See 'help set format', which lets you > use printf formatting. Something like "set format y "%2.0f" might be > what you want. > > jab > Thanks again for this. Someone proposed something like this off-list, which I have been playing around with. This method does indeed remove the decimal from the label. By rounding the number instead! So several of the labels are duplicated (0.5 becomes 0, 1.5 becomes 2, 2.5 becomes 2, etc). Best wishes, Gareth -- Dr. Gareth Walker School of English Literature, Language and Linguistics University of Sheffield Jessop West 1 Upper Hanover Street Sheffield S3 7RA email: g.walker at sheffield.ac.uk tel: 0114 2220238 homepage: http://gareth-walker.staff.shef.ac.uk/ |
|
From: BBands <bb...@gm...> - 2011-06-15 15:36:03
|
There is another way as well. See 'help set format', which lets you
use printf formatting. Something like "set format y "%2.0f" might be
what you want.
jab
On Wed, Jun 15, 2011 at 7:23 AM, Gareth Walker <g.w...@sh...> wrote:
> Dear all,
>
> I have written a bash script which uses gnuplot to plot histograms of student performance in exams. Different exams have very different number of students (from a handful to hundreds), but gnuplot handles this nicely left to its own devices with commands like this:
>
> set yrange [0:*]
> set ytics axis font 'Arial,16'
>
> The interval between tics and labels adjusts in line with the number of students (bigger interval for lots of students, smaller gap when there aren't as many). Great. Except when the number of students is small. In this case, the labels on the y axis might appear with decimals e.g. with labels at 0, 0.5, 1.5... Of course, this doesn't make much sense as there can't be half a student. Is there any way I can stop gnuplot ever plotting labels with an interval of less than 1, without manually specifying the interval in every case?
>
> Many thanks,
>
> Gareth
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
|
|
From: Gareth W. <g.w...@sh...> - 2011-06-15 15:33:35
|
On 15 Jun 2011, at 16:21, BBands wrote: > Yes, see 'help set xtics'. It is the increment argument that you want > and there are examples in the text that should serve. > > set ytics 0, 1, 10 Thanks for this. But the problem with this method (if I have understood it correctly) is that I would then have to specify the start, frequency and end values myself for each graph. Since I will be plotting a lot of graphs I was hoping for a way to have Gnuplot work these things out for me automatically, but simply omit labels (not so bothered about tics) between whole numbers. Best wishes, Gareth > -- Dr. Gareth Walker School of English Literature, Language and Linguistics University of Sheffield Jessop West 1 Upper Hanover Street Sheffield S3 7RA email: g.walker at sheffield.ac.uk tel: 0114 2220238 homepage: http://gareth-walker.staff.shef.ac.uk/ |
|
From: BBands <bb...@gm...> - 2011-06-15 15:24:34
|
Yes, see 'help set xtics'. It is the increment argument that you want
and there are examples in the text that should serve.
set ytics 0, 1, 10
jab
On Wed, Jun 15, 2011 at 7:23 AM, Gareth Walker <g.w...@sh...> wrote:
> Dear all,
>
> I have written a bash script which uses gnuplot to plot histograms of student performance in exams. Different exams have very different number of students (from a handful to hundreds), but gnuplot handles this nicely left to its own devices with commands like this:
>
> set yrange [0:*]
> set ytics axis font 'Arial,16'
>
> The interval between tics and labels adjusts in line with the number of students (bigger interval for lots of students, smaller gap when there aren't as many). Great. Except when the number of students is small. In this case, the labels on the y axis might appear with decimals e.g. with labels at 0, 0.5, 1.5... Of course, this doesn't make much sense as there can't be half a student. Is there any way I can stop gnuplot ever plotting labels with an interval of less than 1, without manually specifying the interval in every case?
>
> Many thanks,
>
> Gareth
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
|
|
From: Gareth W. <g.w...@sh...> - 2011-06-15 14:23:14
|
Dear all, I have written a bash script which uses gnuplot to plot histograms of student performance in exams. Different exams have very different number of students (from a handful to hundreds), but gnuplot handles this nicely left to its own devices with commands like this: set yrange [0:*] set ytics axis font 'Arial,16' The interval between tics and labels adjusts in line with the number of students (bigger interval for lots of students, smaller gap when there aren't as many). Great. Except when the number of students is small. In this case, the labels on the y axis might appear with decimals e.g. with labels at 0, 0.5, 1.5... Of course, this doesn't make much sense as there can't be half a student. Is there any way I can stop gnuplot ever plotting labels with an interval of less than 1, without manually specifying the interval in every case? Many thanks, Gareth |
|
From: Thomas S. <t.s...@fz...> - 2011-06-14 08:28:42
|
add a 'newline':
fprintf(Gplt,"plot '/home/mk/nh1.dat' using 100 with lines\n");
freude wrote:
>
> Hello everyone,
>
> I am trying to call gnuplot in c++ code using pipe in linux. There is no
> errors during compilation, building and execution. However, window with
> the plot does not appear. Below is the code.
>
> FILE* Gplt = popen("gnuplot -persist","w");
> fprintf(Gplt,"plot '/home/mk/nh1.dat' using 100 with lines");
> pclose(Gplt);
>
> What is the possible reason of such behaviour?
>
--
View this message in context: http://old.nabble.com/gnuplot-doesn%27t-plot-from-pipe-tp31834019p31840809.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|