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: <she...@be...> - 2010-06-07 20:47:42
|
Hi Gnuploteers
I have written a gnuplot script that is behaving sluggishly at times. The
script appears below. The script reads and plots image data from an ascii
file. The file contains multiple 2D images and the sluggishness appears
to scale with the number of 2D images contained within the file. The
script advances through the 2D images depending upon whether an up or
down arrow key is pressed. The sluggishness occurs after this key press.
With 10 2D images in the data file the time between arrow press and the
display of the next 2D image is acceptable. When 400 2D images are present
in the data file then the time between arrow press and the display of the
next 2D image is not acceptable (8 seconds).
Does anybody know how I might remove this sluggishness? What is causing
this sluggishness?
Thanks again for the great software and advice!
reset
unset key
unset colorbox
unset border
unset xtics
unset ytics
unset ztics
set palette gray
set multiplot
i = 0
set size .25,1
set origin 0,0
set xrange [0:5]
set yrange [0:25]
plot 't_space.dat' index i using 1:2:3 with labels left
set autoscale
set size square 1
set origin .10, 0
plot 't_space.dat' index i+1 matrix with image
unset multiplot
# Advance or decrement the slice depending upon key press.
bind "Up" "i=i+2; \
reset; \
unset key; \
unset colorbox; \
unset border; \
unset xtics; \
unset ytics; \
unset ztics; \
set palette gray; \
set multiplot; \
set size .25,1; \
set origin 0,0; \
set xrange [0:5]; \
set yrange [0:25]; \
plot 't_space.dat' index i using 1:2:3 with labels left; \
set autoscale; \
set size square 1; \
set origin .10, 0; \
plot 't_space.dat' index i+1 matrix with image; \
unset multiplot;"
bind "Down" "i=i-2; \
reset; \
unset key; \
unset colorbox; \
unset border; \
unset xtics; \
unset ytics; \
unset ztics; \
set palette gray; \
set multiplot; \
set size .25,1; \
set origin 0,0; \
set xrange [0:5]; \
set yrange [0:25]; \
plot 't_space.dat' index i using 1:2:3 with labels left; \
set autoscale; \
set size square 1; \
set origin .10, 0; \
plot 't_space.dat' index i+1 matrix with image; \
unset multiplot;"
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gnuplot-info mailing list
gnu...@li...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: <she...@be...> - 2010-06-07 20:22:14
|
OK. It looks like Thomas Sefzick responded to an earlier post of mine on this same topic (to which I thought I had gotten no reply). Thomas said that the problem was with my data file and in particular with strings that appear periodically. See Thomas' remark at: http://permalink.gmane.org/gmane.comp.graphics.gnuplot.user/5474 Don't know how I missed this. Thanks Thomas > Hi folks > > I have written a gnuplot script (which appears below) that reads and plots > image data from an ascii file. The file contains multiple 2D images and > the > script advances through the images depending upon whether an up or down > arrow key is pressed. Presently the script displays the images correctly > when the arrow keys are pressed but the script generates the following > warning repeatedly: > > warning: matrix contains missing or undefined values > > This warning message appears to be slowing the display of the images > upon making the button press. > > Does anybody have an idea why this warning is appearing? > > > reset > unset key > unset colorbox > unset border > unset xtics > unset ytics > unset ztics > set palette gray > > set multiplot > i = 0 > set size .25,1 > set origin 0,0 > set xrange [0:5] > set yrange [0:25] > plot 't_space.dat' index i using 1:2:3 with labels left > set autoscale > set size square 1 > set origin .10, 0 > plot 't_space.dat' index i+1 matrix with image > unset multiplot > > > # Advance or decrement the slice depending upon key press. > > bind "Up" "i=i+2; \ > reset; \ > unset key; \ > unset colorbox; \ > unset border; \ > unset xtics; \ > unset ytics; \ > unset ztics; \ > set palette gray; \ > set multiplot; \ > set size .25,1; \ > set origin 0,0; \ > set xrange [0:5]; \ > set yrange [0:25]; \ > plot 't_space.dat' index i using 1:2:3 with labels left; \ > set autoscale; \ > set size square 1; \ > set origin .10, 0; \ > plot 't_space.dat' index i+1 matrix with image; \ > unset multiplot;" > > > bind "Down" "i=i-2; \ > reset; \ > unset key; \ > unset colorbox; \ > unset border; \ > unset xtics; \ > unset ytics; \ > unset ztics; \ > set palette gray; \ > set multiplot; \ > set size .25,1; \ > set origin 0,0; \ > set xrange [0:5]; \ > set yrange [0:25]; \ > plot 't_space.dat' index i using 1:2:3 with labels left; \ > set autoscale; \ > set size square 1; \ > set origin .10, 0; \ > plot 't_space.dat' index i+1 matrix with image; \ > unset multiplot;" > > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: <she...@be...> - 2010-06-07 18:39:40
|
Hi folks
I have written a gnuplot script (which appears below) that reads and plots
image data from an ascii file. The file contains multiple 2D images and the
script advances through the images depending upon whether an up or down
arrow key is pressed. Presently the script displays the images correctly
when the arrow keys are pressed but the script generates the following
warning repeatedly:
warning: matrix contains missing or undefined values
This warning message appears to be slowing the display of the images
upon making the button press.
Does anybody have an idea why this warning is appearing?
reset
unset key
unset colorbox
unset border
unset xtics
unset ytics
unset ztics
set palette gray
set multiplot
i = 0
set size .25,1
set origin 0,0
set xrange [0:5]
set yrange [0:25]
plot 't_space.dat' index i using 1:2:3 with labels left
set autoscale
set size square 1
set origin .10, 0
plot 't_space.dat' index i+1 matrix with image
unset multiplot
# Advance or decrement the slice depending upon key press.
bind "Up" "i=i+2; \
reset; \
unset key; \
unset colorbox; \
unset border; \
unset xtics; \
unset ytics; \
unset ztics; \
set palette gray; \
set multiplot; \
set size .25,1; \
set origin 0,0; \
set xrange [0:5]; \
set yrange [0:25]; \
plot 't_space.dat' index i using 1:2:3 with labels left; \
set autoscale; \
set size square 1; \
set origin .10, 0; \
plot 't_space.dat' index i+1 matrix with image; \
unset multiplot;"
bind "Down" "i=i-2; \
reset; \
unset key; \
unset colorbox; \
unset border; \
unset xtics; \
unset ytics; \
unset ztics; \
set palette gray; \
set multiplot; \
set size .25,1; \
set origin 0,0; \
set xrange [0:5]; \
set yrange [0:25]; \
plot 't_space.dat' index i using 1:2:3 with labels left; \
set autoscale; \
set size square 1; \
set origin .10, 0; \
plot 't_space.dat' index i+1 matrix with image; \
unset multiplot;"
|
|
From: <she...@be...> - 2010-06-07 18:38:28
|
Hi folks
I have written a gnuplot script (which appears below) that reads and plots
image data from an ascii file. The file contains multiple 2D images and the
script advances through the images depending upon whether an up or down
arrow key is pressed. Presently the script displays the images correctly
when the arrow keys are pressed but the script generates the following
warning repeatedly:
warning: matrix contains missing or undefined values
This warning message appears to be slowing the display of the images
upon making the button press.
Does anybody have an idea why this warning is appearing?
reset
unset key
unset colorbox
unset border
unset xtics
unset ytics
unset ztics
set palette gray
set multiplot
i = 0
set size .25,1
set origin 0,0
set xrange [0:5]
set yrange [0:25]
plot 't_space.dat' index i using 1:2:3 with labels left
set autoscale
set size square 1
set origin .10, 0
plot 't_space.dat' index i+1 matrix with image
unset multiplot
# Advance or decrement the slice depending upon key press.
bind "Up" "i=i+2; \
reset; \
unset key; \
unset colorbox; \
unset border; \
unset xtics; \
unset ytics; \
unset ztics; \
set palette gray; \
set multiplot; \
set size .25,1; \
set origin 0,0; \
set xrange [0:5]; \
set yrange [0:25]; \
plot 't_space.dat' index i using 1:2:3 with labels left; \
set autoscale; \
set size square 1; \
set origin .10, 0; \
plot 't_space.dat' index i+1 matrix with image; \
unset multiplot;"
bind "Down" "i=i-2; \
reset; \
unset key; \
unset colorbox; \
unset border; \
unset xtics; \
unset ytics; \
unset ztics; \
set palette gray; \
set multiplot; \
set size .25,1; \
set origin 0,0; \
set xrange [0:5]; \
set yrange [0:25]; \
plot 't_space.dat' index i using 1:2:3 with labels left; \
set autoscale; \
set size square 1; \
set origin .10, 0; \
plot 't_space.dat' index i+1 matrix with image; \
unset multiplot;"
|
|
From: Thomas S. <t.s...@fz...> - 2010-06-07 09:09:13
|
without knowing anything about which gnuplot commands you used it's not easy to interpret the warning. the 'format: ...' line in the data file was written by the producer of the data file and has nothing to do with gnuplot. you should have a look into the gnuplot manual about the proper layout of a data file containing a matrix. Chelsea-11 wrote: > > Hi, > > I am trying to make a contour plot. I have a 3 column matrix for the x, > y, and > z values. The very first line in this matrix, however, says, > > Format: Log(10,s22th13) deltacp chi^2 > > The rest is a normal matrix, with the numerical values. > I am not sure what this line is supposed to do. This data file was > generated > using some sample code which I am trying to understand. Is this line > formatting > the data within the file itself? The problem is, that when I try to make > this > contour plot with a .gnuplot file I made, I get the error message: > > warning: Axis range undefined due to improper data values. NaN? Inf? > > All points z value undefined. > > I am not sure why I am getting this result. It sounds like something is > wrong > with the data file and I do not know what. > > So I have these two questions: > 1) What does the Format line mean? > 2) Why do I have this error message? > > If anyone can help, it would be much appreciated. > > Thanks, > Chelsea > > Here is the beginning of the data file > > Format: Log(10,s22th13) deltacp chi^2 > -4 0 99.257424 > -4 4 95.835423 > -4 8 92.976748 > -4 12 90.669100 > -4 16 88.905463 > -4 20 87.684142 > -4 24 87.008725 > -4 28 86.887976 > -4 32 87.335670 > -4 36 88.370357 > -4 40 90.015065 > -4 44 92.296938 > -4 48 95.246815 > -4 52 98.898733 > -4 56 103.289370 > -4 60 108.457416 > -4 64 114.442873 > -4 68 121.286282 > -4 72 129.027880 > -4 76 137.706679 > -4 80 147.359479 > -4 84 158.019803 > -4 88 169.716771 > -4 92 182.473912 > -4 96 196.307917 > -4 100 211.227348 > -4 104 227.231320 > -4 108 244.308152 > -4 112 262.434026 > -4 116 281.571664 > -4 120 301.669048 > -4 124 322.658220 > -4 128 344.454189 > -4 132 366.953994 > -4 136 390.035964 > -4 140 413.559239 > -4 144 437.363598 > -4 148 461.269677 > -4 152 485.079640 > -4 156 508.578378 > -4 160 531.535313 > -4 164 553.706867 > -4 168 574.839656 > -4 172 594.674440 > -4 176 612.950829 > -4 180 629.412723 > -4 184 643.814384 > -4 188 655.927025 > -4 192 665.545696 > -4 196 672.496212 > -4 200 676.641786 > -3.96 0 92.964358 > -3.96 4 89.530667 > -3.96 8 86.652870 > -3.96 12 84.317497 > -3.96 16 82.516886 > -3.96 20 81.249204 > -3.96 24 80.518398 > -3.96 28 80.334081 > -3.96 32 80.711346 > -3.96 36 81.670523 > -3.96 40 83.236870 > -3.96 44 85.440191 > -3.96 48 88.314401 > -3.96 52 91.897010 > -3.96 56 96.228544 > -3.96 60 101.351891 > -3.96 64 107.311572 > -3.96 68 114.152933 > -3.96 72 121.921265 > > > It continues like this. The y column or "deltacp" always runs from 0 to > 200 in > steps of 4 for a single value of x. > > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Gnuplot-data-file-for-contour-plot-tp28767808p28802705.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-06-07 08:52:14
|
set cbrange karaj wrote: > > > Hi, > > I try to define a fixed palette for a map view, but Gnuplot alway sets the > color assigned to the maximal value in the definition to the actual > maximum > value in the data. For example I type: > set palette defined (0 "black" , 3 "yellow") > but if the data is in [1,2], points with value 2 will be yellow and the > side > bar will be also ranged [0:2], no matter if I defined zrange before. > > Please tell me how to suppress this behavior. > > Thanks. > -- > View this message in context: > http://old.nabble.com/fix-palette-tp28637855p28637855.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/fix-palette-tp28767806p28802553.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-06-07 07:23:11
|
just avoid dividing integers, plot ( (1./373) - ... works. yoel wrote: > > Hi all, > I tried to plot the following function with gnuplot: > > plot ( (1/373) - (8.314/40000) * log( (2*59)/(x*1013250) + 1 ) )**-1 > > Which gives me the following image: > http://old.nabble.com/file/p28793176/gnuplot.png > > This is NOT how it's supposed to look. Here is how the function really > looks (matlab): http://old.nabble.com/file/p28793176/matlab.jpg > > Can anyone explain me what I've done wrong? > > Thanks a lot, > Yoel > -- View this message in context: http://old.nabble.com/a-function-I-couldn%27t-plot-right-tp28793176p28801816.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: yoel <yoe...@gm...> - 2010-06-06 18:12:55
|
Hi all, I tried to plot the following function with gnuplot: plot ( (1/373) - (8.314/40000) * log( (2*59)/(x*1013250) + 1 ) )**-1 Which gives me the following image: http://old.nabble.com/file/p28793176/gnuplot.png This is NOT how it's supposed to look. Here is how the function really looks (matlab): http://old.nabble.com/file/p28793176/matlab.jpg Can anyone explain me what I've done wrong? Thanks a lot, Yoel -- View this message in context: http://old.nabble.com/a-function-I-couldn%27t-plot-right-tp28793176p28793176.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-06-06 14:10:55
|
gnuplot is written for a variety of operating systems and platforms. each family of operating systems has its own 'beginning of time', see http://en.wikipedia.org/wiki/Epoch_(reference_date)#Computing in view of the then coming year 2000 gnuplot programmers chose not to rely on time routines of the various operating systems, but to write own routines. aaron brick-3 wrote: > > gentlemen: > > making gnuplot's epoch start in 2000 instead of 1970 may have seemed > clever, but for me this was an epic mistake. it's just too confusing. > juggling incompatible indices of my many timepoints, i reliably get > "no data within fixed range" and the year 2040 in my output. gnuplot > is obliged to support the UNIX epoch for reading in data (set timefmt > '%s'), but then it requires contortions to define ranges and tics; > just arithmetic, i realize, but let me be the first to say that i > still find this excruciating. how many man-hours have been wasted > working around this completely artificial problem? > > gnuplot should at least provide an option to conform to the standard > used by other UNIX systems, a 1970 epoch. > > best regards, > aaron brick. > > > -- aaron brick > -- aa...@li... > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/an-open-complaint-about-the-2000-epoch-tp28785002p28793162.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Jan N. <jnn...@go...> - 2010-06-06 12:43:22
|
Thanks! 2010/6/3 Thomas Sefzick <t.s...@fz...>: > > plot filename using VarOne:(column(VarTwo)*1.1) > > > Jan Nowack-2 wrote: >> >> Hi all, >> i have to plot a lot of datafiles in which the position of the columns >> could change. A change of the datafiles is not possible. So VarOne >> could be e.g on Pos 1 in one file, then on Pos. 17. So i wrote a >> script that writes the Variable Positions in a file like >> VarOne=17 >> VarTwo=12 >> and load the file at the beginnning. That works fine, but now i have >> to change some values by a factor. Something like >> >> plot filename using 1:($2*1.1) >> >> of course works. But it does not work with the User Variables, e.g. >> >> plot filename using VarOne:($VarTwo*1.1) >> >> Does anyone knows a solution? >> >> With best regards >> >> Jan >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> > > -- > View this message in context: http://old.nabble.com/something-like-plot-filename-using-VarOne%3A%28%24VarTwo*1.1%29-possible--tp28767804p28771588.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- Tittardsfeld 104 52072 Aachen Fon: 0241/4016496 |
|
From: Stijn S. <sti...@ug...> - 2010-06-05 19:12:48
|
That seems usable but pretty complicated. Maybe I should get to work on a more flexible script that, for any functional arithmetic expression, extracts the required columns from a datafile with named columns and generates the corresponding gnuplot command. Thanks! On Saturday 05 June 2010 08:28:55 pm Thomas wrote: > it's a little bit tricky, but it can be done using gnuplot only. the > following > script assumes a data file like in your 1st email: > > x, y, f, g, u, s, t > 1, 2, 3, 4, 5, 0, 3 > ... > > so here is the script: > > reset > > set datafile separator ',' > > # replace with your data file name: > dfn="ts.dat" > > # first some dummy plots the set the variables > set output > set terminal push > set terminal dumb > undefine x y f g u s t > > # determine the number of columns in the data file using the > # 1st line with numeric values, which is line 2 - we need > # numeric values because 'valid()' doesn't work with strings. > # (and plot something to avoid errors or warnings) > ncol=0 > plot for [i=1:100] dfn \ > using (valid(i)?ncol=ncol+1:0,i):(i) every ::1::1 > > # now find the position of each column name and store > # its position in the variable 'column name', assuming > # that the column names are in the 1st line of the data file > # (and plot something to avoid errors or warnings) > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","x"." ")==1?x=i:0,i):(i) \ > every ::0::0 > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","y"." ")==1?y=i:0,i):(i) \ > every ::0::0 > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","f"." ")==1?f=i:0,i):(i) \ > every ::0::0 > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","g"." ")==1?g=i:0,i):(i) \ > every ::0::0 > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","u"." ")==1?u=i:0,i):(i) \ > every ::0::0 > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","s"." ")==1?s=i:0,i):(i) \ > every ::0::0 > plot for [i=1:ncol] dfn \ > using (strstrt(stringcolumn(i)." ","t"." ")==1?t=i:0,i):(i) \ > every ::0::0 > show variables > > # and now do the plot > set terminal pop > > splot dfn \ > using (column(x)):(column(y)):(column(f)+column(g)*column(u)) \ > every ::1 > > Stijn Souffriau-3 wrote: > > On Thursday 03 June 2010 08:37:18 pm Thomas wrote: > >> the proper gnuplot command is: > >> > >> splot "yourdatafilename" using 1:2:($3+$4*$5) > >> > >> and plotting if s==0: > >> > >> splot "yourdatafilename" using 1:2:($6==0 ? $3+$4*$5 : 1/0) > > > > That's nice but I would like software that could work with named columns. > > This > > way I could state: > > ($time : $revenue - $cost) instead of having to know the actual column > > numbers. > > > > ------------------------------------------------------------------------- > >----- ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Thomas S. <t.s...@fz...> - 2010-06-05 18:29:03
|
it's a little bit tricky, but it can be done using gnuplot only. the following script assumes a data file like in your 1st email: x, y, f, g, u, s, t 1, 2, 3, 4, 5, 0, 3 ... so here is the script: reset set datafile separator ',' # replace with your data file name: dfn="ts.dat" # first some dummy plots the set the variables set output set terminal push set terminal dumb undefine x y f g u s t # determine the number of columns in the data file using the # 1st line with numeric values, which is line 2 - we need # numeric values because 'valid()' doesn't work with strings. # (and plot something to avoid errors or warnings) ncol=0 plot for [i=1:100] dfn \ using (valid(i)?ncol=ncol+1:0,i):(i) every ::1::1 # now find the position of each column name and store # its position in the variable 'column name', assuming # that the column names are in the 1st line of the data file # (and plot something to avoid errors or warnings) plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","x"." ")==1?x=i:0,i):(i) \ every ::0::0 plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","y"." ")==1?y=i:0,i):(i) \ every ::0::0 plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","f"." ")==1?f=i:0,i):(i) \ every ::0::0 plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","g"." ")==1?g=i:0,i):(i) \ every ::0::0 plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","u"." ")==1?u=i:0,i):(i) \ every ::0::0 plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","s"." ")==1?s=i:0,i):(i) \ every ::0::0 plot for [i=1:ncol] dfn \ using (strstrt(stringcolumn(i)." ","t"." ")==1?t=i:0,i):(i) \ every ::0::0 show variables # and now do the plot set terminal pop splot dfn \ using (column(x)):(column(y)):(column(f)+column(g)*column(u)) \ every ::1 Stijn Souffriau-3 wrote: > > On Thursday 03 June 2010 08:37:18 pm Thomas wrote: >> the proper gnuplot command is: >> >> splot "yourdatafilename" using 1:2:($3+$4*$5) >> >> and plotting if s==0: >> >> splot "yourdatafilename" using 1:2:($6==0 ? $3+$4*$5 : 1/0) >> > > That's nice but I would like software that could work with named columns. > This > way I could state: > ($time : $revenue - $cost) instead of having to know the actual column > numbers. > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/function-data-extraction-tp28767807p28791071.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: aaron b. <bri...@gm...> - 2010-06-04 20:51:32
|
gentlemen: making gnuplot's epoch start in 2000 instead of 1970 may have seemed clever, but for me this was an epic mistake. it's just too confusing. juggling incompatible indices of my many timepoints, i reliably get "no data within fixed range" and the year 2040 in my output. gnuplot is obliged to support the UNIX epoch for reading in data (set timefmt '%s'), but then it requires contortions to define ranges and tics; just arithmetic, i realize, but let me be the first to say that i still find this excruciating. how many man-hours have been wasted working around this completely artificial problem? gnuplot should at least provide an option to conform to the standard used by other UNIX systems, a 1970 epoch. best regards, aaron brick. -- aaron brick -- aa...@li... |
|
From: Ben L. <be...@bl...> - 2010-06-04 20:50:20
|
My png's were short and wide (500 pixels x 80k pixels x 4 bytes) so there were no real memory issues. I was using html/php as a front end for my work and it turned out to be a browser limitation. Thank you vary much Thomas. At 7:30 AM -0700 6/3/10, Thomas Sefzick wrote: >the hard limits for terminals which produce pixel graphics are based >on the graphics file format: >GIF: 2 Bytes unsigned for width and height, must be <2^16 (=65536) >PNG: 4 Bytes signed for width and height, must be <2^31 (=2147483648) > >so there is no ~65k limit for PNG files. just check this with 'size >100000,100', >it should work. but you may run into memory problems with a large image >with reasonable aspect ratio, e.g. 100000*75000 pixels with 48bit each >require ~42GByte, this may cause problems... > > >ben.gpt wrote: >> >> I seem to be running into a hard width limit of ~65k for png files >> but have not found any documentation that indicates what the hard >> limits are for various terminals. >> >> Have I overlooked something? >> > > Thanks in advance... -- ------------------------------ be...@BL... Ben Liberman ------------------------------ |
|
From: Stijn S. <sti...@ug...> - 2010-06-04 16:59:11
|
On Thursday 03 June 2010 08:37:18 pm Thomas wrote: > the proper gnuplot command is: > > splot "yourdatafilename" using 1:2:($3+$4*$5) > > and plotting if s==0: > > splot "yourdatafilename" using 1:2:($6==0 ? $3+$4*$5 : 1/0) > That's nice but I would like software that could work with named columns. This way I could state: ($time : $revenue - $cost) instead of having to know the actual column numbers. |
|
From: Thomas S. <t.s...@fz...> - 2010-06-03 18:57:23
|
plot filename using VarOne:(column(VarTwo)*1.1) Jan Nowack-2 wrote: > > Hi all, > i have to plot a lot of datafiles in which the position of the columns > could change. A change of the datafiles is not possible. So VarOne > could be e.g on Pos 1 in one file, then on Pos. 17. So i wrote a > script that writes the Variable Positions in a file like > VarOne=17 > VarTwo=12 > and load the file at the beginnning. That works fine, but now i have > to change some values by a factor. Something like > > plot filename using 1:($2*1.1) > > of course works. But it does not work with the User Variables, e.g. > > plot filename using VarOne:($VarTwo*1.1) > > Does anyone knows a solution? > > With best regards > > Jan > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/something-like-plot-filename-using-VarOne%3A%28%24VarTwo*1.1%29-possible--tp28767804p28771588.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-06-03 18:37:25
|
the proper gnuplot command is: splot "yourdatafilename" using 1:2:($3+$4*$5) and plotting if s==0: splot "yourdatafilename" using 1:2:($6==0 ? $3+$4*$5 : 1/0) Stijn Souffriau-3 wrote: > > Hi, > > I would like to use gnuplot to plot functions implicitly contained in a > large > data table. However extracting the function tuple values, placing them in > columns and specifying the gnuplot plot commands is proving to be very > tedious > work. > > The table is made out of records containing various field. The same fields > are > in the same column. Kind of like in a database. Each column has a symbolic > name. The table might then look something like: > x, y, f, g, u, s, t > record 1 | 1, 2, 3, 4, 5 0, 3 > record 2 | ... > .... > > What I would like is a program or language in which I can state something > like: > > "plot x : y : ( f + g * u ) (x,y) ", where f, g and u are functions of > (x,y). > > The program should then be able to form the proper gnuplot commands to > plot > this. > > Furthermore it would be nice if I could impose restrictions on the > function > domains like "plot ( f + g * u ) (x,y) WHERE s==0". > > Does anyone know of any software that can do this? > > Thanks for reading > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/function-data-extraction-tp28767807p28771388.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Xiao-Yong J. <xj...@co...> - 2010-06-03 17:27:06
|
On Thu, 27 May 2010 19:07:06 +0200, Jan Nowack wrote: > Hi all, > i have to plot a lot of datafiles in which the position of the columns > could change. A change of the datafiles is not possible. So VarOne > could be e.g on Pos 1 in one file, then on Pos. 17. So i wrote a > script that writes the Variable Positions in a file like > VarOne=17 > VarTwo=12 > and load the file at the beginnning. That works fine, but now i have > to change some values by a factor. Something like > plot filename using 1:($2*1.1) > of course works. But it does not work with the User Variables, e.g. > plot filename using VarOne:($VarTwo*1.1) > Does anyone knows a solution? Hi, I don't know what is the best way to achieve this, but I found myself sometimes using a combination of 'sprintf' and 'eval'. In your case, I believe 'eval' would be suffice eval 'plot filename using '.VarOne.':($'.VarTow.'*1.1)' Best, Xiao-Yong > With best regards > Jan -- J c/* __o/* X <\ * (__ Y */\ < |
|
From: Thomas S. <t.s...@fz...> - 2010-06-03 14:58:15
|
plot "< join filaA fileB" using ... or plot "< paste filaA fileB" using ... (if your files don't have some value (e.g. x-values) in common) arvindmer wrote: > > Hi to all, > > I want to plot two different colums from two different files in a single > graph. > More simply I want to plot column 2 of fileA against column 5 of fileB > plot [column2 of fileA column5 of fileB] > > How can I do so..........I think it can be done by using 'join' command > but I forget the exact syntax, please help > > Regards > > Arvind > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/plot--column2-of-fileA-%3A-column5-of-fileB--tp28767971p28768648.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-06-03 14:30:26
|
the hard limits for terminals which produce pixel graphics are based on the graphics file format: GIF: 2 Bytes unsigned for width and height, must be <2^16 (=65536) PNG: 4 Bytes signed for width and height, must be <2^31 (=2147483648) so there is no ~65k limit for PNG files. just check this with 'size 100000,100', it should work. but you may run into memory problems with a large image with reasonable aspect ratio, e.g. 100000*75000 pixels with 48bit each require ~42GByte, this may cause problems... ben.gpt wrote: > > I seem to be running into a hard width limit of ~65k for png files > but have not found any documentation that indicates what the hard > limits are for various terminals. > > Have I overlooked something? > > Thanks in advance... > -- > ------------------------------ > be...@BL... Ben Liberman > ------------------------------ > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/looking-for-max-terminal-sizes-for-png%2C-jpg%2C-and-other-file-output-terminals-tp28763216p28768309.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: arvin m. <arv...@ya...> - 2010-06-03 14:03:42
|
Hi to all,
I want to plot two different colums from two different files in a single graph.
More simply I want to plot column 2 of fileA against column 5 of fileB
plot [column2 of fileA column5 of fileB]
How can I do so..........I think it can be done by using 'join' command but I forget the exact syntax, please help
Regards
Arvind
|
|
From: <be...@bl...> - 2010-06-03 05:03:33
|
I seem to be running into a hard width limit of ~65k for png files but have not found any documentation that indicates what the hard limits are for various terminals. Have I overlooked something? Thanks in advance... -- ------------------------------ be...@BL... Ben Liberman ------------------------------ |
|
From: <Gui...@sa...> - 2010-06-01 11:45:45
|
Hello Excuse me for disturbing you, I have a question I can not solve. I'd like to put a map on the bottom of this graph style : http://www.espacemeteo.com/alexy/aaaa.png Instead of the green background : put a picture card (France) Thank you very much for your help. Bests regards Guillaume CHANTELOUBE |
|
From: Stijn S. <sti...@ug...> - 2010-05-31 17:41:47
|
Hi,
I would like to use gnuplot to plot functions implicitly contained in a large
data table. However extracting the function tuple values, placing them in
columns and specifying the gnuplot plot commands is proving to be very tedious
work.
The table is made out of records containing various field. The same fields are
in the same column. Kind of like in a database. Each column has a symbolic
name. The table might then look something like:
x, y, f, g, u, s, t
record 1 | 1, 2, 3, 4, 5 0, 3
record 2 | ...
....
What I would like is a program or language in which I can state something
like:
"plot x : y : ( f + g * u ) (x,y) ", where f, g and u are functions of (x,y).
The program should then be able to form the proper gnuplot commands to plot
this.
Furthermore it would be nice if I could impose restrictions on the function
domains like "plot ( f + g * u ) (x,y) WHERE s==0".
Does anyone know of any software that can do this?
Thanks for reading
|
|
From: Ismail A. <ism...@go...> - 2010-05-29 23:32:11
|
Hello
The best way to do is to use environment variables in shell and access them
in Gnuplot script
Example:
-------------------------------------------------------------
In the shell:
export name=plot_data_file
-------------------------------------------------------------
In Gnuplot script:
#! /usr/bin/gnuplot
name=system("echo $plot_data_file")
set title name
plot name.".data" using ($16 * 8):20 with linespoints notitle
pause -1
-------------------------------------------------------------
Best regards,
Ismail Amin
Philipp Fechteler wrote:
>
> Hello
>
> Is it possible to pass arguments to a Gnuplot script (in Linux on the
> command line), e.g. a file name for a data file. I would like to do the
> following kind of script:
>
> #! /usr/bin/gnuplot
> set title ARGV[1]
> plot ARGV[1].data using ($16 * 8):20 with linespoints notitle
> pause -1
>
> This script should generate a plot with the title given as first command
> line argument, an with the graph constructed from the first command line
> argument added with the suffix .data.
>
> Best regards
> Philipp
>
> ________________________________________________________________________
> Dipl.-Ing. Philipp Fechteler
> Department Image Processing
> Fraunhofer Institute for Telecommunications
> Heinrich-Hertz-Institut (HHI)
> Einsteinufer 37
> 10587 Berlin, Germany
> Phone +49 30 31002 616
> Fax +49 30 31002 200
> Email phi...@hh...
> WWW http://iphome.hhi.de/fechteler
> ________________________________________________________________________
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/command-line-arguments-to-gnuplot-scripts-tp7757834p28719227.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|