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: WesM <wes...@gm...> - 2009-10-13 00:09:57
|
Hi I have created a 3D surface plot of some data contained in a file. I would like to add to the plot a rectangle in 3d. How can I add lines (or better yet a rectangle) to 3D plots? -- View this message in context: http://www.nabble.com/lines-in-3D-tp25864635p25864635.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-12 20:33:26
|
'set table' and then plot again lynx.abraxas wrote: > > On 11/10/09 23:04:50, Hans-Bernhard Bröker wrote: >> lyn...@fr... wrote: >> >>> I'm wondering if there is some way to get a kind of fit-error >>> for > acsplines. >> >> No. Nor would it make much sense to try. An acspline isn't a fit --- >> its parameters have no meaning to the actual curve, they don't model >> anything. > > Thanks for Your quick answer. > If the acspline paramaters have no meaning to the actual curve I wonder > if > there is a kind of measure that tells how big the average difference > between > the actual data points to according spots of the acsplines curve is. > Basicly taking the y-value of the acspline curve at each data x-value > and > cumputing the difference to the data y-value. I just don't know how to get > the > function of the acsplines. Since the computer nows where to plot the > curve > points it must know the y-values. The ugliest way to get them would > be to > count the y-pixels in the plot... > Is there any better way to do this? > > Regards, > Lynx > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/fit-error-for-acsplines-fit-tp25847146p25862737.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <lyn...@fr...> - 2009-10-12 05:59:44
|
On 11/10/09 23:04:50, Hans-Bernhard Bröker wrote: > lyn...@fr... wrote: > >> I'm wondering if there is some way to get a kind of fit-error for acsplines. > > No. Nor would it make much sense to try. An acspline isn't a fit --- > its parameters have no meaning to the actual curve, they don't model > anything. Thanks for Your quick answer. If the acspline paramaters have no meaning to the actual curve I wonder if there is a kind of measure that tells how big the average difference between the actual data points to according spots of the acsplines curve is. Basicly taking the y-value of the acspline curve at each data x-value and cumputing the difference to the data y-value. I just don't know how to get the function of the acsplines. Since the computer nows where to plot the curve points it must know the y-values. The ugliest way to get them would be to count the y-pixels in the plot... Is there any better way to do this? Regards, Lynx |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-10-11 21:04:55
|
lyn...@fr... wrote: > I'm wondering if there is some way to get a kind of fit-error for acsplines. No. Nor would it make much sense to try. An acspline isn't a fit --- its parameters have no meaning to the actual curve, they don't model anything. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-10-11 21:00:34
|
lyn...@fr... wrote: > Can gnuplot automatically fit n gaussian functions to a dataset or at least > for n=2 to determin two mean values and their spread for a bimodal > distribution? As long as you can write down the function in gnuplot syntax, 'fit' can (try to) fit it. |
|
From: <lyn...@fr...> - 2009-10-11 20:14:53
|
Hello! Can gnuplot automatically fit n gaussian functions to a dataset or at least for n=2 to determin two mean values and their spread for a bimodal distribution? Thanks for any help or hints Lynx |
|
From: <lyn...@fr...> - 2009-10-11 20:11:56
|
Hello! I'm wondering if there is some way to get a kind of fit-error for acsplines. I think this could be helpful to determin a good approximation of the weighting factor. Can gnuplot tell about such an approximation value for acsplines? Thanks for any hints Lynx |
|
From: Thomas S. <t.s...@fz...> - 2009-10-09 20:01:08
|
show variables or print a,b,c,d,e,f,g,h,j,k will give you the precise values of the variables. Becker, Martin wrote: > > Hi, > > I am using the "fit" function in Gnuplot. > The results are very good, even when fitting polynomials with large > exponents. > > But when I try to evaluate the polynomial function (typing in the "final > set of parameters" I get from gnuplot manually), the resulting curve is > not the same as when plotting the function via f(x). > > Here's how you can reproduce that issue: > > testfit.txt: > 0.703046801 6.148059 > 0.741713434 6.234822 > 0.773950468 6.266732 > 0.834634823 6.349324 > 0.858792937 6.367429 > 0.945874445 6.455779 > 1.018601748 6.493238 > 1.056631087 6.515271 > 1.132619496 6.561212 > 1.208396235 6.623743 > 1.273432446 6.626688 > 1.322841114 6.661144 > 1.361994398 6.699116 > 1.419894331 6.703436 > 1.449532378 6.745392 > 1.495365168 6.799023 > 1.535109234 6.797992 > 1.551450853 6.892794 > 1.591150493 7.062142 > 1.609838136 7.056377 > 1.644491435 7.110281 > 1.664403966 6.909729 > 1.693825512 7.008516 > 1.719950161 6.966135 > 1.73447221 7.010832 > 1.750159151 7.056173 > 1.757950486 7.011614 > 1.769690372 7.051956 > 1.776861121 7.299418 > 1.784387803 7.534082 > 1.793996571 7.368413 > 1.799427481 6.789878 > 1.809187046 6.787986 > 1.815111552 7.235731 > 1.820633772 6.987372 > 1.830313952 6.4942 > 1.839906457 6.455258 > 1.849030092 6.912105 > 1.857638041 5.93482 > > gnuplot> plot "testfit.txt" > gnuplot> > f(x)=a+b*x+c*x**2+d*x**3+e*x**4+f*x**5+g*x**6+h*x**7+i*x**8+j*x**9+k*x**10 > gnuplot> fit f(x) "testfit.txt" via a,b,c,d,e,f,g,h,i,j,k > > ... > Final set of parameters Asymptotic Standard Error > ======================= ========================== > > a = -20719.6 +/- 4.261e+04 (205.6%) > b = 186386 +/- 3.689e+05 (197.9%) > c = -744986 +/- 1.419e+06 (190.4%) > d = 1.74269e+06 +/- 3.191e+06 (183.1%) > e = -2.64203e+06 +/- 4.648e+06 (175.9%) > f = 2.71275e+06 +/- 4.585e+06 (169%) > g = -1.91066e+06 +/- 3.102e+06 (162.3%) > h = 911686 +/- 1.422e+06 (155.9%) > i = -282112 +/- 4.227e+05 (149.8%) > j = 51135.2 +/- 7.364e+04 (144%) > k = -4124.11 +/- 5711 (138.5%) > ... > > gnuplot> set multi > gnuplot> plot "testfit.txt", f(x) -> fits perfectly! > gnuplot> set xrange[0.6:2] > gnuplot> set yrange[5.8:7.6] > gnuplot> plot > -20719.6+186386*x-744986*x**2+1.74269e+06*x**3-2.64203e+06*x**4+2.71275e+06*x**5-1.91066e+06*x**6+911686*x**7-282112*x**8+51135.2*x**9-4124.11*x**10 > -> that seems to be a completely different curve! > > What can I do to get the correct fitting function (which is used > internally by gnuplot - otherwise it wouldn't be able to show the correct > fitting curve)? > > The problem might be that the coefficients I get from gnuplot's fit > function are lacking some decimals, but I'm not sure about that. > > Any ideas? > > Thanks, > Martin > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/fitting-polynomial-function-tp25826573p25827088.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-10-09 19:57:06
|
Becker, Martin wrote: > But when I try to evaluate the polynomial function (typing in the > "final set of parameters" I get from gnuplot manually), Why on earth would you do that? The results have all been stored into the respective user-defined variables under the names you gave them. Try "show var" after you fit and you'll see. You'll also want to re-read the "help fit" pages. > a = -20719.6 +/- 4.261e+04 (205.6%) > b = 186386 +/- 3.689e+05 (197.9%) [...] That's not a good fit by any stretch of the imagination. All resulting parameters are completely dominated by error. > The problem might be that the coefficients I get from gnuplot's fit > function are lacking some decimals, but I'm not sure about that. That's exactly the problem. It would be utterly pointless to print all 15 decimals in each of those parameters in a fit result summary. Especially in a fit like this, where not even the first digit is actually significant! |
|
From: Becker, M. <M.B...@st...> - 2009-10-09 19:19:51
|
Hi, I am using the "fit" function in Gnuplot. The results are very good, even when fitting polynomials with large exponents. But when I try to evaluate the polynomial function (typing in the "final set of parameters" I get from gnuplot manually), the resulting curve is not the same as when plotting the function via f(x). Here's how you can reproduce that issue: testfit.txt: 0.703046801 6.148059 0.741713434 6.234822 0.773950468 6.266732 0.834634823 6.349324 0.858792937 6.367429 0.945874445 6.455779 1.018601748 6.493238 1.056631087 6.515271 1.132619496 6.561212 1.208396235 6.623743 1.273432446 6.626688 1.322841114 6.661144 1.361994398 6.699116 1.419894331 6.703436 1.449532378 6.745392 1.495365168 6.799023 1.535109234 6.797992 1.551450853 6.892794 1.591150493 7.062142 1.609838136 7.056377 1.644491435 7.110281 1.664403966 6.909729 1.693825512 7.008516 1.719950161 6.966135 1.73447221 7.010832 1.750159151 7.056173 1.757950486 7.011614 1.769690372 7.051956 1.776861121 7.299418 1.784387803 7.534082 1.793996571 7.368413 1.799427481 6.789878 1.809187046 6.787986 1.815111552 7.235731 1.820633772 6.987372 1.830313952 6.4942 1.839906457 6.455258 1.849030092 6.912105 1.857638041 5.93482 gnuplot> plot "testfit.txt" gnuplot> f(x)=a+b*x+c*x**2+d*x**3+e*x**4+f*x**5+g*x**6+h*x**7+i*x**8+j*x**9+k*x**10 gnuplot> fit f(x) "testfit.txt" via a,b,c,d,e,f,g,h,i,j,k ... Final set of parameters Asymptotic Standard Error ======================= ========================== a = -20719.6 +/- 4.261e+04 (205.6%) b = 186386 +/- 3.689e+05 (197.9%) c = -744986 +/- 1.419e+06 (190.4%) d = 1.74269e+06 +/- 3.191e+06 (183.1%) e = -2.64203e+06 +/- 4.648e+06 (175.9%) f = 2.71275e+06 +/- 4.585e+06 (169%) g = -1.91066e+06 +/- 3.102e+06 (162.3%) h = 911686 +/- 1.422e+06 (155.9%) i = -282112 +/- 4.227e+05 (149.8%) j = 51135.2 +/- 7.364e+04 (144%) k = -4124.11 +/- 5711 (138.5%) ... gnuplot> set multi gnuplot> plot "testfit.txt", f(x) -> fits perfectly! gnuplot> set xrange[0.6:2] gnuplot> set yrange[5.8:7.6] gnuplot> plot -20719.6+186386*x-744986*x**2+1.74269e+06*x**3-2.64203e+06*x**4+2.71275e+06*x**5-1.91066e+06*x**6+911686*x**7-282112*x**8+51135.2*x**9-4124.11*x**10 -> that seems to be a completely different curve! What can I do to get the correct fitting function (which is used internally by gnuplot - otherwise it wouldn't be able to show the correct fitting curve)? The problem might be that the coefficients I get from gnuplot's fit function are lacking some decimals, but I'm not sure about that. Any ideas? Thanks, Martin |
|
From: Thomas S. <t.s...@fz...> - 2009-10-08 18:43:26
|
i submitted a simple patch to sourceforge: http://sourceforge.net/tracker/?group_id=2055&atid=302055 LukasP wrote: > > OK, I understand keeping backward compatibility. > > Best "set terminal latex yrotate" (or something) seems to me, as there are > problems including .eps by pdfLaTex (no problem with pdfTeX). > > There is also a problem with diacritics (I'm using WinXP, pdfLaTex, czech > language) - the same in .eps, .png and .jpg. (I tried all these formats.) > > So if I created labels without diacritics, a .png or .jpg would be a good > alternative. But now I needed "staničení" (= chainage in english). > > Do you think I should put "set terminal latex yrotate" somewhere as a > wanted feature/enhancement? > > > Thomas Sefzick wrote: >> >> what could be done is to introduce a 'rotate' option to the >> 'latex' terminal and when this option is activated use the >> '\rotatebox' command (and provide a test in the latex file >> to test for the existence of the 'graphics' or 'graphicx' package). >> > > -- View this message in context: http://www.nabble.com/How-to-rotate-y-axis-label-in-LaTex-output-tp25782085p25804662.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: LukasP <LP...@po...> - 2009-10-08 15:47:25
|
OK, I understand keeping backward compatibility. Best "set terminal latex yrotate" (or something) seems to me, as there are problems including .eps by pdfLaTex (no problem with pdfTeX). There is also a problem with diacritics (I'm using WinXP, pdfLaTex, czech language) - the same in .eps, .png and .jpg. (I tried all these formats.) So if I created labels without diacritics, a .png or .jpg would be a good alternative. But now I needed "staničení" (= chainage in english). Do you think I should put "set terminal latex yrotate" somewhere as a wanted feature/enhancement? Thomas Sefzick wrote: > > what could be done is to introduce a 'rotate' option to the > 'latex' terminal and when this option is activated use the > '\rotatebox' command (and provide a test in the latex file > to test for the existence of the 'graphics' or 'graphicx' package). > -- View this message in context: http://www.nabble.com/How-to-rotate-y-axis-label-in-LaTex-output-tp25782085p25803265.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-08 15:21:38
|
with 'splot' it also works: set view map set pm3d set parametric # set urange the same like xrange set urange [... $ splot 'somedata.dat' w image, u,f(u),0 atoms.h wrote: > > my question is somewhat similar to the one recently asked. Nevertheless: > > We have some 3D data which we plot like > $ set view map > $ set pm3d > $ splot 'somedata.dat' w image > > Now we have a analytical function f(x) which we would like to put on top > (i.e. like an analytical contour). By now the problem is that splot > interprets the function value as 'z' and as it seems there is no axis > command. > > Any help is welcome! > > cheers thomas > -- View this message in context: http://www.nabble.com/2D-function-in-3D-map-view-tp25803135p25803254.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-08 15:10:29
|
why 'splot'? 'plot' should be sufficient: set xrange [... set yrange [... set size ratio 1 set cbrange [... plot "somedata.dat" with image, f(x) atoms.h wrote: > > my question is somewhat similar to the one recently asked. Nevertheless: > > We have some 3D data which we plot like > $ set view map > $ set pm3d > $ splot 'somedata.dat' w image > > Now we have a analytical function f(x) which we would like to put on top > (i.e. like an analytical contour). By now the problem is that splot > interprets the function value as 'z' and as it seems there is no axis > command. > > Any help is welcome! > > cheers thomas > -- View this message in context: http://www.nabble.com/2D-function-in-3D-map-view-tp25803135p25803239.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: atoms.h <sto...@gm...> - 2009-10-08 14:29:43
|
my question is somewhat similar to the one recently asked. Nevertheless: We have some 3D data which we plot like $ set view map $ set pm3d $ splot 'somedata.dat' w image Now we have a analytical function f(x) which we would like to put on top (i.e. like an analytical contour). By now the problem is that splot interprets the function value as 'z' and as it seems there is no axis command. Any help is welcome! cheers thomas -- View this message in context: http://www.nabble.com/2D-function-in-3D-map-view-tp25803135p25803135.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-08 09:02:42
|
LukasP wrote:
>
> ... OK, this would work.
>
> But it means to have two different y-labels when viewing in gnuplot
> and when using "set terminal latex".
>
yes
LukasP wrote:
>
> Wouldn't be better gnuplot to use \rotatebox[angle=90]{} automatically
> when "set terminal latex" is active?
>
this would break compatibility with existing plot scripts relying on the
behaviour of the 'latex' terminal that a ylabel like "a\\\\b\\\\c" is
printed 'shortstacked' (i.e. one character below the other).
the 'latex' terminal code was written when the 'graphics' or 'graphicx'
packages weren't established (or even existing?).
what could be done is to introduce a 'rotate' option to the
'latex' terminal and when this option is activated use the
'\rotatebox' command (and provide a test in the latex file
to test for the existence of the 'graphics' or 'graphicx' package).
but then the question would arise if it wouldn't be better to
use the 'epslatex' terminal which does this ylabel rotation
automatically and produces a far better plot because postscript
isn't restricted to the limited graphics capabilities of latex's
'picture' environment.
--
View this message in context: http://www.nabble.com/How-to-rotate-y-axis-label-in-LaTex-output-tp25782085p25800620.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: LukasP <LP...@po...> - 2009-10-08 06:34:55
|
... OK, this would work.
But it means to have two different y-labels when viewing in gnuplot and when
using "set terminal latex".
Wouldn't be better gnuplot to use \rotatebox[angle=90]{} automatically when
"set terminal latex" is active?
Shall I treat it as "gnuplot feature request" - to post it to the
appropriate mail list?
Lukas
Thomas Sefzick wrote:
>
> set ylabel "\\rotatebox{90}{ylabel}"
>
--
View this message in context: http://www.nabble.com/How-to-rotate-y-axis-label-in-LaTex-output-tp25782085p25799122.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2009-10-07 14:46:20
|
set ylabel "\\rotatebox{90}{ylabel}"
and add
\usepackage{graphicx}
to your tex file header.
LukasP wrote:
>
> Hello,
>
> I use GNUPlot to process some data files into LaTeX input file.
>
> I'd like to describe the y-axis with some text. In GNUPlot, the text is
> rotated 90 degrees, that's OK. But not in LaTeX input.
>
> How to achieve the y-axis label rotation as well?
>
> There some files attached to demonstrate the problem.
>
> Thank you in advance.
>
> Lukas
>
> http://www.nabble.com/file/p25782085/Prob.zip Prob.zip
>
--
View this message in context: http://www.nabble.com/How-to-rotate-y-axis-label-in-LaTex-output-tp25782085p25788030.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Yang Z. <yan...@gm...> - 2009-10-06 21:01:49
|
2009/10/6 Hans-Bernhard Bröker <HBB...@t-...>: > Yang Zhang wrote: >> >> Is there a way for gnuplot to automatically choose an (inner) position >> for the key so that it's not overlapping with the plots (at least for >> simple 2D plots), instead of having the user manually specify this >> each time or doing the calculations herself? > > No. The only automatic key placements that avoid data are those outside the > graph area. OK, thanks. Consider this a feature suggestion, then! :) -- Yang Zhang http://www.mit.edu/~y_z/ |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-10-06 19:29:48
|
Yang Zhang wrote: > Is there a way for gnuplot to automatically choose an (inner) position > for the key so that it's not overlapping with the plots (at least for > simple 2D plots), instead of having the user manually specify this > each time or doing the calculations herself? No. The only automatic key placements that avoid data are those outside the graph area. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-06 17:00:34
|
1. you may modify certain x-values by subtracting the gap(s) using the 'using' option. but this will not modify the x-axis, i.e. the tics labels, these you would have to set explicitly. 2. you could use 'multiplot' and produce a sub-plot for each interval of continuous data. have a look at: http://gnuplot.flexkb.net/wc.dll?gnu~SplitAxes rasikaa wrote: > > I am trying to plot some time series data over several days using gnuplot. > The data has time stamps with millisecond timings spanning several days. I > am able to plot them using a time formatted x axis. However, the data has > large time intervals (non trading hours in the stock market) that result > in a large long line for this period. > > Is there any way that I can tell gnuplot to ignore a certain time interval > in a day so that I can get the graph as a continuous line? > > Thanks and best regards, > > Rasika > -- View this message in context: http://www.nabble.com/Plotting-time-series-data-skipping-time-intervals-tp25767273p25772669.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-06 07:17:19
|
there's the problem: > gnuplot 4.2 patchlevel 2 with this version i'm also able to reproduce this behaviour. you need at least gnuplot 4.2 patchlevel 3 see http://www.gnuplot.info/announce.4.2.3 : New features, changes and fixes in gnuplot version 4.2.3 =========================================================== ... * CHANGE estimate the space for rotated tick labels on x and x2 axes mazeika wrote: > > Good point. In short, x11 terminal always ``eats'' the last character of > the longest string. eps does not allocate the space correctly too. png is > very problematic. > > The script: > > set terminal postscript eps > #set terminal x11 > #set terminal png > set output 'b.eps' > set style data histogram > set style fill solid > set xtics rotate by -90 > > plot 'b.data' u 2:xtic(1) > > The data: > > 1 1 > 10 2 > 100 3 > 1000 4 > 10000 5 > 100000 6 > > (added one more line). The version of gnuplot on debian etch: > > $ gnuplot --version > gnuplot 4.2 patchlevel 2 > > The x11 output: > http://www.nabble.com/file/p25763332/x11.png > > The eps output: > http://www.nabble.com/file/p25763332/eps.png > > The png output: > http://www.nabble.com/file/p25763332/b.png > > real world example (eps terminal): > http://www.nabble.com/file/p25763332/a.png > > > Thomas Sefzick wrote: >> >> which terminal are you using? >> what does your complete plot script look like? >> >> i can't reproduce the behaviour you describe with a >> x11 terminal. >> >> >> mazeika wrote: >>> >>> Hi, >>> >>> Thanks for the help. bmargin can take only positive numbers, and does >>> not move the margin for negative ones... I was not able to increase >>> space with bmargin.. >>> >>> >>> >>> Thomas Sefzick wrote: >>>> >>>> set bmargin >>>> >>>> >>>> mazeika wrote: >>>>> >>>>> Folks, >>>>> >>>>> Is there any way I can increase the vertical space for xtics in >>>>> gnuplot? It seems that gnuplot gives a fixed amount of vertical space >>>>> for the xtics independent of the size of the labels. Consider the >>>>> following data: >>>>> >>>>> 1 1 >>>>> 10 2 >>>>> 100 3 >>>>> 1000 4 >>>>> 10000 5 >>>>> >>>>> and the following commands: >>>>> >>>>> set style data histogram >>>>> set xtics rotate by -90 >>>>> plot 'b.data' u 2:xtic(1) >>>>> >>>>> Everything that has more than 4 characters does not fit at the bottom. >>>>> Any ideas? >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/more-space-for-xtics-tp25749310p25763951.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Yang Z. <yan...@gm...> - 2009-10-05 23:02:06
|
Is there a way for gnuplot to automatically choose an (inner) position for the key so that it's not overlapping with the plots (at least for simple 2D plots), instead of having the user manually specify this each time or doing the calculations herself? -- Yang Zhang http://www.mit.edu/~y_z/ |
|
From: Thomas S. <t.s...@fz...> - 2009-10-05 17:44:44
|
which terminal are you using? what does your complete plot script look like? i can't reproduce the behaviour you describe with a x11 terminal. mazeika wrote: > > Hi, > > Thanks for the help. bmargin can take only positive numbers, and does not > move the margin for negative ones... I was not able to increase space with > bmargin.. > > > > Thomas Sefzick wrote: >> >> set bmargin >> >> >> mazeika wrote: >>> >>> Folks, >>> >>> Is there any way I can increase the vertical space for xtics in gnuplot? >>> It seems that gnuplot gives a fixed amount of vertical space for the >>> xtics independent of the size of the labels. Consider the following >>> data: >>> >>> 1 1 >>> 10 2 >>> 100 3 >>> 1000 4 >>> 10000 5 >>> >>> and the following commands: >>> >>> set style data histogram >>> set xtics rotate by -90 >>> plot 'b.data' u 2:xtic(1) >>> >>> Everything that has more than 4 characters does not fit at the bottom. >>> Any ideas? >>> >> >> > > -- View this message in context: http://www.nabble.com/more-space-for-xtics-tp25749310p25754748.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-05 17:39:26
|
set style histogram gap 1 plot "data.dat" every 1::0::3 using 2:xtic(1) title 'TDD' fs solid 0.7, \ "" every 1::4::7 using 2:xtic(1) title 'Non-TDD' fs pattern 1, \ "" every 1::0::3 using 0:2:1 with labels rotate left offset -3,1 notitle, \ "" every 1::4::7 using 0:2:1 with labels rotate left offset 3,1 notitle you need to adjust the offset if you plot with another gap size or another number of histogram bars. see: http://www.gnuplot.info/docs/node238.html http://www.gnuplot.info/docs/node253.html air0day wrote: > > > Yes! Awesome! Thank you so much! > > How do I control the labels that are now showing up? Like with xtic I can > set the rotation to be -45 degrees, is there a way to do that with the > labels? > > > Thomas Sefzick wrote: >> >> plot "data.dat" every 1::0::3 using 2:xtic(1) title 'TDD' fs solid 0.7, \ >> "" every 1::4::7 using 2:xtic(1) title 'Non-TDD' fs pattern 1, \ >> "" every 1::0::3 using 0:2:1 with labels right offset 0,1 notitle, \ >> "" every 1::4::7 using 0:2:1 with labels left offset 0,1 notitle >> >> >> air0day wrote: >>> >>> That makes sense I guess. But are you saying there's no way to do what >>> I want with GNUPlot, or no way to do what I want with gnuplot using >>> histograms? >>> >>> I'd be happy creating new labels for the four groupings (they do belong >>> together for a reason after all) if there were a way of putting >>> individual labels on, say, the tip of each bar. Is that possible? >>> >>> >>> >>> Thomas Sefzick wrote: >>>> >>>> in histogram mode data belonging together are grouped and each >>>> group gets one label. if you specify several 'xtic's the last one >>>> overwrites the earlier one. >>>> the label should appear in the middle (which it currently only >>>> does for an odd gap size, e.g.: set style histogram gap 1) >>>> >>>> >>>> air0day wrote: >>>>> >>>>> Hey folks, >>>>> >>>>> Pretty new to gnuplot and I've managed to get my graph to look ALMOST >>>>> exactly how I want. I have a histogram where I'm comparing two data >>>>> sets side by side and I want each bar to have its own label, but >>>>> instead each pair is getting a single label (the second one of the >>>>> pair). Any way to stop this? >>>>> >>>>> This is my .gnu file: >>>>> >>>>> set terminal png >>>>> set output 'lcom_projects.png' >>>>> set style data histograms >>>>> plot 'data.dat' every 1::0::3 using 2:xtic(1) title 'TDD' fs solid >>>>> 0.7, \ >>>>> 'data.dat' every 1::4::7 using 2:xtic(1) title 'Non-TDD' fs >>>>> pattern 1 >>>>> >>>>> >>>>> And this is my data: >>>>> >>>>> JUnit 0.129 >>>>> HTMLParser 0.265 >>>>> Fitnesse 0.241 >>>>> Hudson 0.149 >>>>> Jericho 0.239 >>>>> JTidy 0.112 >>>>> JSPWiki 0.22 >>>>> XWiki 0.179 >>>>> >>>>> >>>>> This is the result: >>>>> http://www.nabble.com/file/p25744498/lcom_projects.png >>>>> lcom_projects.png >>>>> >>>>> >>>>> If you look, you can see that each "pair" is labeled Jericho, JTidy, >>>>> JSPWiki, and XWiki, even though the correct bar (the red one) is being >>>>> shown for the other half of the data. I just can't make the labels >>>>> appear side by side. >>>>> >>>>> Any help would be greatly appreciated. >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Histogram-combining-x-axis-labels-tp25744498p25754745.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |