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: Ethan A M. <EAM...@gm...> - 2015-01-11 05:32:15
|
On Friday, 09 January 2015 10:13:41 PM David Lang wrote:
> On Fri, 9 Jan 2015, Ethan A Merritt wrote:
>
> > On Friday, 09 January 2015 02:14:27 PM David Lang wrote:
> >> I ran into a case that worked with v4.x that doesn't work with v5, namely when
> >> plotting points from a file where the x column is a timestamp and the file had
> >> column headers, v4 seems to have ignored the header column (apparently deciding
> >> that the timestamp was invalid and so throwing out the entire line), while v5
> >> interprets the timestamp as 01-01-0000 and scaleing the entire plot to include
> >> this date.
> >
> >> I just was surprised when the plot that was working on my production
> >> system didn't work on my desktop (where I had installed 5.0). If this
> >> wasn't something that worked on the older versions, I would just shrug
> >> it off as "don't do that", but the fact that it broke a working config
> >> made me post about it.
> >
> > Can you provide the first few lines from a data file that was handled
> > differently by version 4 than by version 5?
>
> site_name|day|num_assets
> AMS|2014-12-09|596
>
> where column 2 is the x axis with timefmt "%Y-%m-%d"
>
> stripping out the first line made it work in v5
I can't reproduce this from the information given.
For me it works in both gnuplot 4.6.6 and gnuplot 5.0.0.
I used the following test script:
set datafile sep '|'
set xdata time
set timefmt '%Y-%m-%d'
plot 'timebug.dat' using 2:3:1 with labels
where 'timebug.dat' contained the two lines above.
Here is the v5 output with 'set term dumb'
602 +-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+
+ + + + + + + + + + + + +
| 'timebug.dat' using 2:3:1 |
600 +-+ +-+
| |
| |
598 +-+ +-+
| |
| |
596 +-+ AMS +-+
| |
| |
| |
594 +-+ +-+
| |
| |
592 +-+ +-+
| |
+ + + + + + + + + + + + +
590 +-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+
06/01/14/01/1401/14/01/14/01/14/01/14/01/1401/15/01/1501/15/01/15/01/15/01/15
Ethan
|
|
From: David L. <da...@la...> - 2015-01-10 06:13:50
|
On Fri, 9 Jan 2015, Ethan A Merritt wrote: > On Friday, 09 January 2015 02:14:27 PM David Lang wrote: >> I ran into a case that worked with v4.x that doesn't work with v5, namely when >> plotting points from a file where the x column is a timestamp and the file had >> column headers, v4 seems to have ignored the header column (apparently deciding >> that the timestamp was invalid and so throwing out the entire line), while v5 >> interprets the timestamp as 01-01-0000 and scaleing the entire plot to include >> this date. > >> I just was surprised when the plot that was working on my production >> system didn't work on my desktop (where I had installed 5.0). If this >> wasn't something that worked on the older versions, I would just shrug >> it off as "don't do that", but the fact that it broke a working config >> made me post about it. > > Can you provide the first few lines from a data file that was handled > differently by version 4 than by version 5? site_name|day|num_assets AMS|2014-12-09|596 where column 2 is the x axis with timefmt "%Y-%m-%d" stripping out the first line made it work in v5 > It is true that the interpretation of timestamps has changed > because version 5 uses a different epoch date, but a zero value should > be legal in either version. It's not clear to me why there > would be a difference in recognizing a line as a header vs legal input. > > Also I don't actually see how you could get incorrect interpretation > as 01-01-0000. That's the epoch date for version 4 but not for version 5 > (01-01-1970). Was that a typo? it could be that I was looking on the wrong machine when I found that date. I wrapped the plot with table output to look and see what was wrong. valid dates went from 2014-12-09 to 2015-01-08 and on v4.4 (ubuntu 12.04) the produced plot was correct, but with the exact same files running on v5 the plot went from year -400 or so up to year 2400 or so (I can recreate this exactly on monday, including sending you the files) looking at it now, it could be that I am seeing the wrong thing with the date, it could be that both of them were misinterpreting the date, but the old one saw the values were not numbers and didn't plot them while the new one converted the string to zero???? (wild speculation here until I can reproduce it at work monday) David Lang > Ethan > |
|
From: Ethan A M. <EAM...@gm...> - 2015-01-10 05:16:12
|
On Friday, 09 January 2015 02:14:27 PM David Lang wrote: > I ran into a case that worked with v4.x that doesn't work with v5, namely when > plotting points from a file where the x column is a timestamp and the file had > column headers, v4 seems to have ignored the header column (apparently deciding > that the timestamp was invalid and so throwing out the entire line), while v5 > interprets the timestamp as 01-01-0000 and scaleing the entire plot to include > this date. > I just was surprised when the plot that was working on my production > system didn't work on my desktop (where I had installed 5.0). If this > wasn't something that worked on the older versions, I would just shrug > it off as "don't do that", but the fact that it broke a working config > made me post about it. Can you provide the first few lines from a data file that was handled differently by version 4 than by version 5? It is true that the interpretation of timestamps has changed because version 5 uses a different epoch date, but a zero value should be legal in either version. It's not clear to me why there would be a difference in recognizing a line as a header vs legal input. Also I don't actually see how you could get incorrect interpretation as 01-01-0000. That's the epoch date for version 4 but not for version 5 (01-01-1970). Was that a typo? Ethan |
|
From: David L. <da...@la...> - 2015-01-10 02:21:49
|
On Fri, 9 Jan 2015, Ethan A Merritt wrote: > On Friday, 09 January 2015 02:14:27 PM David Lang wrote: >> I ran into a case that worked with v4.x that doesn't work with v5, namely when >> plotting points from a file where the x column is a timestamp and the file had >> column headers, v4 seems to have ignored the header column (apparently deciding >> that the timestamp was invalid and so throwing out the entire line), while v5 >> interprets the timestamp as 01-01-0000 and scaleing the entire plot to include >> this date. > > There are a number of things you could do. > > 1) You could tell gnuplot that the first line contains column headers: > > set key autotitle columnhead > > 2) You could tell it to skip the first line of the file > > plot 'foo' skip 1 using ... > > 3) You could explicitly filter out 0 times from the input > > plot 'foo' using ($1 == 0 ? NaN : timecol(1)): ... > > Possibly other alternatives as well. In my case I changed the data fetching routine to filter out the column headers from the file. I just was surprised when the plot that was working on my production system didn't work on my desktop (where I had installed 5.0). If this wasn't something that worked on the older versions, I would just shrug it off as "don't do that", but the fact that it broke a working config made me post about it. David Lang |
|
From: Ethan A M. <EAM...@gm...> - 2015-01-10 01:08:26
|
On Friday, 09 January 2015 02:14:27 PM David Lang wrote:
> I ran into a case that worked with v4.x that doesn't work with v5, namely when
> plotting points from a file where the x column is a timestamp and the file had
> column headers, v4 seems to have ignored the header column (apparently deciding
> that the timestamp was invalid and so throwing out the entire line), while v5
> interprets the timestamp as 01-01-0000 and scaleing the entire plot to include
> this date.
There are a number of things you could do.
1) You could tell gnuplot that the first line contains column headers:
set key autotitle columnhead
2) You could tell it to skip the first line of the file
plot 'foo' skip 1 using ...
3) You could explicitly filter out 0 times from the input
plot 'foo' using ($1 == 0 ? NaN : timecol(1)): ...
Possibly other alternatives as well.
Ethan
|
|
From: David L. <da...@la...> - 2015-01-09 22:14:34
|
I ran into a case that worked with v4.x that doesn't work with v5, namely when plotting points from a file where the x column is a timestamp and the file had column headers, v4 seems to have ignored the header column (apparently deciding that the timestamp was invalid and so throwing out the entire line), while v5 interprets the timestamp as 01-01-0000 and scaleing the entire plot to include this date. David Lang |
|
From: BBands <bb...@gm...> - 2015-01-09 22:06:47
|
if you want to see your data that way you can use the log10() function.
John
On Thu, Jan 8, 2015 at 8:38 PM, Roshni Rajkumari
<raj...@gm...> wrote:
> Sir,,,
> i made the y axis as logscale with base 10..
>
> Hop msg
> 1 11.00
> 2 37.00
> 3 101.00
> 4 257.00
> 5 643.00
> 6 1589.00
> 7 3935.00
> 8 9697.00
> 9 23997.00
> 10 59153.00
>
> set logscale y
> set yrange [1.00: 60000:00]
>
> M attaching my graph for the corresponding date too...but m not so sure for
> the data plots...i.e., it should give the plots for log(11), log(37),
> log(101)....etc,,,,but...please help..
|
|
From: BBands <bb...@gm...> - 2015-01-09 04:15:42
|
Your choice.
gnuplot> help set logscale
Syntax:
set logscale <axes> {<base>}
unset logscale <axes>
show logscale
where <axes> may be any combinations of `x`, `x2`, `y`, `y2`, `z`, `cb`, and
`r` in any order. <base> is the base of the log scaling (default is base 10).
John
On Thu, Jan 8, 2015 at 7:49 PM, Roshni Rajkumari
<raj...@gm...> wrote:
> is this logscale y in gnuplot in terms of log base 10???
|
|
From: Roshni R. <raj...@gm...> - 2015-01-09 03:50:02
|
is this logscale y in gnuplot in terms of log base 10??? On Wed, Dec 3, 2014 at 12:08 AM, BBands <bb...@gm...> wrote: > I'd let gnuplot mind the ranges for you. > > set xrange [1:100] > plot x*x > pause -1 > set logscale y > plot x*x > pause -1 > unset logscale > set xrange [1:101] > plot x*x > pause -1 > set logscale y > plot x*x > > gnuplot will usually do a pretty nice job for you. > > John > > On Fri, Nov 28, 2014 at 9:03 PM, Roshni Rajkumari > <raj...@gm...> wrote: > > Hop msg > > 1 8.00 > > 2 30.00 > > 3 94.00 > > 4 280.00 > > 5 822.00 > > 6 2400.00 > > 7 7000.00 > > 8 20398.00 > > 9 59454.00 > > 10 173226.00 > > > > > > how do i plot this....i mean wat do i put the range for 'msg' > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Ethan M. <eam...@gm...> - 2014-12-17 23:11:35
|
On Wed, Dec 17, 2014 at 12:09 PM, dbrant <bra...@ho...> wrote: > Hi Gnuplotters > > For years i have used the following script taken from the Gnuplot In Action > book to generate my graphs: > > save "$0.gp" # Save commands to file > set t push # Save commands to file > set t png $1 # Store current terminal settings > # options from second argument > set o "$0.png" # Set output file name > replot # Generate plot > set o # Restore output to interactive terminal > set t pop # Restore interactive terminal settings > > This could be invoked as: > > call 'export.gp' 'myplot' 'size 160,100' > > With the advent of Gnuplot 5.0 this no longer works due to changes in > argument references from tokens $0 ... etc to string variables. > > Unfortunately i cannot get my head around it by way of examples i have seen. > > Could anyone please re-work the script to take recent developments into > account that i may understand use. > Regards, Dave script.gp: ~~~~~~ print "entering script ", ARG0 save ARG1 . ".gp" set term push set term png @ARG2 set output ARG1 . ".png" replot unset output set term pop I find the entire call mechanism ugly, however. I'd be more likely to do newplot = 'myplot' newsize = '160,100' load 'script.gp' script.gp: ~~~~~~ save newplot . ".gp" set term png size @newsize set output newplot . ".png" replot unset output unset term ~~~~~~ |
|
From: dbrant <bra...@ho...> - 2014-12-17 22:33:47
|
For example using the previous script as export.gp, plotting sin(x) as follows: plot sin(x) call 'export.gp' 'myplot' produces no graphical output and only saves commands to file '$0.gp' An error occurs with the $1 token in the set terminal line shown below <http://gnuplot.10905.n7.nabble.com/file/n19163/example.png> Any ideas to improve on this would be gratefully appreciated Dave -- View this message in context: http://gnuplot.10905.n7.nabble.com/Call-help-with-export-script-in-Gnuplot-5-0-tp19162p19163.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: dbrant <bra...@ho...> - 2014-12-17 20:21:35
|
Hi Gnuplotters For years i have used the following script taken from the Gnuplot In Action book to generate my graphs: save "$0.gp" # Save commands to file set t push # Save commands to file set t png $1 # Store current terminal settings # options from second argument set o "$0.png" # Set output file name replot # Generate plot set o # Restore output to interactive terminal set t pop # Restore interactive terminal settings This could be invoked as: call 'export.gp' 'myplot' 'size 160,100' With the advent of Gnuplot 5.0 this no longer works due to changes in argument references from tokens $0 ... etc to string variables. Unfortunately i cannot get my head around it by way of examples i have seen. Could anyone please re-work the script to take recent developments into account that i may understand use. Regards, Dave -- View this message in context: http://gnuplot.10905.n7.nabble.com/Call-help-with-export-script-in-Gnuplot-5-0-tp19162.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Tait <gnu...@t4...> - 2014-12-13 11:50:17
|
Works for me (now). Perhaps a transient error? Taylor Lewick <Tay...@ba...> said (on 2014/12/08): > Subject: [Gnuplot-info] Sourceforge error > > > I Just wanted to let everyone know that it looks like gnuplot can't be downloaded from sourceforge. Any download link I try all point to http://sourceforge.net/projects/gnuplot which is returning a 500 error |
|
From: Stefan K. <kr...@mp...> - 2014-12-12 15:06:08
|
Dear List,
is it possible to input Unicode characters into the interactive console
window of Gnuplot running on Windows (7, 64bit) by typing with the keyboard?
System:
gnuplot 4.6.3
Windows 7, 64bit
(I change my Keyboard Layout with Alt+Shift between English, German and
Greek.)
Ιn the interactive console (wgnuplot_pipes.exe):
Terminal type set to 'wxt'
gnuplot> show locale
gnuplot LC_CTYPE German_Germany.1252
gnuplot encoding default
gnuplot LC_TIME German_Germany.1252
gnuplot LC_NUMERIC C
gnuplot> show encoding
nominal character encoding is default
however LC_CTYPE in current locale is German_Germany.1252
If I have a UTF8 encoded file "greek-xlabel.txt" with one line:
set xlabel 'angle α'
gnuplot> load 'greek-xlabel.txt'
gnuplot> plot sin(x)
outputs a nice graph with the x label being correct "angle α".
Copying and pasting the content of the file "greek-xlabel.txt" into the
console:
gnuplot> set xlabel 'angle á / °'
gnuplot> plot sin(x)
Unable to convert "angle á / °": the sequence is invalid in the current
charset (UTF-8), falling back to iso_8859_1
gives me an accented a (á) and an error.
φ
If I switch my keyboard layout to Greek most of the characters are not
interpreted correctly by the gnuplot console.
alpha shows as á(accented a), theta as è (accented e), φ as ö ... and so on.
So, in general my System and gnuplot are able to deal with UTF8/Unicode.
But for quick plots I don't want to rely on \Symbol workarounds, or load
'greeklabels.txt" workarounds.
I guess I have to somehow change LC_CTYPE. But I couldn't find an option
in gnuplot.
In the gnuplot console: "set encoding utf8" and "set locale
'Greek_Greece.1253'" lead to:
gnuplot> show locale
gnuplot LC_CTYPE German_Germany.1252
gnuplot encoding utf8
gnuplot LC_TIME Greek_Greece.1253
gnuplot LC_NUMERIC C
But that does not help.
Any suggestions? Is this a problem of the gnuplot console under Windows?
Is it a problem of windows?
Thanks in advance.
Stefan
|
|
From: Taylor L. <Tay...@ba...> - 2014-12-08 20:54:38
|
I Just wanted to let everyone know that it looks like gnuplot can't be downloaded from sourceforge. Any download link I try all point to http://sourceforge.net/projects/gnuplot which is returning a 500 error |
|
From: Jacob G. <jac...@gm...> - 2014-12-08 18:48:15
|
On Mon Dec 08 2014 at 11:47:43 AM Ethan Merritt <eam...@gm...> wrote:
> The prefix must conform to normal
> limitations for variable names, however. It cannot start with a digit
> or contain punctuation marks.
>
Ah. I had hyphens in my filenames. Removing them cleared that error, but
now I get:
warning: Skipping data file with no valid points
I tried a non loop minimal example to ensure it's not a problem with my
datafile:
stats 'file.txt' prefix "file"
plot 'file.txt' every::file_index_max::file_index_max
This works fine.
Is there a way to look at what a command expanded into after the variables
were substituted?
On Mon Dec 08 2014 at 11:47:43 AM Ethan Merritt <eam...@gm...> wrote:
> On Mon, Dec 8, 2014 at 4:25 AM, Jacob Gerlach <jac...@gm...>
> wrote:
> > Thanks for the tips.
> >
> > On Sun Dec 07 2014 at 8:48:29 PM Ethan A Merritt <EAM...@gm...>
> > wrote:
> >>
> >> files = "one two three four"
> >>
> >> do for [name in files] {
> >> stats name.'.txt' using 1 prefix name
> >> }
> >
> >
> > I get an "illegal prefix" error when I try this. It seems like it
> doesn't
> > like taking the prefix from a variable, but I can't find any discussion
> of
> > this on the web.
>
> I use this construction in scripts myself, so I am sure there is no
> such limitation in general. The prefix must conform to normal
> limitations for variable names, however. It cannot start with a digit
> or contain punctuation marks.
>
> Ethan
>
> > Any ideas?
> >
> > Jake
>
|
|
From: Ethan M. <eam...@gm...> - 2014-12-08 16:47:49
|
On Mon, Dec 8, 2014 at 4:25 AM, Jacob Gerlach <jac...@gm...> wrote:
> Thanks for the tips.
>
> On Sun Dec 07 2014 at 8:48:29 PM Ethan A Merritt <EAM...@gm...>
> wrote:
>>
>> files = "one two three four"
>>
>> do for [name in files] {
>> stats name.'.txt' using 1 prefix name
>> }
>
>
> I get an "illegal prefix" error when I try this. It seems like it doesn't
> like taking the prefix from a variable, but I can't find any discussion of
> this on the web.
I use this construction in scripts myself, so I am sure there is no
such limitation in general. The prefix must conform to normal
limitations for variable names, however. It cannot start with a digit
or contain punctuation marks.
Ethan
> Any ideas?
>
> Jake
|
|
From: Jacob G. <jac...@gm...> - 2014-12-08 12:25:11
|
Thanks for the tips.
On Sun Dec 07 2014 at 8:48:29 PM Ethan A Merritt <EAM...@gm...>
wrote:
> files = "one two three four"
>
> do for [name in files] {
> stats name.'.txt' using 1 prefix name
> }
I get an "illegal prefix" error when I try this. It seems like it doesn't
like taking the prefix from a variable, but I can't find any discussion of
this on the web.
Any ideas?
Jake
|
|
From: Ethan A M. <EAM...@gm...> - 2014-12-08 02:23:59
|
On Sunday, 07 December 2014 01:18:56 PM Jacob Gerlach wrote:
> Hi list,
>
> I have several datafiles, which I'd like to plot together on one plot as
> smooth lines, but I'd also like to highlight each maximum
>
> With one file, I'm able to do
>
> plot 'file' smooth csplines
> stats 'file'
> replot file every::STATS_index_max::STATS_index_max notitle
>
> And get what I want.
> I tried expanding this with loops:
>
> filenames = "one two three four"
>
> plot for [file in filenames] file.".txt" \
> smooth csplines
>
> do for [n=1:4] {
> file=word(filenames,n).'.txt'
> stats file
> replot file every ::STATS_index_max::STATS_index_max notitle
> }
>
> This plots the csplines fine, but when replotting, I get four occurrences of
> warning: Skipping unreadable file "four"
>
> It seems this is some sort of name conflict by reusing the variable files;
> I was able to solve this by using a different variable, but I'd like to
> understand what happened.
>
> Even after changing the file name, I don't get four separate maxima.
> Instead, I get the maximum from "four" plotted four times.
>
> Is it possible to do this with loops or do I need to write one big plotting
> command to do it all at once?
files = "one two three four"
do for [name in files] {
stats name.'.txt' using 1 prefix name
}
plot for [name in files] name.'.txt' every :: name."_index_max" :: name."_index_max", \
for [name in files] name.'.txt'
But probably I would do it differently. Something like
set for [name in files] arrow from name."index_max", 0 to name."_index_max", name."_max"
plot for [name in filex] name.'.txt' using 1
Ethan
|
|
From: Jacob G. <jac...@gm...> - 2014-12-07 13:19:03
|
Hi list,
I have several datafiles, which I'd like to plot together on one plot as
smooth lines, but I'd also like to highlight each maximum
With one file, I'm able to do
plot 'file' smooth csplines
stats 'file'
replot file every::STATS_index_max::STATS_index_max notitle
And get what I want.
I tried expanding this with loops:
filenames = "one two three four"
plot for [file in filenames] file.".txt" \
smooth csplines
do for [n=1:4] {
file=word(filenames,n).'.txt'
stats file
replot file every ::STATS_index_max::STATS_index_max notitle
}
This plots the csplines fine, but when replotting, I get four occurrences of
warning: Skipping unreadable file "four"
It seems this is some sort of name conflict by reusing the variable files;
I was able to solve this by using a different variable, but I'd like to
understand what happened.
Even after changing the file name, I don't get four separate maxima.
Instead, I get the maximum from "four" plotted four times.
Is it possible to do this with loops or do I need to write one big plotting
command to do it all at once?
Thanks
Jake
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2014-12-06 21:12:18
|
Am 06.12.2014 um 20:05 schrieb Mátyás Seress: > I have a question: I would like to run a *.plt file using windows > scripting, i.e. using a batch (*.bat) file, and so I tried to do so, You could make it a whole lot easier for people to help you if you showed _how_ you tried to do that. > but I > experienced that after running the batch file, the command window, that > pops up does not close automatically, it keeps hanging there, and I have to > close it manually. That may be expected behaviour, depending on how you started gnuplot. |
|
From: Mátyás S. <ser...@gm...> - 2014-12-06 19:05:52
|
Hi all, I have a question: I would like to run a *.plt file using windows scripting, i.e. using a batch (*.bat) file, and so I tried to do so, but I experienced that after running the batch file, the command window, that pops up does not close automatically, it keeps hanging there, and I have to close it manually. However, if I only use *.exe files in the batch, this cmd window closes automatically. I also included an exit command at the end of the batch file containing the running command of the *.plt file, but it doesn't change anything. Do you know how I could make that window close automatically? Thank you! Mat |
|
From: BBands <bb...@gm...> - 2014-12-02 18:38:13
|
I'd let gnuplot mind the ranges for you.
set xrange [1:100]
plot x*x
pause -1
set logscale y
plot x*x
pause -1
unset logscale
set xrange [1:101]
plot x*x
pause -1
set logscale y
plot x*x
gnuplot will usually do a pretty nice job for you.
John
On Fri, Nov 28, 2014 at 9:03 PM, Roshni Rajkumari
<raj...@gm...> wrote:
> Hop msg
> 1 8.00
> 2 30.00
> 3 94.00
> 4 280.00
> 5 822.00
> 6 2400.00
> 7 7000.00
> 8 20398.00
> 9 59454.00
> 10 173226.00
>
>
> how do i plot this....i mean wat do i put the range for 'msg'
|
|
From: Dave H. <da...@ho...> - 2014-12-02 18:23:49
|
On Tue, 2 Dec 2014, Roshni Rajkumari wrote: > Sir,, how do i put percentage in gnuplot in x-axis As I said, please keep replies to the list, so that others may benefit. In this case, I do not know how you would plot percentages, so perhaps someone else can help (which is another reason for keeping replies on the list). However, since you want to put percentages on the x-axis (strange place to put them), then I guess the x-scale is simply [1:100] or something; it depends on your data. -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Dave H. <da...@ho...> - 2014-11-29 06:28:56
|
Please keep replies on the list, for the benefit of the archives and other readers. On Sat, 29 Nov 2014, Roshni Rajkumari wrote: > thank you for yr reply.... > y do i need to put logscale y.. > cant i just say for the y-range 1.00 : 180000 Sure, but the bigger numbers will squish down the smaller ones; try both, and see which you prefer. Another trick I've used in that case is to take the square root of the value e.g. "plot datafile using 1:(sqrt($2))" or similar. Of course, anyone reading the graph will have to know this... -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |