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) 
S  M  T  W  T  F  S 






1
(3) 
2
(4) 
3
(4) 
4
(2) 
5
(1) 
6
(3) 
7

8

9
(4) 
10
(2) 
11
(3) 
12
(4) 
13

14
(2) 
15
(1) 
16

17

18
(1) 
19

20
(1) 
21
(1) 
22
(1) 
23
(3) 
24
(5) 
25
(1) 
26

27

28

29
(5) 
30

31







From: Aneesh Chand <achand007@gm...>  20130329 12:01:55

Hi, I'm new to this forum. I have a question related to gnuplot which I would appreciate help with. I'm trying to generate dummy data. This dummy data is in the form of data points lying on a straight line, but with "noise" i.e the points are randomly lying on either side on the original line so that when I plot it, there are many spikes and dips. This is to represent a "noisy" sensor reading. So far, I generated the original line using parametric plots like set parametric x(t) = a + b*(t) y(t) = c + d*(t) plot [0:2*pi] x(t), y(t) [please excuse any syntax error since I'm reproducing the code offhand ] where a,b,c,d were calculated from the two points x1,y1 and x2,y2 the line is connecting. I then try to generate some random points using x(t) and y(t) above so that the points somewhat represent the original line set parametric x2(t) = a + b*(t) * rand(0) y2(t) = c + d*(t) * rand(0) plot [0:2*pi] x2(t), y2(t) No matter what configuration of rand() I try, the random points generated either just form another perfect line , or the points are just concentrated near one end of the original line. I would like something like this plot: http://research.stlouisfed.org/fred2/graph/fredgraph.png?graph_id=82216 where the red line is the original line and the blue line the "noisy" values. Would appreciate if someone could help me out. Thanks. 
From: hang <shenhang@pk...>  20130329 09:00:40

I set my linestyle in this way set linetype 1 lt 2 lw 7 lc 0 The linetype 2 should be a long dash type, but as the linewidth being set to 7 in order to show it more clearly, the long dash was very uncomfortable, the other type are ever worse, like this: <http://gnuplot.10905.n7.nabble.com/file/n17221/test.jpg>; How can I solve this without decreasing the lw ? Any suggestion would be appreciated!  View this message in context: http://gnuplot.10905.n7.nabble.com/Linetypebecomedimaslinewidthlargetp17221.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: Baptiste <baptiste.boitier@er...>  20130329 08:35:41

Hi all, I am a new user of Gnuplot, and I would like to draw a Heat Map. My original data are a 41x41 matrix where each line and row represent a country and the value of the matrix are numeric value. Such as: Country1 Country2 …. CountryN Country1 Z11 Z12 ….. Z1N Country2 Z21 Z22 ….. Z2N … CountryN ZN1 ZN2 ….. ZNN I have already succeed in some steps but I still have some problems. Here, what I have already done: cd '/dir/' set xrange [0.5:41.5] set yrange [0.5:41.5] reverse set xtics ("AUS" 1,"AUT" 2,"BEL" 3,"BGR" 4,"BRA" 5,"CAN" 6,"CHN" 7,"CYP" 8,"CZE" 9,"DEU" 10,"DNK" 11,"ESP" 12,"EST" 13,"FIN" 14,"FRA" 15,"GBR" 16,"GRC" 17,"HUN" 18,"IDN" 19,"IND" 20,"IRL" 21,"ITA" 22,"JPN" 23,"KOR" 24,"LTU" 25,"LUX" 26,"LVA" 27,"MEX" 28,"MLT" 29,"NLD" 30,"POL" 31,"PRT" 32,"ROM" 33,"RUS" 34,"SVK" 35,"SVN" 36,"SWE" 37,"TUR" 38,"TWN" 39,"USA" 40,"RoW" 41) set ytics ("AUS" 1,"AUT" 2,"BEL" 3,"BGR" 4,"BRA" 5,"CAN" 6,"CHN" 7,"CYP" 8,"CZE" 9,"DEU" 10,"DNK" 11,"ESP" 12,"EST" 13,"FIN" 14,"FRA" 15,"GBR" 16,"GRC" 17,"HUN" 18,"IDN" 19,"IND" 20,"IRL" 21,"ITA" 22,"JPN" 23,"KOR" 24,"LTU" 25,"LUX" 26,"LVA" 27,"MEX" 28,"MLT" 29,"NLD" 30,"POL" 31,"PRT" 32,"ROM" 33,"RUS" 34,"SVK" 35,"SVN" 36,"SWE" 37,"TUR" 38,"TWN" 39,"USA" 40,"RoW" 41) set datafile separator ";" set pm3d map set view map splot '/file/.csv' matrix with image But, I have two problems: 1) In the output file (below), it misses the first line and row of the matrix, and the mapping between the content of the matrix (Zx,y) and the countries is then shifted from one line and one row. 2) I would like to defined intervals for the palette colour according to the value of the records. For instance, if the value of Zx,y is inferior to 1 so in green, if Zx,y between 1 and 2 so in white, etc… I have tried several things but these problems remain. Thanks in advance <http://gnuplot.10905.n7.nabble.com/file/n17220/EMCONS_96.png>; PS: Sorry for the English, I am French.  View this message in context: http://gnuplot.10905.n7.nabble.com/Heatmaplineandrowshiftproblemtp17220.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: Ethan A Merritt <EAM<erritt@gm...>  20130329 01:53:08

On Thursday, 28 March 2013, Paul Wagner wrote: > Hello, > > how can I plot a function and vary its color within the plot? What do you want the color to depend on? > The only solution I've come up with is to write the x and y values to a file and > read it back using 'linecolor rgb variable'. Is there a more elegant > way, without writing a file? set xrange [XMIN:XMAX] plot '+' using 1:(f($1)):(color($1)) lc rgb variable where f(x) is the function you want to plot and color(x) returns the color you want it to have. 
From: Paul Wagner <paul_spam@gm...>  20130329 01:00:54

Hello, how can I plot a function and vary its color within the plot? The only solution I've come up with is to write the x and y values to a file and read it back using 'linecolor rgb variable'. Is there a more elegant way, without writing a file? Thanks, Paul 
From: Mauricio Galo <galo@fc...>  20130325 15:12:49

Hi all, I need to contact a person who maintains and updates the page “Tutorials, learning, and help" in the Gnuplot homepage (http://www.gnuplot.info/) but I do not found any email there. Somebody in this group knows the name and the email of someone who can do this update? Thanks a lot. Mauricio Galo 
From: BBands <bbands@gm...>  20130324 17:29:37

Your example data file had two columns, do 'using 1:2' might work better. go slowly only use essentials elaborate later Trouble shooting hint: 'using 0:n' invokes a special case where x equals the line number of the data file. John On Sun, Mar 24, 2013 at 10:06 AM, mikeincousa <mikeincousa@...> wrote: > posted the wrong block.. > > Right one... > > set xdata time > unset tics > set timefmt "%Y%m%d" > set xrange ["20130311":"20130315"] > set yrange ["65.00":"70.00"] > gnuplot> plot "/home/mike/QQQ2.txt" using 1:3 > ^ > warning: Skipping data file with no valid point. 
From: BBands <bbands@gm...>  20130324 17:18:54

Try: set timefmt "%Y%m%d" as your data file uses '' not '/'. Also try the simplest plot command first and then add the formatting stuff as needed. John On Sat, Mar 23, 2013 at 6:38 PM, mikeincousa <mikeincousa@...> wrote: > I found the page in the book , but still I cannot see the errors in my ways. 
From: mikeincousa <mikeincousa@gm...>  20130324 17:06:29

posted the wrong block.. Right one... set xdata time unset tics set timefmt "%Y%m%d" set xrange ["20130311":"20130315"] set yrange ["65.00":"70.00"] gnuplot> plot "/home/mike/QQQ2.txt" using 1:3 ^ warning: Skipping data file with no valid point.  View this message in context: http://gnuplot.10905.n7.nabble.com/ErrorNeedfullusingspecforxtimedatatp17207p17212.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: mikeincousa <mikeincousa@gm...>  20130324 03:38:03

The fact that caret points to the yvalues indicates a problem with the ydata? ====== set xdata time unset tics set timefmt "%Y%m%d" set xrange ["20130311":"20130315"] set yrange ["65.00":"70.00"] set timefmt "%m%d%y" gnuplot> plot "/home/mike/QQQ2.txt" using 1:3 ^ warning: Skipping data file with no valid point.  View this message in context: http://gnuplot.10905.n7.nabble.com/ErrorNeedfullusingspecforxtimedatatp17207p17211.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: mikeincousa <mikeincousa@gm...>  20130324 01:38:33

I found the page in the book , but still I cannot see the errors in my ways. Could you be more specific? Does the file or the code contain typos? I just noticed I am also getting a illegal month error. I modeled my code from gnuplot> help time/date ==== Suppose the file "data" contains records like 03/21/95 10:00 6.02e23 This file can be plotted by set xdata time set timefmt "%m/%d/%y" Press return for more: set xrange ["03/21/95":"03/22/95"] set format x "%m/%d" set timefmt "%m/%d/%y %H:%M" plot "data" using 1:3 which will produce xtic labels that look like "03/21".  View this message in context: http://gnuplot.10905.n7.nabble.com/ErrorNeedfullusingspecforxtimedatatp17207p17210.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: BBands <bbands@gm...>  20130323 23:52:24

http://gnuplot.sourceforge.net/docs_4.6/gnuplot.pdf page 113 John 
From: mikeincousa <mikeincousa@gm...>  20130323 20:18:19

"Can't plot" might have been a more accurate subject line. I ran the same code with and without a space delimiter after "using" I ran various combinations of "using" and various combinations of "1" and "2" and "3." All runs generated error messages.  View this message in context: http://gnuplot.10905.n7.nabble.com/ErrorNeedfullusingspecforxtimedatatp17207p17208.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: mikeincousa <mikeincousa@gm...>  20130323 19:07:21

Very very beginner with gnuplot. Simply seeking to graph stock series. Where am I going wrong? *Data:* (short span to avoid the blank line issue with nonconsecutive datesfor now). 20130311 68.81 20130312 68.56 20130313 68.47 20130314 68.70 20130315 68.51 #QQQ * Code* set xdata time set timefmt "%Y/%m/%d" set xrange ["20130311":"20130315"] set format x "%Y/%m/%d" plot "/home/mike/QQQ2.txt" using1:2 [# or using1:3see below] * Tests* gnuplot> show xdata x is set to time gnuplot> show timefmt read format for time on x axis is "%Y/%m/%d" read format for time on t axis is "%Y/%m/%d" read format for time on u axis is "%Y/%m/%d" gnuplot> show xrange set xdata time set xrange [ "2013/01/01" : "2013/01/01" ] noreverse nowriteback gnuplot> show format tic format is: xaxis: "%Y/%m/%d" yaxis: "% g" x2axis: "% g" y2axis: "% g" zaxis: "% g" cbaxis: "% g" >>>>>>>>>> gnuplot> *plot* "/home/mike/QQQ2.txt" using1:2 Need full using spec for x time data gnuplot> plot "/home/mike/QQQ2.txt" using1:3 Need full using spec for x time data >>/adding a space/ after using.. gnuplot> plot "/home/mike/QQQ2.txt" using 1:3 warning: Skipping data file with no valid points ^ Can't plot with an empty x range! >>>>>*Reference* Confusing, as are the others hits in response to the error msg. http://gnuplot.10905.n7.nabble.com/Histogramsampcotd5731.html#a573  View this message in context: http://gnuplot.10905.n7.nabble.com/ErrorNeedfullusingspecforxtimedatatp17207.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: mineralfellow <mineralfellow@ya...>  20130322 14:05:40

Hi All, I am plotting stacked histograms, but the rectangular symbols generated by the program are quite small. I found a suggestion of how to make the symbols larger in a scatter plot, but I do not know how to apply this to histograms. I would appreciate any help! Cheers!  View this message in context: http://gnuplot.10905.n7.nabble.com/HowdoImakethesymbolsusedinhistogramslargertp17205.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: blashimov <lash.ben@gm...>  20130321 23:27:43

Hello, The colorbar labels are cut off, as in the width of the image as a whole is too small or something. I can't seem to get a fix to work, as set rmargin for example doesn't work with splot. Any ideas? Thanks. set term png set output "HNO3I.png" set xrange [1:1000] set yrange [1:1000] #set zrange [1:3] #set cbrange [1:3] set title "HNO3 Base Case (I) at 10 Hours" set xlabel "XLocation" set ylabel "YLocation" set iso 1000 set samp 1000 unset key unset sur set view map set rmargin 35 set pm3d at b splot "HNO3.dat" using 1:2:3 with lines <http://gnuplot.10905.n7.nabble.com/file/n17204/HNO3I_%281%29.png>;  View this message in context: http://gnuplot.10905.n7.nabble.com/splotsetviewmapcolorbarlabelscutofftp17204.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: thse <t.sefzick@fz...>  20130320 08:45:39

use "timecolumn(1)" instead of "$1"  View this message in context: http://gnuplot.10905.n7.nabble.com/Conditionalplotwithlinestp3519p17198.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: mattyd <matthewhsdavis@ho...>  20130318 13:17:10

I have tried this code and it works great. But I am having trouble getting this approach to work with timeseries data. I have replaced the first column of the test.dat file with dates: test.dat (revised) ************* 200111 2 1 200112 2 4 200113 1 9 200114 2 16 200115 1 25 200116 2 36 ************* when I run the following lines: set xdata time set timefmt '%Y%m%d' lastx = NaN ; lasty = NaN ; selection = 2 plot 'test.dat' using ($2==selection?($1,lastx=$1):lastx):($2==selection?($1,lasty=$3):lasty) with linespoints I get the following message: Warning: empty x range [2001:2001], adjusting to [1980.99:2021.01] and it looks like all of the x values are read as 2001. When I do a test plot without conditions (i.e., plot 'test.dat' using 1:3 with linespoints) it looks fine, so it seems that the problem lies with the approach of using the previous point, but I can't figure out what it is. Can anyone please help?  View this message in context: http://gnuplot.10905.n7.nabble.com/Conditionalplotwithlinestp3519p17196.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: Theo <theozh@gm...>  20130315 11:06:06

Yes, I also noticed that the time is not the time which I see as my actual local time. That's what the gnuplot 4.6 manual says: Internally all times and dates are converted to the number of seconds from the year 2000. ... The conversion to and from seconds assumes Universal Time (which is the same as Greenwich Standard Time). There is no provision for changing the time zone or for daylight savings. If all your data refer to the same time zone (and are all either daylight or standard) you don't need to worry about these things. But if the absolute time is crucial for your application, you'll need to convert to UT yourself. 
From: LarsEr <info@lb...>  20130314 20:25:23

Thanks a lot Theo! That solved my problem. Still have a minor issue, it's a ruby script and gnuplot seems to handle a Time different, don't know if it's day light saving or time zon (1 hour differ). / Lars.  View this message in context: http://gnuplot.10905.n7.nabble.com/Xaxistimescalingtp17184p17194.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: Craig DeForest <deforest@bo...>  20130314 15:32:19

Hi, all, I've just released a draft Alien::Gnuplot module to CPAN. It's intended to simplify and regularize Perl module access to Gnuplot, since there seem to be at least 6 modules supporting various forms of access. If you are a Perl user, I would be grateful for feedback on how well (or poorly) it works on your system. Installing Alien::Gnuplot on a Perl system is meant to attempt to automatically install Gnuplot itself if it is not already present; and loading the module with "use Alien::Gnuplot" is meant to verify that Gnuplot is available and recent on your system. Cheers, Craig 
From: Theo <theozh@gm...>  20130312 12:19:29

Hi Gerhard, one simple way to do it: Plot the data twice, slightly shifted and in grey. set boxwidth 0.8 relative xshift = 0.1 # or some other value yshift = 0.1 plot 'Data.txt' using ($1+xshift):($2yshift) with boxes fs solid 0.25 lt "grey", '' using ($1):($2) with boxes fs solid You also could create a 3DPlot to create a shadowlike appearance. However, if you can plot data in 2D there is no need to plot it in 3D. Theo. 
From: stibala <adam.stibal@gm...>  20130312 10:49:33

Thank you gentlemen, this was definitely helpful. The definition of a special function to distinguish between all the functions is the trick. The code for plot is then pretty elegant. Thank you again Adam  View this message in context: http://gnuplot.10905.n7.nabble.com/forloopiteratingfunctionstp17187p17191.html Sent from the Gnuplot  User mailing list archive at Nabble.com. 
From: Thomas Sefzick <t.sefzick@fz...>  20130312 09:57:07

stibala <adam.stibal <at> gmail.com> writes: > > Hello, > I have a matrix data set, each column contains a curve and I have a function > fitted to each curve. > I need to plot the original curves minus the respective fitted function and > here comes the problem. > My wanted code with for loop is > p for [i=2:11] "data.txt" u 1:(column(i)  function>i<($1)) > so I can't imagine how to iterate through my functions numbered as the > corresponding columns in data. > It can be done without the loop simply > p "data.txt" u 1:($2  function2($1)), "data.txt" u 1:($3  function3($1)), > ... > but I would like to plot it within the loop because I have a lot of data. > All the functions are the same, but with different constants, for example > g2(x)=exp(a2*x+b2)+c2 and g3(x)=exp(a3*x+b3)+c3. > > Thank you for your help > > Adam Stíbal > >  pass the loop variable as a second argument to the function and distinguish between the different loop steps using the ternary operator: (here: from 2 to 5) g(x,column)=\ column==2?exp(a2*x+b2)+c2:\ column==3?exp(a3*x+b3)+c3:\ column==4?exp(a4*x+b4)+c4:\ column==5?exp(a5*x+b5)+c5:\ 0/0 
From: Theo <theozh@gm...>  20130312 09:56:05

Hi Adam, would this help to solve your problem? a1 = 0.1 # define all your constants a2 = 0.2 a3 = 0.3 b1 = 1.2 b2 = 2.3 b3 = 3.4 c1 = 1 c2 = 2 c3 = 3 # define a(n),b(n),c(n)functions a(n) = a1*(n==1) + a2*(n==2) + a3*(n==3) # and so on... b(n) = b1*(n==1) + b2*(n==2) + b3*(n==3) c(n) = c1*(n==1) + c2*(n==2) + c3*(n==3) # define your function which will be subtracted GPFUN_g = "g(n,x) = exp(a(n)*x+b(n))+c(n)" I haven't tested it to the very end but if you using the function g(n,x) and something like the following... plot for [2:11] "data.txt" using 1:(column(i)  g(i,$1)) There might be certainly a more elegant way to do it... Anyway, let me know whether it works or not. Theo. 