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: Paulo J. M. <poc...@gm...> - 2011-03-31 10:34:28
|
On 29/03/11 19:54, Thomas Sefzick wrote: > > so you want to mix the data of the two files, this can be > done by using the pseudocolumn "0": > > plot 'data.dat' using ($0*2):2:xtic(1) with linespoints, \ > 'data1.dat' using ($0*2+1):2:xtic(1) with points > > Thanks Thomas, I don't know why that works but it does!!! |
|
From: dpwes <dp...@ho...> - 2011-03-30 16:26:28
|
Hi, I was just wondering whether there was any way of exporting the interactive terminal window created with the splot command? Basically, I have a 3D scatter plot that I'm rotating with my mouse, and I'd like to send it to someone who doesn't have gnuplot installed. Is this possible? -- View this message in context: http://old.nabble.com/Exporting-a-3D-interactive-plot-tp31278721p31278721.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-03-30 12:08:39
|
or construct a command string and execute it:
f = "/path/file.dat"
s = 'echo $(awk ''/Total/ {print $4}'' '.f.')'
a = system(s)
print a
atoms.h wrote:
>
> Hey guy,
>
> I'm trying to integrate shell commands to a gnuplot script. Partly it
> works to the point that I can get values from a shell command to a gnuplot
> variable like this:
>
> scaledata1 = `echo $(awk '/Total/ {print $4}' /path/file.dat)`
>
> Now scaledata1 in gnuplot has the value awk was looking for in file.dat.
> That's great! But what I would like to do is define /path/file.dat as a
> variable in gnuplot and use is in that argument like:
>
> source = "/path/file.dat"
> scaledata1 = `echo $(awk '/Total/ {print $4}' source)`
>
> However, this doesn't work. Also I tried @source.
>
> Any ideas are much appreciated!
> Thomas
>
--
View this message in context: http://old.nabble.com/passing-arguments-to-shell-and-back-from-gnuplot-tp31274799p31276524.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2011-03-30 10:49:20
|
does
set macro
source = "/path/file.dat"
scaledata1 = `awk '/Total/ {print $4}' @source`
work?
atoms.h wrote:
>
> Hey guy,
>
> I'm trying to integrate shell commands to a gnuplot script. Partly it
> works to the point that I can get values from a shell command to a gnuplot
> variable like this:
>
> scaledata1 = `echo $(awk '/Total/ {print $4}' /path/file.dat)`
>
> Now scaledata1 in gnuplot has the value awk was looking for in file.dat.
> That's great! But what I would like to do is define /path/file.dat as a
> variable in gnuplot and use is in that argument like:
>
> source = "/path/file.dat"
> scaledata1 = `echo $(awk '/Total/ {print $4}' source)`
>
> However, this doesn't work. Also I tried @source.
>
> Any ideas are much appreciated!
> Thomas
>
--
View this message in context: http://old.nabble.com/passing-arguments-to-shell-and-back-from-gnuplot-tp31274799p31275924.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-03-29 19:11:50
|
On 29.03.2011 19:07, lyn...@fr... wrote: > I'm looking for a command line plotter. The gnuplot term dumb is basically it but is there a way to make it use ncurses for nicer/coloured plots? No. There would be a way to write a completely new terminal driver, aptly called 'curses', to do that, though. The only question is the usual one: who's gonna volunteer? |
|
From: Thomas S. <t.s...@fz...> - 2011-03-29 18:54:38
|
so you want to mix the data of the two files, this can be done by using the pseudocolumn "0": plot 'data.dat' using ($0*2):2:xtic(1) with linespoints, \ 'data1.dat' using ($0*2+1):2:xtic(1) with points Paulo J. Matos wrote: > > Thanks to Hans who just pointed out that I wrote my requirements > incorrectly. What I meant was: > "However, I want the xtics to be equally spaced. So, 1000 should be _not_ > further from 1200 than 1500 from 1550. > > 2011/3/28 Paulo J. Matos <poc...@gm...>: >> Hi, thanks very much. >> >> The problem with that solution is that it doesn't meet the following >> requirement: >> "However, I want the xtics to be equally spaced. So, 1000 should be >> further from 1200 than 1500 from 1550." >> >> So, for example, only the tics for 1000, 1200, 1500, 1550, 1600 and >> 1750 should show up. >> Then the line graph for data.dat would have a point in 1000, 1500 and >> 1750. There would then be 3 points for data1.dat in 1550, 1600 and >> 1750. >> >> I am sorry if I wasn't initially very explicit. >> >> Cheers, >> >> -- >> PMatos >> >> 2011/3/28 Hans-Bernhard Bröker <HBB...@t-...>: >>> On 28.03.2011 16:18, Paulo J. Matos wrote: >>> >>>> I have tried: >>>> set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) >>>> plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using >>>> 2:xtic(1) with points >>> >>> Looks like you're trying way too hard. From what you said you wanted, a >>> much simpler >>> >>> plot 'data.dat' u 1:2 w lp, 'data1.dat' u 1:2 w p >>> >>> would have fit the bill. >>> >> >> >> >> -- >> PMatos >> > > > > -- > PMatos > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and publish > your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/lines-and-points-from-discrete-data-tp31258709p31270536.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <lyn...@fr...> - 2011-03-29 17:16:32
|
Hello! Is there a way to use gnuplot to do monitoring plots, i.e. to do repetitive plotting? In other words a "tail -f" that does not print the line but extends a plot of the data as new dataset come in? Say for monitoring the temperature of the CPU for the last N measurements optainted by: while true; do cat /proc/acpi/thermal_zone/THRC/temperature ; sleep 1; done Thanks for any help or hints Lynx |
|
From: <lyn...@fr...> - 2011-03-29 17:07:51
|
Hello! I'm looking for a command line plotter. The gnuplot term dumb is basically it but is there a way to make it use ncurses for nicer/coloured plots? Is there a way to generate plots like those of wavemon (http://eden-feed.erg.abdn.ac.uk/wavemon/img/wavemon2.png)? If not, does anybody know of a utility that could do this? Thanks for any help or hints Lynx |
|
From: Keith L. <ke...@kl...> - 2011-03-29 03:08:40
|
List newbie. I use gnuplot (running on Scientific Linux 5.4) to make lots of png files. Gnuplot uses the libgd library for that. Libgd has received no development since 2007 or so. www.libgd.org has been offline for at least a week (when I started looking for it). I am concerned that this important component of gnuplot is unsupported. As the underlying dependencies for libgd evolve, it may stop working, and gnuplot will be crippled. Hoping to minimize future dependency conflicts for gnuplot, I tried to compile it statically, but I am not very good at tweaking configure scripts and makefiles. All my attempts produced the normal version, linked to about 30 external libraries, including libgd.so.2 . I can probably figure out a way to copy a working set of these libraries to another directory, and recompile for those, but this is becoming a lot of work to get around a hypothetical risk. Still, I want to protect my gnuplot (and libgd) investments. Have gnuplot developers (*) thought about what would happen if libgd went away? If the PHP developers (**) aren't doing anything with libgd, is it time for some other group (hint) to take over its development? Keith (*) ob. praise: Thank you for your fine work on gnuplot! (**) ob. sneer: PHP, the public bathhouse orgy of programming languages. (***) ob scold: Shame on me! -- Keith Lofstrom ke...@ke... Voice (503)-520-1993 KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon" Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs |
|
From: BBands <bb...@gm...> - 2011-03-28 21:12:28
|
Maybe I am misunderstanding, but gnuplot offers very powerful control
over tics and labeling. See help set xtics. This is sort of a common
problem in finance where we want trading days to be equidistant, not
calendar days. There is a simple example in my finance demo in the
demos directory.
John
|
|
From: Paulo J. M. <poc...@gm...> - 2011-03-28 20:50:39
|
Thanks to Hans who just pointed out that I wrote my requirements incorrectly. What I meant was: "However, I want the xtics to be equally spaced. So, 1000 should be _not_ further from 1200 than 1500 from 1550. 2011/3/28 Paulo J. Matos <poc...@gm...>: > Hi, thanks very much. > > The problem with that solution is that it doesn't meet the following > requirement: > "However, I want the xtics to be equally spaced. So, 1000 should be > further from 1200 than 1500 from 1550." > > So, for example, only the tics for 1000, 1200, 1500, 1550, 1600 and > 1750 should show up. > Then the line graph for data.dat would have a point in 1000, 1500 and > 1750. There would then be 3 points for data1.dat in 1550, 1600 and > 1750. > > I am sorry if I wasn't initially very explicit. > > Cheers, > > -- > PMatos > > 2011/3/28 Hans-Bernhard Bröker <HBB...@t-...>: >> On 28.03.2011 16:18, Paulo J. Matos wrote: >> >>> I have tried: >>> set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) >>> plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using >>> 2:xtic(1) with points >> >> Looks like you're trying way too hard. From what you said you wanted, a >> much simpler >> >> plot 'data.dat' u 1:2 w lp, 'data1.dat' u 1:2 w p >> >> would have fit the bill. >> > > > > -- > PMatos > -- PMatos |
|
From: Paulo J. M. <poc...@gm...> - 2011-03-28 20:31:57
|
Hi, thanks very much. The problem with that solution is that it doesn't meet the following requirement: "However, I want the xtics to be equally spaced. So, 1000 should be further from 1200 than 1500 from 1550." So, for example, only the tics for 1000, 1200, 1500, 1550, 1600 and 1750 should show up. Then the line graph for data.dat would have a point in 1000, 1500 and 1750. There would then be 3 points for data1.dat in 1550, 1600 and 1750. I am sorry if I wasn't initially very explicit. Cheers, -- PMatos 2011/3/28 Hans-Bernhard Bröker <HBB...@t-...>: > On 28.03.2011 16:18, Paulo J. Matos wrote: > >> I have tried: >> set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) >> plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using >> 2:xtic(1) with points > > Looks like you're trying way too hard. From what you said you wanted, a > much simpler > > plot 'data.dat' u 1:2 w lp, 'data1.dat' u 1:2 w p > > would have fit the bill. > -- PMatos |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-03-28 19:51:40
|
On 28.03.2011 16:18, Paulo J. Matos wrote: > I have tried: > set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) > plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using > 2:xtic(1) with points Looks like you're trying way too hard. From what you said you wanted, a much simpler plot 'data.dat' u 1:2 w lp, 'data1.dat' u 1:2 w p would have fit the bill. |
|
From: Thomas S. <t.s...@fz...> - 2011-03-28 15:37:13
|
add the column with the x-values to the 'using' option: plot 'data.dat' using 1:2:xtic(1) with linespoints, \ 'data1.dat' using 1:2:xtic(1) with point Paulo J. Matos wrote: > > Hi, > > I have the following: > data.dat > 1000 5 > 1500 4 > 1750 9 > > data1.dat > 1200 2 > 1550 8 > 1600 6 > > I want to plot data.dat as a line and data1 as points. > However, I want the xtics to be equally spaced. So, 1000 should be > further from 1200 than 1500 from 1550. > > I have tried: > set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) > plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using > 2:xtic(1) with points > > but to no avail. > > Any tips on how to get this done? > > Cheers, > -- > PMatos > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/lines-and-points-from-discrete-data-tp31258709p31259483.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Paulo J. M. <poc...@gm...> - 2011-03-28 14:19:10
|
Hi, I have the following: data.dat 1000 5 1500 4 1750 9 data1.dat 1200 2 1550 8 1600 6 I want to plot data.dat as a line and data1 as points. However, I want the xtics to be equally spaced. So, 1000 should be further from 1200 than 1500 from 1550. I have tried: set xtics (1000 1, 1200 2, 1500 3, 1550 4, 1600 5, 1750 6) plot 'data.dat' using 2:xtic(1) with linespoints, 'data1.dat' using 2:xtic(1) with points but to no avail. Any tips on how to get this done? Cheers, -- PMatos |
|
From: Thomas S. <t.s...@fz...> - 2011-03-25 13:02:36
|
version 4.0.0 is too old.
the 'using' options '{x|y|z}ticlabels(<col>)' appeared in 4.2.0
Juan-Francisco Diez wrote:
>
> Hi everybody,
>
> I install gnuplot under CentOS 5.5 using yum. The version installed is :
>
> gnuplot> show version
>
> G N U P L O T
> Version 4.0 patchlevel 0
> last modified Thu Apr 15 14:44:22 CEST 2004
> System: Linux 2.6.18-194.el5
>
> Copyright (C) 1986 - 1993, 1998, 2004
> Thomas Williams, Colin Kelley and many others
>
> This is gnuplot version 4.0. Please refer to the documentation
> for command syntax changes. The old syntax will be accepted
> throughout the 4.0 series, but all save files use the new syntax.
>
> Type `help` to access the on-line reference manual.
> The gnuplot FAQ is available from
> http://www.gnuplot.info/faq/
>
> Send comments and requests for help to
> <gnu...@li...>
> Send bugs, suggestions and mods to
> <gnu...@li...>
>
> When I try to use the xtic() function, gnuplot return:
>
> gnuplot> plot "temp.txt" using 1:3:xtic(2) with boxes
> undefined function: xtic
>
> The instructions I use are:
>
> gnuplot> set terminal png
> gnuplot> set output "temp.png"
> gnuplot> plot "temp.txt" using 1:3:xtic(2) with boxes
>
> The question is: What xtic() function doesn't work?
>
> I see that perhaps it's because the package it's not compile with this
> option enable but reading the INSTALL file I can't see any option about
> tics.
>
> I hope someone can help me with this trouble.
>
> Fransua
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/xticlabels%28%29-tp31237200p31237696.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Juan-Francisco D. <mo...@gm...> - 2011-03-25 11:59:45
|
Hi everybody,
I install gnuplot under CentOS 5.5 using yum. The version installed is :
gnuplot> show version
G N U P L O T
Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: Linux 2.6.18-194.el5
Copyright (C) 1986 - 1993, 1998, 2004
Thomas Williams, Colin Kelley and many others
This is gnuplot version 4.0. Please refer to the documentation
for command syntax changes. The old syntax will be accepted
throughout the 4.0 series, but all save files use the new syntax.
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from
http://www.gnuplot.info/faq/
Send comments and requests for help to
<gnu...@li...>
Send bugs, suggestions and mods to
<gnu...@li...>
When I try to use the xtic() function, gnuplot return:
gnuplot> plot "temp.txt" using 1:3:xtic(2) with boxes
undefined function: xtic
The instructions I use are:
gnuplot> set terminal png
gnuplot> set output "temp.png"
gnuplot> plot "temp.txt" using 1:3:xtic(2) with boxes
The question is: What xtic() function doesn't work?
I see that perhaps it's because the package it's not compile with this
option enable but reading the INSTALL file I can't see any option about
tics.
I hope someone can help me with this trouble.
Fransua
|
|
From: Vik R. <vi...@mi...> - 2011-03-23 17:39:08
|
I'm getting the following error message:
warning: No usable data in this plot to auto-scale axis range
z axis range undefined or overflow
Here is the data file:
0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 1 1 1 0
3 0 0 0 1 0 0 0 0 0 0 0 0
4 0 0 1 0 2 0 1 0 0 1 0 0
5 0 1 0 0 2 1 2 0 3 2 2 0
6 0 1 1 2 7 7 3 5 4 3 0 0
7 0 2 4 1 6 3 12 6 3 7 0 0
8 0 1 2 3 6 3 6 9 7 4 1 0
9 0 6 3 1 2 2 4 2 7 4 0 0
10 0 2 2 2 1 5 5 7 2 5 0 0
11 0 0 0 0 0 0 0 0 0 0 0 0
Here are the commands:
===START OF COMMAND FILE===
unset surface
unset key
set view map
set pm3d
set palette defined (0 'black', 1 'gray30', 1.5 'gray40', 1.26315789474 'dark-green', 3.15789473684 '#dac000', 3.78947368421 '#fee000', 4.73684210526 '#fc7a00', 5.68421052632 '#ff8000', 8.52631578947 '#ff5a00', 11.3328947368 'orange-red', 11.5552631579 '#ff0000', 12 'dark-red')
set cbrange [0:13]
set output '/chart10.jpg'
set term jpeg size 600, 600 enhanced font '/Library/Fonts/Arial.ttf' 8 x000000 xffffff
set dgrid3d 200,200 splines
set size square
set xtics("" 1, "Day 0" 2, "1-3 days" 3, "4-6 days" 4, "1 week" 5, "2 weeks" 6, "3 weeks" 7, "1 month" 8, "2-3 mos" 9, "4-6 mos" 10, "7-12+ mos" 11 )
unset label
unset title
set label '{/=16 Chart Title}' at 6.5, 11.25 center offset 0, 0.5
set xtics out nomirror
set ytics out nomirror
set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11)
set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11)
set xrange [0:12] reverse
set yrange [0:11]
splot [1:] '/dataFileKey_10' matrix
replot
===END OF COMMAND FILE
I don't usually get an error running these commands on other data sets. How can I correct this?
Thanks very much in advance to all for any info.
Best,
-Vik
|
|
From: Robbie M. <ro...@ac...> - 2011-03-22 10:37:43
|
Hello all
First up, thanks Vinod for your suggestion of a bash
wrapper script.
Please note the following corrections: exho is echo,
the OUT assignment (righthand-side) should be in
backticks (`) not single-quotes ('), --persist should
be -persist.
I reworked the original script and tested it on Linux
plus Gnuplot 4.2 patchlevel 6:
--- src begin / bash --------
#! /bin/bash
# usage message (optional)
case "$1" in
--help|--hel|--he|--h|-help|-hel|-he|-h|"-?")
SCRIPT=$(basename "$0")
echo " usage: $SCRIPT <gnuplot-cmds> create LOADFILE string
and load gnuplot-cmds file"
echo " $SCRIPT --help show this message and exit"
exit 0
;;
"")
SCRIPT=$(basename "$0")
echo "$SCRIPT: gnuplot file name required (try --help for usage)"
exit 2
esac
# active code
ARG1=$(basename "$1") # adapt these next two lines to
your needs
ARG1="$PWD/$ARG1"
echo "LOADFILE = \"$ARG1\"; load '$1'" | gnuplot -persist
----src end -----------------
And tested it with the following gnuplot code:
--- src begin / gnuplot -----
set title "source : " . LOADFILE # 'LOADFILE' is set by invoking
script
plot sin(x)
--- src end -----------------
best wishes
Robbie
---
> ------------------------------------------------------------
> To: gnu...@li...
> Subject: Re: [Gnuplot-info] name of current script
> Message-ID: <311...@ta...>
> From: vinodkgul <vin...@ya...>
> Date: Sun, 20 Mar 2011 08:00:39 -0700 (PDT)
> ------------------------------------------------------------
>
> Hi,
>
> You can use the shell scrip As follows:
> 1st file--> gnuplot_file_print.sh
> exho $1
> OUT='echo $1 | cut -d "." -f1'
> echo "set label 101 ' Path: `pwd` Filename : $OUT' ; load '$1' " |
gnuplot --persist
>
> say test.gnu is the file containing the plot commands then from prompt use
> following :
>
> sh gnuplot_file_print.sh test.gnu
>
> Vinod
>
> Robbie Morrison wrote:
>>
>>
>> Hello all
>>
>> It would be rather useful if the current filename was
>> available from within a gnuplot script.
>>
>> [snip - original posting]
---
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: Marco <mca...@gm...> - 2011-03-21 11:50:18
|
Dear all,
I'm trying to insert the symbol & in a figure but it seems that this is the only
symbol not allowed.
I tried
[...]
set encoding utf8 or set encoding iso_8859_1
[...]
plot '../PLOT_MB_data/Igap_diff_He' using 2:1 with points title "{/=14 Adiabatic
ic {\046} bus }" ls 1
or alternatively
plot '../PLOT_MB_data/Igap_diff_He' using 2:1 with points title "{/=14 Adiabatic
ic {/Symbol &} bus }" ls 1
but nothing works.
This seems strange to me since all the other symbols I tried (\044 \045 and
other) worked well.
Is it a bug?
Please let me know,
Marco
|
|
From: Jonas S. <ne...@jo...> - 2011-03-21 08:40:19
|
hi, i want to generate plots with gnuplot and embed them in LaTeX. Do you have hints for nice settings, that improve the look? Do you know standards, i should read? For example DIN 461 about plots in coordinate systems. I want that the plots integrate nice in the text body. So i have to get same font and line thickness in the plot. Do you know examples of very well designed plots? kind regards, -- Jonas Stein <ne...@jo...> |
|
From: Navin <rus...@ya...> - 2011-03-21 07:55:19
|
Hi All, I have data of the form 0 C lower higher H lower higher AAA 0.002677 0.0024 0.0028 0.002888 0.0026 0.0030 GGG 0.002677 0.0024 0.0028 0.002888 0.0026 0.0030 I wanted to make a clusted bar plot using gnuplot in which column C and H are clustered together and the lower and high column are the lower and higher limits of the yerrorbars. I have tried playing around with sample files for clustered bar plots available on the internet but did not succeed. ANy help would be greatly appreciated. Thanks, Navin |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-03-21 01:24:44
|
On 16.03.2011 15:42, Edward Nately wrote: > and tried many variations of pm3d, splot, and plot with lt, but have been > unsuccessful. You should probably start by updating from your rather far out-of-date version of gnuplot. You're almost 7 years behind the bus! A lot has happened since then. Once that is settled, consider being more specific. What did you actually try, and how exactly was it unsuccessful? |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-03-21 01:16:12
|
On 19.03.2011 19:44, Dmitrij Jaworski wrote: > The data-processing program I use is gnuplot. That may not be the right tool for the job. gnuplot is a plotting program, not a data processing engine. It does offer some data processing as an aid for the plotting work, but it's not supposed to replace an actual data management tool. > I would like to ask you if it is possible, when fitting, to establish > certain relationships between parameters. No. But you can re-define your parameters such that such relations are automatically taken care of. > For example: for the > fitting, I use a function f (x) = a + b * x and parameter 'a' must > be> -3b (larger than -3b). So fit f(x)= (a_internal**2-3b) + b * x then extract the actual a from sqrt(a_internal) I'll be very grateful for the help. > Sincerely. |
|
From: vinodkgul <vin...@ya...> - 2011-03-20 15:00:47
|
Hi, You can use the shell scrip As follows: 1st file--> gnuplot_file_print.sh exho $1 OUT='echo $1 | cut -d "." -f1' echo "set label 101 ' Path: `pwd` Filename : $OUT' ; load '$1' " |gnuplot --persist say test.gnu is the file containing the plot commands then from prompt use following : sh gnuplot_file_print.sh test.gnu Vinod 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] > > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/name-of-current-script-tp31095884p31194288.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |