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: Charlton G. <cha...@2c...> - 2009-10-26 13:59:05
|
> change the 'fence plot' example a little bit: Brilliant! Infinite thanks for helping me out w/ this problem. Charlton |
|
From: Nunzio L. <nun...@gm...> - 2009-10-26 12:35:51
|
Hi everyone, how can I make the key of my plot opaque? I'm using the wxt terminal Thank you, N. |
|
From: jr <joh...@io...> - 2009-10-26 10:45:36
|
Am Samstag, den 24.10.2009, 02:46 -0700 schrieb Thomas Sefzick: > 'binary' and 'time/date' somehow don't work together, > gnuplot still expects the date as a string in 'binary' mode. > this somehow doesn't make sense... > > if you want to compile your own special version of gnuplot > try the following patch: Hello Thomas, thanks for your answer. However, i think compiling my own special version of gnuplot doesn't go well with our goals ;) I'll try to work out some other way, in the worst case having to convert to text files. Is there any other way to supply gnuplot with the date/time information? regards, Johannes |
|
From: Thomas S. <t.s...@fz...> - 2009-10-26 10:04:29
|
what does your data files look like? seems that there are no valid errorbar values starting from line '3' Noora wrote: > > Dear all, > > I am trying to plot a set of data from an experiment with xy errorbars. > However, whenever I try to do this and export the file to jpeg or png, I > can see the vertical and horizontal error bars on the first two data > points only(see image). I have tried making the values larger and smaller > to make sure that it's not just the scale that's making them impossible to > see. > > I used the load command in gnuplot to load the following .txt file > > set terminal jpeg > set output "graph.jpeg" > set bars 0 > set points 1 > set multiplot title "The Current-Voltage Characteristics of the DSSCs" > layout 2,1 > set grid > set title "pH 1.0" > plot "pH1.txt" using 1:3 w linespoints, "pH1.txt" using 1:3:7:6 w > xyerrorbars > unset title > set title "pH 3.0" > plot "pH3.txt" using 1:3 w linespoints, "pH3.txt" using 1:3:7:6 w > xyerrorbars > unset title > unset multiplot > > > columns 7 and 6 include the delta x and delta y for my values for x and y. > > (I am using Windows Vista.) > > If anyone can offer any help at all I would be extremely grateful. > > Thank you! http://www.nabble.com/file/p26051683/graph.jpeg > http://www.nabble.com/file/p26051683/graph.jpeg > -- View this message in context: http://www.nabble.com/Help-with-xyerrorbars-tp26051683p26057032.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Camilla M. <cam...@gm...> - 2009-10-25 21:07:45
|
Dear all, I am trying to plot a set of data from an experiment with xy errorbars. However, whenever I try to do this and export the file to jpeg or png, I can see the vertical and horizontal error bars on the first two data points only. I have tried making the values larger and smaller to make sure that it's not just the scale that's making them impossible to see. I used the load command in gnuplot to load the following .txt file set terminal jpeg set output "graph.jpeg" set bars 0 set points 1 set multiplot title "The Current-Voltage Characteristics of the DSSCs" layout 2,1 set grid set title "pH 1.0" plot "pH1.txt" using 1:3 w linespoints, "pH1.txt" using 1:3:7:6 w xyerrorbars unset title set title "pH 3.0" plot "pH3.txt" using 1:3 w linespoints, "pH3.txt" using 1:3:7:6 w xyerrorbars unset title unset multiplot columns 7 and 6 include the delta x and delta y for my values for x and y. (I am using Windows Vista.) If anyone can offer any help at all I would be extremely grateful. Thank you! |
|
From: Thomas S. <t.s...@fz...> - 2009-10-24 18:25:58
|
for a data file like this: 2. Na 8. Ca 9. Mg 1. Cl 10. HCO3 4. SO4 (i just tried to reproduce the plot on wikipedia.org) the plot commands would be: reset set xrange [-10:10] set xtics nomirror set yrange [-0.5:2.5] set y2range [-0.5:2.5] set ytics 1.0 scale 0.0 nomirror set y2tics 1.0 scale 0.0 nomirror set border 1 set yzeroaxis linetype -1 plot "datafilename" using (-$1):0:ytic(2) index 0 with filledcurve x1=0 linetype 1 notitle, \ "" using 1:0:y2tic(2) index 1 with filledcurve x1=0 linetype 1 notitle or, if the data file would look like this: 2. Na 1. Cl 8. Ca 10. HCO3 9. Mg 4. SO4 the above plot command could be: plot "datafilename" using (-$1):0:ytic(2) with filledcurve x1=0 linetype 1 notitle, \ "" using 3:0:y2tic(4) with filledcurve x1=0 linetype 1 notitle lyngly wrote: > > Hello, > > I am new to gnuplot, and am hoping I might be able to use it to create > Stiff diagrams (link to wikipedia)--basically I want to plot some > irregular hexagons that convey some information about ion composition in > waters. My explanation will hopefully make more sense if you first view > the example diagram on wikipedia. > > Plotting polygons looks fairly simple and straightforward, but only if I > arbitrarily insert numbers I need. I am wondering if I can make a custom > plot where the x axis is symmetrically bound (0, 20), left and right of 0, > e.g. (+20----+10-----0----+10----+20), and the y axis has fixed values for > specific ions. Is there a way to map a text label for the ions to a > specific numerical value, and have no intervening numerical values? > For instance, if I will always have variables, a, b, c to the left of 0, > a*,b*, c* to the right of 0, mapped to the same y-value constants (the ion > of interest): > (a, -1), (a*, -1*) > (b, -8), (b*, -8*) > (c, -15), (c*, -15*) > > where, > -1, -8, -15 are just arbitrary positions for plotting the ion names (3 to > left of 0, 3* to the right of 0). I looked through demo graphs and > starting browsing through tutorials, but I didn't see anything immediately > applicable. Where should I start? Any pointers? > > Thank you for reading! > > Joseph > > > > > > > > ------------------------------------------------------------------------------ > 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/Creating-Stiff-Diagrams-tp26035651p26041711.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-24 09:46:21
|
'binary' and 'time/date' somehow don't work together,
gnuplot still expects the date as a string in 'binary' mode.
this somehow doesn't make sense...
if you want to compile your own special version of gnuplot
try the following patch:
> diff -u src/datafile.c.orig src/datafile.c
--- src/datafile.c.orig 2009-10-24 11:14:18.000000000 +0200
+++ src/datafile.c 2009-10-24 11:30:18.000000000 +0200
@@ -4539,20 +4539,15 @@
struct tm tm;
if (column > df_no_cols
- || df_column[column - 1].good == DF_MISSING
- || !df_column[column - 1].position
- || !gstrptime(df_column[column - 1].position,
- axis_array[df_axis[output]].timefmt,
- &tm)) {
+ || df_column[column - 1].good == DF_MISSING) {
/* line bad only if user explicitly asked
* for this column */
if (df_no_use_specs)
line_okay = 0;
-
/* return or ignore line depending on line_okay */
break;
}
- v[output] = (double) gtimegm(&tm);
+ v[output] = df_column[column - 1].datum;
} else if ((column <= df_no_cols)
&& df_column[column - 1].good == DF_GOOD)
v[output] = df_column[column - 1].datum;
Johannes russek wrote:
>
> Hello everybody,
>
> I have a binary file that was created with pack("l*",$time,$value); from
> php.
>
> I can plot the contents of the file fine with
>
> unset key
> set xtics rotate
> plot 'data.bin' binary format='%int32%int32' using 1:2 with lines
>
> however, i would like to have the tics on the x-axis as readable
> date/time.
> but when i use this (with or without set timefmt "%s"):
>
> unset key
> set xdata time
> set format x "%r %D"
> set xtics rotate
> plot 'data.bin' binary format='%int32%int32' u 1:2 with lines
>
> i only get an error:
>
> gnuplot> plot 'data.bin' binary format='%int32%int32' u 1:2 with lines
> ^
> line 0: warning: Skipping data file with no valid points
>
> gnuplot> plot 'data.bin' binary format='%int32%int32' u 1:2 with lines
> ^
> line 0: x range is invalid
>
> what am i doing wrong or how can i read time values from a binary file?
>
> Thanks,
> Johannes
>
>
>
> ------------------------------------------------------------------------------
> 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/pulling-x-axis-time-information-from-a-binary-file-tp26008451p26037519.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2009-10-24 09:12:51
|
maybe you should post the commands you used to plot the data. normally, two empty lines in between cause the plot to be interrupted. febty wrote: > > Dear all, > > If I have data like below > > 1 10 > 3 2 > 5 3 > > > 7 4 > 9 5 > > How to plot graph so that there is no straight line which connecting > between the four and the fifth column? > I used command set datafile missing "", but there was straight line which > represent the no data column. > > any help are appreciated. > > best regards, > febty > -- View this message in context: http://www.nabble.com/plotting-no-data-on-graph-tp26019816p26037301.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-24 08:55:52
|
change the 'fence plot' example a little bit:
reset
sinc(u,v) = sin(sqrt(u**2+v**2)) / sqrt(u**2+v**2)
set zrange [-1:1]
set xrange [-5:5]; set yrange [-5:5]
set parametric
set isosamples 2,33
xx=-5; dx=(4.99-(-4.99))/9
x0=xx; xx=xx+dx
x1=xx; xx=xx+dx
x2=xx; xx=xx+dx
x3=xx; xx=xx+dx
x4=xx; xx=xx+dx
x5=xx; xx=xx+dx
x6=xx; xx=xx+dx
x7=xx; xx=xx+dx
x8=xx; xx=xx+dx
x9=xx; xx=xx+dx
splot [][v=-4.99:4.99] \
x0, v, sinc(x0,v) with lines lw 5 palette notitle, \
x1, v, sinc(x1,v) with lines lw 5 palette notitle, \
x2, v, sinc(x2,v) with lines lw 5 palette notitle, \
x3, v, sinc(x3,v) with lines lw 5 palette notitle, \
x4, v, sinc(x4,v) with lines lw 5 palette notitle, \
x5, v, sinc(x5,v) with lines lw 5 palette notitle, \
x6, v, sinc(x6,v) with lines lw 5 palette notitle, \
x7, v, sinc(x7,v) with lines lw 5 palette notitle, \
x8, v, sinc(x8,v) with lines lw 5 palette notitle, \
x9, v, sinc(x9,v) with lines lw 5 palette notitle
pause -1
set view map
replot
Charlton Galvarino wrote:
>
> Hi, list.
>
> I am looking at http://gnuplot.sourceforge.net/demo_4.2/surface1.html,
> specifically the 'fence plot'. I'd like to apply that to some chlorophyll
> traces.
>
> I've been beating my head and scouring the net to see how I could take
> something like that and turn it into a 2d image but not lose the data.
> I've gone through many hands on iterations, and nothing turns out quite
> right.
>
> In the case of that example, I would want to drag the image down such that
> the X and Y axes would appear normally as a 2d chart, but the -1 to 1 Z
> axis data would be color-coded by a smooth gradient that I might see had I
> splot-ted w/ a palette.
>
> In other words, I'd end up w/ 10 vertical lines on a 2d chart, but these
> vertical lines would each have multiple colors within each one to
> represent the Z value. Each line would be like a variably colored
> gummyworm.
>
> Ha, leave it to google images to give me an example
> http://tinyurl.com/yfml25m.
>
> I hope that description makes some sense.
>
> Many thanks,
>
> Charlton
>
>
>
>
>
> Charlton Galvarino
> 1 (803) 233-6205 : voice
> 1 (803) 223-9579 : fax
> cha...@2c...
>
> P.O. Box 50960
> Columbia, SC 29250
>
>
> ------------------------------------------------------------------------------
> 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/2d-fence-plot-w--variable-color-tp26031985p26037205.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: No S. <ly...@ym...> - 2009-10-24 02:30:44
|
Hello,
I am new to gnuplot, and am hoping I might be able to use it to create Stiff diagrams (link to wikipedia)--basically I want to plot some irregular hexagons that convey some information about ion composition in waters. My explanation will hopefully make more sense if you first view the example diagram on wikipedia.
Plotting polygons looks fairly simple and straightforward, but only if I arbitrarily insert numbers I need. I am wondering if I can make a custom plot where the x axis is symmetrically bound (0, 20), left and right of 0, e.g. (+20----+10-----0----+10----+20), and the y axis has fixed values for specific ions. Is there a way to map a text label for the ions to a specific numerical value, and have no intervening numerical values?
For instance, if I will always have variables, a, b, c to the left of 0, a*,b*, c* to the right of 0, mapped to the same y-value constants (the ion of interest):
(a, -1), (a*, -1*)
(b, -8), (b*, -8*)
(c, -15), (c*, -15*)
where,
-1, -8, -15 are just arbitrary positions for plotting the ion names (3 to left of 0, 3* to the right of 0). I looked through demo graphs and starting browsing through tutorials, but I didn't see anything immediately applicable. Where should I start? Any pointers?
Thank you for reading!
Joseph
|
|
From: Charlton G. <cha...@2c...> - 2009-10-23 19:24:03
|
Hi, list. I am looking at http://gnuplot.sourceforge.net/demo_4.2/surface1.html, specifically the 'fence plot'. I'd like to apply that to some chlorophyll traces. I've been beating my head and scouring the net to see how I could take something like that and turn it into a 2d image but not lose the data. I've gone through many hands on iterations, and nothing turns out quite right. In the case of that example, I would want to drag the image down such that the X and Y axes would appear normally as a 2d chart, but the -1 to 1 Z axis data would be color-coded by a smooth gradient that I might see had I splot-ted w/ a palette. In other words, I'd end up w/ 10 vertical lines on a 2d chart, but these vertical lines would each have multiple colors within each one to represent the Z value. Each line would be like a variably colored gummyworm. Ha, leave it to google images to give me an example http://tinyurl.com/yfml25m. I hope that description makes some sense. Many thanks, Charlton Charlton Galvarino 1 (803) 233-6205 : voice 1 (803) 223-9579 : fax cha...@2c... P.O. Box 50960 Columbia, SC 29250 |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-10-23 18:29:40
|
arvin mer wrote: > Hi to all, > > I am making ps file by fellowing commands [...] You left out the most important one: the "set terminal postcript" line. The information you're lacking is in the documentation for that command.See "help postscript" and pay special attention to the "solid" option. |
|
From: arvin m. <arv...@ya...> - 2009-10-23 07:18:12
|
Hi to all,
I am making ps file by fellowing commands
set output "try.ps"
set size 1 ,1
set linestyle 1 linetype 1 linewidth 8
set linestyle 2 linetype 2 linewidth 8
pl "file.data" u 1:2 w l ls 1, "file.data" u 1:3 w l ls 2
In the output I am getting a Solid RED line and Dashed Green line but I want the Solid Green line.
I want to change this Dashed Green line into Solid Green line.
I think its trivial but I am not getting right answer :(
Please help
best regards,
Arvind
|
|
From: febty <fe...@gm...> - 2009-10-23 01:56:24
|
Dear all, If I have data like below 1 10 3 2 5 3 7 4 9 5 How to plot graph so that there is no straight line which connecting between the four and the fifth column? I used command set datafile missing "", but there was straight line which represent the no data column. any help are appreciated. best regards, febty -- View this message in context: http://www.nabble.com/plotting-no-data-on-graph-tp26019816p26019816.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-22 19:07:20
|
an 'unknown' terminal is invisible... you should 'set terminal' to something reasonable. a list of available terminals you will get with set terminal jmyosra wrote: > > this is what I have > yosra@yosra-desktop:~/Bureau/gnuplot-3.7.3$ ./gnuplot > > G N U P L O T > Version 3.7 patchlevel 3 > last modified Thu Dec 12 13:00:00 GMT 2002 > System: Linux 2.6.22-14-generic > > Copyright(C) 1986 - 1993, 1998 - 2002 > Thomas Williams, Colin Kelley and many others > > Type `help` to access the on-line reference manual > The gnuplot FAQ is available from > http://www.gnuplot.info/gnuplot-faq.html > > Send comments and requests for help to > <inf...@da...> > Send bugs, suggestions and mods to <bug...@da...> > > > Terminal type set to 'unknown' > gnuplot> plot (x) > > > > > > Thomas Sefzick wrote: >> >> how did you install gnuplot? >> if you used a package manager then there should be no missing packages. >> >> when gnuplot starts there a several messages, could you post them here? >> the last message tells which terminal is used, which one is it? >> >> >> jmyosra wrote: >>> >>> >>> Hi, >>> please can you help me, I'm working under ubuntu 7. I installed the >>> gnuplot but my problem is that when I want a plot I have nothing on the >>> screen. So for example when I tape gnuplot> plot x**2, >>> x**2+12*x*sin(sqrt(x)) I haven't the plot:( .is it due to installation >>> ? do I have any missing package? >>> could you help me please? >>> >> >> > > -- View this message in context: http://www.nabble.com/can%27t-see-the-plotting-tp26001608p26015507.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: jr <joh...@io...> - 2009-10-22 11:39:36
|
Hello everybody,
I have a binary file that was created with pack("l*",$time,$value); from
php.
I can plot the contents of the file fine with
unset key
set xtics rotate
plot 'data.bin' binary format='%int32%int32' using 1:2 with lines
however, i would like to have the tics on the x-axis as readable
date/time.
but when i use this (with or without set timefmt "%s"):
unset key
set xdata time
set format x "%r %D"
set xtics rotate
plot 'data.bin' binary format='%int32%int32' u 1:2 with lines
i only get an error:
gnuplot> plot 'data.bin' binary format='%int32%int32' u 1:2 with lines
^
line 0: warning: Skipping data file with no valid points
gnuplot> plot 'data.bin' binary format='%int32%int32' u 1:2 with lines
^
line 0: x range is invalid
what am i doing wrong or how can i read time values from a binary file?
Thanks,
Johannes
|
|
From: Thomas S. <t.s...@fz...> - 2009-10-22 07:03:22
|
how did you install gnuplot? if you used a package manager then there should be no missing packages. when gnuplot starts there a several messages, could you post them here? the last message tells which terminal is used, which one is it? jmyosra wrote: > > > Hi, > please can you help me, I'm working under ubuntu 7. I installed the > gnuplot but my problem is that when I want a plot I have nothing on the > screen. So for example when I tape gnuplot> plot x**2, > x**2+12*x*sin(sqrt(x)) I haven't the plot:( .is it due to installation ? > do I have any missing package? > could you help me please? > -- View this message in context: http://www.nabble.com/can%27t-see-the-plotting-tp26001608p26005021.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: xuxa <kr...@On...> - 2009-10-21 08:01:20
|
Mr Sefzick, you are a rockstar. The boxes version works perfectly. Before your response, I didn't realize I was mixing the two types (I was unfamiliar with the "using 1:($2+$3+$4+$5)" format.) Thank you very, very much! It really is amazing how much support you provide at this forum! Kris Thomas Sefzick wrote: > > use either histograms or boxes, not both at the same time. > > histograms: > set style fill solid 1 border -1 > set style data histograms > set style histogram rowstacked > set xtics rotate > plot '/data/personal/prac_data.dat' using 2:xtic(1) title "Personal", '' > using 3 title "On Ensemble", '' using 4 title "Group", '' using 5 title > "Live" > > boxes: > set style fill solid 1 border -1 > set xdata time > set timefmt "%y%m%d" > set xtics rotate > plot '/data/personal/prac_data.dat' using 1:($2+$3+$4+$5) title "Live" > with boxes, '' using 1:($2+$3+$4) title "Group" with boxes, '' using > 1:($2+$3)title "On Ensemble" with boxes, '' using 1:2 title "Personal" > with boxes > > > -- View this message in context: http://www.nabble.com/Stacked-histogram-bars-not-properly-added-tp25987063p25988100.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-21 07:33:37
|
use either histograms or boxes, not both at the same time. histograms: set style fill solid 1 border -1 set style data histograms set style histogram rowstacked set xtics rotate plot '/data/personal/prac_data.dat' using 2:xtic(1) title "Personal", '' using 3 title "On Ensemble", '' using 4 title "Group", '' using 5 title "Live" boxes: set style fill solid 1 border -1 set xdata time set timefmt "%y%m%d" set xtics rotate plot '/data/personal/prac_data.dat' using 1:($2+$3+$4+$5) title "Live" with boxes, '' using 1:($2+$3+$4) title "Group" with boxes, '' using 1:($2+$3)title "On Ensemble" with boxes, '' using 1:2 title "Personal" with boxes xuxa wrote: > > I am a musician trying to create a graph that tracks my daily practice in > four categories. I just read about other people's issues with stacked > histograms but have not been able to translate the responses to my > particular situation. > > gnuplot doesn't seem to be including all the values in the histogram bars. > For example, with the following data: > > # Per On Grp Live > 090621 1 2 3 4 > 090622 0 1 2 3 # June 22 > 090623 0 0 1 2 > 090624 0 0 0 1 > 090625 2 3 4 5 > ... (plus lots of other, more random data)... > > And the following script... > > set style fill solid 1 border -1 > set style data histograms > set style histogram rowstacked > set xdata time > set timefmt "%y%m%d" > set xtics rotate > plot '/data/personal/prac_data.dat' using 1:2 title "Personal" with boxes, > '' using 1:3 title "On Ensemble" with boxes, '' using 1:4 title "Group" > with boxes, '' using 1:5 title "Live" with boxes > pause -1 "Hit any key to continue" > > I get this: > http://onensemble.org/krisShare/gnuplot_hist_prob.jpg > > Notice how only the last value in each row is actually being used in many > of the bars. > > Any ideas what I'm doing incorrectly? > > Kris > > -- View this message in context: http://www.nabble.com/Stacked-histogram-bars-not-properly-added-tp25987063p25987778.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Steve C. <sc...@ja...> - 2009-10-20 18:04:05
|
Yes, thanks, Thomas, for all your help. This technique works, and I'm not sure why I thought it didn't. It works with impulses too. Working too hard, I guess. Thanks again. Thomas Sefzick wrote: > you may use boxes instead of impulses: > > set title "Database Connections" > set key below > set xdata time > set timefmt "%Y-%m-%d %H:%M" > set format x "%H:%M" > set style fill solid > set boxwidth 60.0 > set yrange [0:] > plot 'latest-connections.dat' using 1:7 with boxes title "other", \ > '' using 1:($3+$4+$5+$6) with boxes title "D", \ > '' using 1:($3+$4+$5) with boxes title "C", \ > '' using 1:($3+$4) with boxes title "B", \ > '' using 1:($3) with boxes title "A" > > but, if the highest impulses overdraw the smaller ones then there > is something wrong with your gnuplot 4.0 installation. i can not > reproduce this behavior here with > G N U P L O T > Version 4.0 patchlevel 0 > last modified Thu Apr 15 14:44:22 CEST 2004 > System: Linux 2.6.27.29-0.1-pae > > > Steve Cohen wrote: > >> Thanks, Thomas - this works - up to a point. The bars display as I >> wanted them to. >> >> However, part of the point of my earlier attempt was to get the >> time-based x-axis to show recognizable times (17:30, etc.) In this >> graph, since there are so many bars so close together, the time values >> overwrite each other beneath the x-axis making an unrecognizable line of >> black mess. How would I fix this? >> >> Also, unfortunately, the server I ultimately want to run this on runs >> RedHat EL which has not released a distro yet that includes Gnuplot 4.2, >> and so I am restricted to using 4.0 there. Over there I could ALMOST get >> what I like running using the following with the same data. This WORKS >> on 4.2, but on 4.0 the largest impulse overwrites all the others so that >> only the first impulse is seen. >> >> set title "Database Connections" >> set key below >> set xdata time >> set timefmt "%Y-%m-%d %H:%M" >> set format x "%H:%M" >> set yrange [0:*] >> >> plot 'latest-connections.dat' using 1:7 title "other" with impulses, \ >> 'latest-connections.dat' using 1:($6+$5+$4+$3) title "A" with impulses, \ >> 'latest-connections.dat' using 1:($5+$4+$3) title "B" with impulses, \ >> 'latest-connections.dat' using 1:($4+$3) title "C" with impulses, \ >> 'latest-connections.dat' using 1:3 title "C" with impulses >> >> Is there a way to do something like this in 4.0? Because I haven't found >> it, I am restricted to a messy and somewhat inadquate replacement using >> impulses for the whole and points for the parts, which is somewhat >> informative but I want it to stack. >> >> >> >> Thomas Sefzick wrote: >> >>> you mix xticlabels for histograms and x-axis timedata. >>> this can not work. and, your column numbering is not >>> correct. >>> use following script and see if it does what you expect: >>> >>> reset >>> set title "Database Connections" >>> set key below >>> set style data histogram >>> set style histogram rowstacked >>> set style fill solid noborder >>> set boxwidth 0.75 >>> plot 'latest-connections.dat' using 3:xtic(2) title "A", \ >>> '' using 4 title "B", \ >>> '' using 5 title "C", \ >>> '' using 6 title "D", '' using ($7-($3+$4+$5+$6)) title "other" >>> >>> >>> Steve Cohen wrote: >>> >>> >>>> All the samples tend to assume that you are working from a data file >>>> where the header row contains the labels for each piece of the stack. >>>> That is not the case in my situation. I want to supply the labels from >>>> each stack in the script. >>>> >>>> My script is as follows: >>>> >>>> #set terminal png transparent nocrop enhanced size 900 600 >>>> #set output 'latest-connections.png' >>>> set title "Database Connections" >>>> set key below >>>> set xdata time >>>> set timefmt "%Y-%m-%d %H:%M" >>>> set format x "%H:%M" >>>> set style data histogram >>>> set style histogram rowstacked >>>> set style fill solid noborder >>>> >>>> plot 'latest-connections.dat' using 1 "%Y-%m-%d %H:%M", \ >>>> '' using 2 title "A", \ >>>> '' using 3 title "B", \ >>>> '' using 4 title "C", \ >>>> '' using 5 title "D", \ >>>> '' using ($6-($2+$3+$4+$5)) title "other" >>>> ------------------------------------------ >>>> >>>> Data File is as follows: >>>> >>>> 2009-10-17 10:15 5 0 0 22 27 >>>> 2009-10-17 10:17 5 0 0 8 13 >>>> 2009-10-17 10:19 5 0 0 8 13 >>>> 2009-10-17 10:31 5 0 0 13 18 >>>> ... >>>> >>>> Error message is: >>>> >>>> "connections2.gplot", line 17: Please use between 1 and 7 conversions, >>>> of type double (%lf) >>>> >>>> Not sure what this means or what I must do to correct it. >>>> >>>> Can someone help? >>>> >>>> Thanks. >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------------ >> 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 >> >> >> > > |
|
From: Thomas S. <t.s...@fz...> - 2009-10-20 12:08:03
|
let the two data sets use separate regions of the palette: splot './data/file1.txt' using 2:3:4:1 with points pointtype 1, \ './data/file2.txt' using 2:3:4:($1+max_z_value_of_first_data_set) with points pointtype 1 Joost Kraaijeveld wrote: > > On Tue, 2009-10-20 at 15:42 +0530, Rajarshi Tiwari wrote: >> Yes, >> splot './data/file1.txt' using 2:3:4:1 with linespoints linetype 1 >> pointtype 1 linecolor 1, \ >> './data/file2.txt' using 2:3:4:1 with linespoints linetype 1 pointtype >> 1 linecolor 1 > > This does not do the trick. > > >> Will create plot with identical style, which you can change by tunning >> the parameters. >> By the way, how come you have 4 columns (2:3:4:1) for splot? > > The last column will be used by the palette to determine the colour of > the dot in the graph. > > > -- > Groeten, > > Joost Kraaijeveld > Askesis B.V. > Molukkenstraat 14 > 6524NB Nijmegen > tel: 024-3888063 / 06-51855277 > fax: 024-3608416 > web: www.askesis.nl > > > > ------------------------------------------------------------------------------ > 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/2-file-3D-splot-with-different-palettes-or-points-possible--tp25972312p25973953.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Joost K. <J.K...@As...> - 2009-10-20 10:19:07
|
On Tue, 2009-10-20 at 15:42 +0530, Rajarshi Tiwari wrote: > Yes, > splot './data/file1.txt' using 2:3:4:1 with linespoints linetype 1 > pointtype 1 linecolor 1, \ > './data/file2.txt' using 2:3:4:1 with linespoints linetype 1 pointtype > 1 linecolor 1 This does not do the trick. > Will create plot with identical style, which you can change by tunning > the parameters. > By the way, how come you have 4 columns (2:3:4:1) for splot? The last column will be used by the palette to determine the colour of the dot in the graph. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl |
|
From: Joost K. <J.K...@As...> - 2009-10-20 09:35:48
|
Hi, I want to combine the contents of 2 files in 1 3-d plot. The following command does almost what I want: splot './data/file1.txt' using 2:3:4:1 , \ './data/file2.txt' using 2:3:4:1 But this will create a plot where each file differs just in the dot-marker ( '+' for the first file, 'x' for the second file). This gives a poor plot, given the number of dots. Is it possible to change the point to a singe dot and use a different palette for each file? If so, what should be the exact syntax as all my attempts to change the global palette an/or point type failed miserably. TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl |
|
From: Thomas S. <t.s...@fz...> - 2009-10-20 08:17:45
|
you may use boxes instead of impulses: set title "Database Connections" set key below set xdata time set timefmt "%Y-%m-%d %H:%M" set format x "%H:%M" set style fill solid set boxwidth 60.0 set yrange [0:] plot 'latest-connections.dat' using 1:7 with boxes title "other", \ '' using 1:($3+$4+$5+$6) with boxes title "D", \ '' using 1:($3+$4+$5) with boxes title "C", \ '' using 1:($3+$4) with boxes title "B", \ '' using 1:($3) with boxes title "A" but, if the highest impulses overdraw the smaller ones then there is something wrong with your gnuplot 4.0 installation. i can not reproduce this behavior here with G N U P L O T Version 4.0 patchlevel 0 last modified Thu Apr 15 14:44:22 CEST 2004 System: Linux 2.6.27.29-0.1-pae Steve Cohen wrote: > > Thanks, Thomas - this works - up to a point. The bars display as I > wanted them to. > > However, part of the point of my earlier attempt was to get the > time-based x-axis to show recognizable times (17:30, etc.) In this > graph, since there are so many bars so close together, the time values > overwrite each other beneath the x-axis making an unrecognizable line of > black mess. How would I fix this? > > Also, unfortunately, the server I ultimately want to run this on runs > RedHat EL which has not released a distro yet that includes Gnuplot 4.2, > and so I am restricted to using 4.0 there. Over there I could ALMOST get > what I like running using the following with the same data. This WORKS > on 4.2, but on 4.0 the largest impulse overwrites all the others so that > only the first impulse is seen. > > set title "Database Connections" > set key below > set xdata time > set timefmt "%Y-%m-%d %H:%M" > set format x "%H:%M" > set yrange [0:*] > > plot 'latest-connections.dat' using 1:7 title "other" with impulses, \ > 'latest-connections.dat' using 1:($6+$5+$4+$3) title "A" with impulses, \ > 'latest-connections.dat' using 1:($5+$4+$3) title "B" with impulses, \ > 'latest-connections.dat' using 1:($4+$3) title "C" with impulses, \ > 'latest-connections.dat' using 1:3 title "C" with impulses > > Is there a way to do something like this in 4.0? Because I haven't found > it, I am restricted to a messy and somewhat inadquate replacement using > impulses for the whole and points for the parts, which is somewhat > informative but I want it to stack. > > > > Thomas Sefzick wrote: >> you mix xticlabels for histograms and x-axis timedata. >> this can not work. and, your column numbering is not >> correct. >> use following script and see if it does what you expect: >> >> reset >> set title "Database Connections" >> set key below >> set style data histogram >> set style histogram rowstacked >> set style fill solid noborder >> set boxwidth 0.75 >> plot 'latest-connections.dat' using 3:xtic(2) title "A", \ >> '' using 4 title "B", \ >> '' using 5 title "C", \ >> '' using 6 title "D", '' using ($7-($3+$4+$5+$6)) title "other" >> >> >> Steve Cohen wrote: >> >>> All the samples tend to assume that you are working from a data file >>> where the header row contains the labels for each piece of the stack. >>> That is not the case in my situation. I want to supply the labels from >>> each stack in the script. >>> >>> My script is as follows: >>> >>> #set terminal png transparent nocrop enhanced size 900 600 >>> #set output 'latest-connections.png' >>> set title "Database Connections" >>> set key below >>> set xdata time >>> set timefmt "%Y-%m-%d %H:%M" >>> set format x "%H:%M" >>> set style data histogram >>> set style histogram rowstacked >>> set style fill solid noborder >>> >>> plot 'latest-connections.dat' using 1 "%Y-%m-%d %H:%M", \ >>> '' using 2 title "A", \ >>> '' using 3 title "B", \ >>> '' using 4 title "C", \ >>> '' using 5 title "D", \ >>> '' using ($6-($2+$3+$4+$5)) title "other" >>> ------------------------------------------ >>> >>> Data File is as follows: >>> >>> 2009-10-17 10:15 5 0 0 22 27 >>> 2009-10-17 10:17 5 0 0 8 13 >>> 2009-10-17 10:19 5 0 0 8 13 >>> 2009-10-17 10:31 5 0 0 13 18 >>> ... >>> >>> Error message is: >>> >>> "connections2.gplot", line 17: Please use between 1 and 7 conversions, >>> of type double (%lf) >>> >>> Not sure what this means or what I must do to correct it. >>> >>> Can someone help? >>> >>> Thanks. >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> >>> >>> >> >> > > > ------------------------------------------------------------------------------ > 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/need-help-with-stacked-histogram-tp25949495p25971349.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Steve C. <sc...@ja...> - 2009-10-19 23:12:29
|
Thanks, Thomas - this works - up to a point. The bars display as I wanted them to. However, part of the point of my earlier attempt was to get the time-based x-axis to show recognizable times (17:30, etc.) In this graph, since there are so many bars so close together, the time values overwrite each other beneath the x-axis making an unrecognizable line of black mess. How would I fix this? Also, unfortunately, the server I ultimately want to run this on runs RedHat EL which has not released a distro yet that includes Gnuplot 4.2, and so I am restricted to using 4.0 there. Over there I could ALMOST get what I like running using the following with the same data. This WORKS on 4.2, but on 4.0 the largest impulse overwrites all the others so that only the first impulse is seen. set title "Database Connections" set key below set xdata time set timefmt "%Y-%m-%d %H:%M" set format x "%H:%M" set yrange [0:*] plot 'latest-connections.dat' using 1:7 title "other" with impulses, \ 'latest-connections.dat' using 1:($6+$5+$4+$3) title "A" with impulses, \ 'latest-connections.dat' using 1:($5+$4+$3) title "B" with impulses, \ 'latest-connections.dat' using 1:($4+$3) title "C" with impulses, \ 'latest-connections.dat' using 1:3 title "C" with impulses Is there a way to do something like this in 4.0? Because I haven't found it, I am restricted to a messy and somewhat inadquate replacement using impulses for the whole and points for the parts, which is somewhat informative but I want it to stack. Thomas Sefzick wrote: > you mix xticlabels for histograms and x-axis timedata. > this can not work. and, your column numbering is not > correct. > use following script and see if it does what you expect: > > reset > set title "Database Connections" > set key below > set style data histogram > set style histogram rowstacked > set style fill solid noborder > set boxwidth 0.75 > plot 'latest-connections.dat' using 3:xtic(2) title "A", \ > '' using 4 title "B", \ > '' using 5 title "C", \ > '' using 6 title "D", '' using ($7-($3+$4+$5+$6)) title "other" > > > Steve Cohen wrote: > >> All the samples tend to assume that you are working from a data file >> where the header row contains the labels for each piece of the stack. >> That is not the case in my situation. I want to supply the labels from >> each stack in the script. >> >> My script is as follows: >> >> #set terminal png transparent nocrop enhanced size 900 600 >> #set output 'latest-connections.png' >> set title "Database Connections" >> set key below >> set xdata time >> set timefmt "%Y-%m-%d %H:%M" >> set format x "%H:%M" >> set style data histogram >> set style histogram rowstacked >> set style fill solid noborder >> >> plot 'latest-connections.dat' using 1 "%Y-%m-%d %H:%M", \ >> '' using 2 title "A", \ >> '' using 3 title "B", \ >> '' using 4 title "C", \ >> '' using 5 title "D", \ >> '' using ($6-($2+$3+$4+$5)) title "other" >> ------------------------------------------ >> >> Data File is as follows: >> >> 2009-10-17 10:15 5 0 0 22 27 >> 2009-10-17 10:17 5 0 0 8 13 >> 2009-10-17 10:19 5 0 0 8 13 >> 2009-10-17 10:31 5 0 0 13 18 >> ... >> >> Error message is: >> >> "connections2.gplot", line 17: Please use between 1 and 7 conversions, >> of type double (%lf) >> >> Not sure what this means or what I must do to correct it. >> >> Can someone help? >> >> Thanks. >> >> >> >> >> ------------------------------------------------------------------------------ >> 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 >> >> >> > > |