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: Zhong R. <re...@uc...> - 2009-06-11 21:07:52
|
This is one of the demos: set contour base splot x**2*y**3, x**3*y**2 It draws two surfaces and contours both at base. Now, I would like to put the contours at different z-levels. Is there a way to specify them? I tried to use set xyplane at <z>. Both contours went there. How to separate them at different levels? Thanks for any hint. Zhong |
|
From: babelproofreader <bab...@gm...> - 2009-06-11 18:05:52
|
Thomas, You are right, I was "calling" a script and you have solved my problem now. Many thanks. -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23986268.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-11 11:16:02
|
it's an error in 'graphics.c' you can see the difference when plotting without color specification: plot '-' using 1:2 there everthing is ok. i'll upload a patch on sorceforge. Corey Hickey wrote: > > Hello, > > I want to make a bar chart and specify the color with which each bar is > filled. Here's a simplified version of what I have: > > -------------------------------- > set terminal png size 200,200 > set style data boxes > set style fill solid 1 border -1 > plot '-' using 1:2 lt rgb "blue" > 1 0 > 2 4 > 3 30 > e > -------------------------------- > > That works ok for me, except that I end up with a 1-pixel wide "shadow" > of blue pixels along the top and right edges of each bar, outside the > black outline. See the attached chart.png or 2x.png (size doubled with > imagemagick). Note also the thin blue line at X=1, where the Y value is 0. > > I experimented a bit and determined that not all terminal types behave > this way. For example: > > has a shadow: png, gif, jpeg > without shadow: wxt, svg > > So, am I specifying the color correctly? I can't find any other way to > do it. > > I'm using Debian's gnuplot package, version 4.2.5-1; I also built 4.2.5 > and CVS from source, and they both behave the same way. > > Thanks, > Corey > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/problem-specifying-fill-color-for-boxes-tp23975642p23979365.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Corey H. <bug...@fa...> - 2009-06-11 05:48:18
|
Hello, I want to make a bar chart and specify the color with which each bar is filled. Here's a simplified version of what I have: -------------------------------- set terminal png size 200,200 set style data boxes set style fill solid 1 border -1 plot '-' using 1:2 lt rgb "blue" 1 0 2 4 3 30 e -------------------------------- That works ok for me, except that I end up with a 1-pixel wide "shadow" of blue pixels along the top and right edges of each bar, outside the black outline. See the attached chart.png or 2x.png (size doubled with imagemagick). Note also the thin blue line at X=1, where the Y value is 0. I experimented a bit and determined that not all terminal types behave this way. For example: has a shadow: png, gif, jpeg without shadow: wxt, svg So, am I specifying the color correctly? I can't find any other way to do it. I'm using Debian's gnuplot package, version 4.2.5-1; I also built 4.2.5 and CVS from source, and they both behave the same way. Thanks, Corey |
|
From: Zhong R. <re...@uc...> - 2009-06-10 22:29:38
|
That means most of the function values are around 0, equal amount of them are greater than 0 and less than 0. Less and less are large positive, and the same amount of them are large negative. I said the "function values" are symmetrically distributed, not x, y, z. People use red and green nets in 3D space to represent positive and negative contour surfaces, respectively. Hope this clarifies a bit. Zhong ---- Original message ---- >Date: Wed, 10 Jun 2009 22:34:38 +0200 >From: Hans-Bernhard Bröker <HBB...@t-...> >Subject: Re: [Gnuplot-info] 3D function >To: re...@uc... >Cc: gnu...@li... > >Zhong Ren wrote: >> Hi, >> >> I have a 3D function f(x, y, z) in form of a data file of 4 >> columns x, y, z, and f. The distribution of the function >> value f is symmetrical around 0 > >Symmetrical --- how? There are quite a number of symmetries a 3D field >can have. > |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-06-10 20:34:47
|
Zhong Ren wrote: > Hi, > > I have a 3D function f(x, y, z) in form of a data file of 4 > columns x, y, z, and f. The distribution of the function > value f is symmetrical around 0 Symmetrical --- how? There are quite a number of symmetries a 3D field can have. |
|
From: Zhong R. <re...@uc...> - 2009-06-10 16:04:20
|
Hi, I have a 3D function f(x, y, z) in form of a data file of 4 columns x, y, z, and f. The distribution of the function value f is symmetrical around 0 following a normal distribution. What is the best way to represent this kind of data in Gnuplot? Is there any example I can reference? Some software uses 3D net to represent contour surfaces. Thanks for any suggestions. Zhong |
|
From: Thomas S. <t.s...@fz...> - 2009-06-10 13:21:55
|
found it...
in your answer to another topic ('source filename as parameter')
i saw that you 'call' a script - so i assume you do it here, too.
there is a note at the end of the help information for the 'call'
command:
http://www.gnuplot.info/docs/node79.html
so,
plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, "" using
1:($$23<0?$$53:1/0) notitle with line lt 3, "" using 1:($$23>0?$$54:1/0)
notitle with line lt 1
will work.
babelproofreader wrote:
>
> Thomas,
>
> Thanks for your efforts to help me with this problem.
>
> I'm reluctant to uninstall the synaptic packages and compile from source
> because at the moment everything, apart from this conditional plotting, is
> working as I want. I don't want to risk running into unforseen problems
> with a source compile. For the moment I can live without the conditional
> plotting facility. I will revisit this issue at a future date if/when the
> need for conditional plotting becomes more pressing.
>
--
View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23962229.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2009-06-10 07:20:06
|
you don't have to uninstall anything. you can download the gnuplot sources into a directory in your $HOME tree and compile it there and start it from there - without damaging the original installation. see: http://www.gnuplot.info/development/index.html#BuildingFromCVS babelproofreader wrote: > > Thomas, > > Thanks for your efforts to help me with this problem. > > I'm reluctant to uninstall the synaptic packages and compile from source > because at the moment everything, apart from this conditional plotting, is > working as I want. I don't want to risk running into unforseen problems > with a source compile. For the moment I can live without the conditional > plotting facility. I will revisit this issue at a future date if/when the > need for conditional plotting becomes more pressing. > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23957005.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-09 20:36:29
|
Thomas, Thanks for your efforts to help me with this problem. I'm reluctant to uninstall the synaptic packages and compile from source because at the moment everything, apart from this conditional plotting, is working as I want. I don't want to risk running into unforseen problems with a source compile. For the moment I can live without the conditional plotting facility. I will revisit this issue at a future date if/when the need for conditional plotting becomes more pressing. -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23950809.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-09 17:23:06
|
found a p4 dual core running kubuntu 9.04.
the gnuplot installation coming with the distribution shows
no error:
G N U P L O T
Version 4.2 patchlevel 4
last modified Sep 2008
System: Linux 2.6.28-11-generic
Copyright (C) 1986 - 1993, 1998, 2004, 2007, 2008
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/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'wxt'
gnuplot> set datafile separator ","
gnuplot> set xdata time
gnuplot> set timefmt "%d/%m/%Y"
gnuplot> set table
gnuplot> plot "ts.dat" using 1:2:3:4:5 notitle with candlesticks lt 7, \
> "" using 1:($23<0?$53:1/0) notitle with line lt 3, \
> "" using 1:($23>0?$54:1/0) notitle with line lt 1
#Curve 0 of 3, 5 points
#x yopen ylow yhigh yclose type
2.9713e+08 981 990.2 974.1 980 i
2.97216e+08 976.9 988.3 970.5 984.4 i
2.97302e+08 983.2 992.1 961.5 965.6 i
2.97389e+08 964 983.4 962 982.3 i
2.97475e+08 981.4 985 953.8 962.6 i
#Curve 1 of 3, 5 points
#x y type
0 0 u
0 0 u
0 0 u
0 0 u
0 0 u
#Curve 2 of 3, 5 points
#x y type
2.9713e+08 915.1 i
2.97216e+08 915.1 i
2.97302e+08 925.2 i
2.97389e+08 925.2 i
2.97475e+08 925.2 i
gnuplot>
don't know what's happening on your system...
maybe you should compile gnuplot by yourself and see if the error remains
sorry, my xdata settings were wrong, with gnuplot_4.2.3 i get the
same x-values as you do.
you could try
'set term dumb'
but i don't think that this will change anything.
i'll try to find a ubuntu 9.04 installation.
(this may take some time...)
babelproofreader wrote:
>
>
> Thomas Sefzick wrote:
>>
>> to be sure that the error is not terminal dependent - if you 'set table'
>> and plot these five data lines again, what do you get?
>>
>> My output is quite different:
>>
>> #Curve 0 of 3, 5 points
>> #x yopen ylow yhigh yclose type
>> 2.9713e+08 981 990.2 974.1 980 i
>> 2.97216e+08 976.9 988.3 970.5 984.4 i
>> 2.97302e+08 983.2 992.1 961.5 965.6 i
>> 2.97389e+08 964 983.4 962 982.3 i
>> 2.97475e+08 981.4 985 953.8 962.6 i
>>
>>
>> #Curve 1 of 3, 5 points
>> #x y type
>> 6.90193e-310 6.84261e-317 u
>> 3.73084e-317 2.13436e-321 u
>> 5.02465e-321 1 u
>> 0 0 u
>> 6.90179e-310 2.61748e-310 u
>>
>>
>> #Curve 2 of 3, 5 points
>> #x y type
>> 2.9713e+08 4 i
>> 2.97216e+08 4 i
>> 2.97302e+08 4 i
>> 2.97389e+08 4 i
>> 2.97475e+08 4 i
>>
>> Anticipating that the problem might be with my terminal settings, I
>> notice that when I first start Gnuplot there is this output
>>
>> Terminal type set to 'wxt'
>> gnuplot>
>>
>> Should my terminal type be set to something different?
>>
>
--
View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23947533.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2009-06-09 13:12:43
|
sorry, my xdata settings were wrong, with gnuplot_4.2.3 i get the same x-values as you do. you could try 'set term dumb' but i don't think that this will change anything. i'll try to find a ubuntu 9.04 installation. (this may take some time...) Thomas Sefzick wrote: > > to be sure that the error is not terminal dependent - if you 'set table' > and plot these five data lines again, what do you get? > > My output is quite different: > > #Curve 0 of 3, 5 points > #x yopen ylow yhigh yclose type > 2.9713e+08 981 990.2 974.1 980 i > 2.97216e+08 976.9 988.3 970.5 984.4 i > 2.97302e+08 983.2 992.1 961.5 965.6 i > 2.97389e+08 964 983.4 962 982.3 i > 2.97475e+08 981.4 985 953.8 962.6 i > > > #Curve 1 of 3, 5 points > #x y type > 6.90193e-310 6.84261e-317 u > 3.73084e-317 2.13436e-321 u > 5.02465e-321 1 u > 0 0 u > 6.90179e-310 2.61748e-310 u > > > #Curve 2 of 3, 5 points > #x y type > 2.9713e+08 4 i > 2.97216e+08 4 i > 2.97302e+08 4 i > 2.97389e+08 4 i > 2.97475e+08 4 i > > Anticipating that the problem might be with my terminal settings, I notice > that when I first start Gnuplot there is this output > > Terminal type set to 'wxt' > gnuplot> > > Should my terminal type be set to something different? > > > > > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23942554.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-09 09:24:19
|
to be sure that the error is not terminal dependent - if you 'set table' and plot these five data lines again, what do you get? My output is quite different: #Curve 0 of 3, 5 points #x yopen ylow yhigh yclose type 2.9713e+08 981 990.2 974.1 980 i 2.97216e+08 976.9 988.3 970.5 984.4 i 2.97302e+08 983.2 992.1 961.5 965.6 i 2.97389e+08 964 983.4 962 982.3 i 2.97475e+08 981.4 985 953.8 962.6 i #Curve 1 of 3, 5 points #x y type 6.90193e-310 6.84261e-317 u 3.73084e-317 2.13436e-321 u 5.02465e-321 1 u 0 0 u 6.90179e-310 2.61748e-310 u #Curve 2 of 3, 5 points #x y type 2.9713e+08 4 i 2.97216e+08 4 i 2.97302e+08 4 i 2.97389e+08 4 i 2.97475e+08 4 i Anticipating that the problem might be with my terminal settings, I notice that when I first start Gnuplot there is this output Terminal type set to 'wxt' gnuplot> Should my terminal type be set to something different? -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23939370.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-09 07:23:11
|
to be sure that the error is not terminal dependent - if you 'set table' and plot these five data lines again, what do you get? i get this: gnuplot> set table gnuplot> plot 'ts.dat' using 1:2:3:4:5 notitle with candlesticks lt 7, "" using 1:($23<0?$53:1/0) notitle with line lt 3, "" using 1:($23>0?$54:1/0) notitle with line lt 1 # Curve 0 of 3, 5 points # x y open ylow yhigh yclose type 1 981 990.2 974.1 980 i 2 976.9 988.3 970.5 984.4 i 3 983.2 992.1 961.5 965.6 i 4 964 983.4 962 982.3 i 5 981.4 985 953.8 962.6 i # Curve 1 of 3, 5 points # x y type 6.7163e-316 0 u 0 0 u 0 0 u 0 0 u 0 0 u # Curve 2 of 3, 5 points # x y type 1 915.1 i 2 915.1 i 3 925.2 i 4 925.2 i 5 925.2 i Thomas Sefzick wrote: > > a few questions: > - if you plot the 5 lines of data you posted recently, > do you get the same plot result as i did? > No, I don't. I still get just the candlesticks with one line plotted at > the zero level and the other line is missing completely. > http://www.nabble.com/file/p23933590/%2B0%2529.png > > - how large is your data file? > the data file(s) are 3000+ lines > > - the gnuplot program - is it from the distribution or > did you compile it from source? > It is from the distribution repositories, installed via Synaptic. The > installed packages are gnuplot 4.2.4-6, gnuplot-x11 4.2.4-6, gnuplot-doc > 4.2.4-6 and gnuplot-nox 4.2.4-6. > > > > > > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23937446.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-08 22:51:36
|
a few questions: - if you plot the 5 lines of data you posted recently, do you get the same plot result as i did? No, I don't. I still get just the candlesticks with one line plotted at the zero level and the other line is missing completely. http://www.nabble.com/file/p23933590/%2B0%2529.png - how large is your data file? the data file(s) are 3000+ lines - the gnuplot program - is it from the distribution or did you compile it from source? It is from the distribution repositories, installed via Synaptic. The installed packages are gnuplot 4.2.4-6, gnuplot-x11 4.2.4-6, gnuplot-doc 4.2.4-6 and gnuplot-nox 4.2.4-6. -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23933590.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Daniel C. <dcl...@ya...> - 2009-06-08 17:51:09
|
> simpler ways - 'outside' gnuplot, maybe, but 'inside', i > don't think so, Ok, and the important question: should there be a simpler way inside Gnuplot? I think the graph can be easily described. With this data: Burj Dubai, 818 KVLY-TV mast, 628.8 CN Tower, 553.3 Sears Tower, 527.3 Taipei 101, 509.2 You could say: For each data line, plot y=$2 with title $1, without clearing the screen between plots. I have seen a similarity with the reread command (http://www.gnuplot.info/docs/node151.html). In fact, the graph I want could be made a specific case of a more general multi-plot graphing system. Imagine this data: Quadratic, x**2 Five, 5 Sinus, sin(x) gnuplot could parse this and plot $2 with title $1, all in the same place (so you would see the solution to x**2=5). Could this be useful in general? Is it a good idea to extend gnuplot to handle this? -- Daniel |
|
From: Thomas S. <t.s...@fz...> - 2009-06-08 15:11:07
|
a few questions: - if you plot the 5 lines of data you posted recently, do you get the same plot result as i did? - how large is your data file? - the gnuplot program - is it from the distribution or did you compile it from source? babelproofreader wrote: > > Well, if my problem isn't with the code or the data file, do you have any > other suggestions about how I may solve it. > I'm running > G N U P L O T > Version 4.2 patchlevel 4 > last modified Sep 2008 > System: Linux 2.6.28-12-generic > on an AMD 64 bit processor running Ubuntu 9.04. > Maybe there is something wrong with my installation/terminal settings or > something else? > > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23925927.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-08 14:13:58
|
Well, if my problem isn't with the code, do you have any other suggestions about how I may solve it. I'm running G N U P L O T Version 4.2 patchlevel 4 last modified Sep 2008 System: Linux 2.6.28-12-generic on an AMD 64 bit processor running Ubuntu 9.04. Maybe there is something wrong with my installation/terminal settings or something else? -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23924877.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-07 20:52:37
|
the relevant values (columns 1,2,3,4,5,23,53,54) are: 01/6/2009 981.0 990.2 974.1 980.0 ... 10 ... 981.5000000000001 915.1 02/6/2009 976.9 988.3 970.5 984.4 ... 10 ... 981.5000000000001 915.1 03/6/2009 983.2 992.1 961.5 965.6 ... 10 ... 981.5000000000001 925.2 04/6/2009 964.0 983.4 962.0 982.3 ... 10 ... 981.5000000000001 925.2 05/6/2009 981.4 985.0 953.8 962.6 ... 10 ... 981.5000000000001 925.2 we expect the candlesticks and below a line with y-values of 915.1 or 925.2 and that's exactly what i get when executing gnuplot> plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, "" using 1:($23<0?$53:1/0) notitle with line lt 3, "" using 1:($23>0?$54:1/0) notitle with line lt 1 http://www.nabble.com/file/p23915216/test.gif test.gif babelproofreader wrote: > > Here are five typical lines of my data file. > > 01/6/2009,981,990.2,974.1,980,981.5161904761907,977.8634920634918,976.4509379509378,972.7449417249413,973.1708957708959,970.8045765998713,969.874981551425,969.8164172808349,967.3717362781269,967.7014375983559,967.4926495442788,967.5695752612323,967.7580507275375,967.7650377834991,968.5911680111261,969.1000327864756,6,10,979.8482721088438,949.1229105992925,30.72536150955131,29.16111133597793,16,8,4,3,20,31.87708940070747,41.07708940070751,24.97708940070749,30.87708940070747,968.9,955.8000000000001,935.8000000000001,951.5,994.2,1006.9,1021,1011.3,22.18633247660577,-22.18633247660577,44.37266495321153,-44.37266495321153,971.3092430758983,926.9365781226867,993.495575552504,904.750245646081,981.5000000000001,915.1,948.3000000000001,107180,388594 > 02/6/2009,976.9,988.3,970.5,984.4,979.4780952380954,980.6412698412695,977.9594083694083,974.0859207459207,974.4334332334334,972.8167140702437,972.256020821759,972.2350534065373,971.2134034428465,971.2706366087696,971.2810065460843,971.1322705400705,970.8529843880906,970.8861093016276,973.7118917300224,974.9157640605372,4,10,980.3621768707487,954.5421960608719,25.81998080987686,30.72536150955131,16,8,4,1,21,22.35780393912811,33.75780393912808,15.95780393912813,29.85780393912811,972.8000000000001,964.1,950.8000000000001,961.3000000000001,989.5000000000001,997.9000000000001,1007.3,1000.9,22.74785710630949,-22.74785710630949,45.49571421261897,-45.49571421261897,977.2900531671814,931.7943389545624,1000.037910273491,909.0464818482529,981.5000000000001,915.1,948.3000000000001,96287,391057 > 03/6/2009,983.2,992.1,961.5,965.6,976.5723809523812,979.483333333333,977.1325974025974,974.5348251748251,974.7011322011327,974.2831017022195,974.1319399568043,974.1607224257868,975.080897471782,974.7874722555125,975.0730129390397,974.6544697496743,973.8124942350004,973.8758533711829,979.0039072324762,980.9977120785881,0,10,976.5660136054424,959.1288575673221,17.4371560381203,25.81998080987686,15,7.5,3.75,2,22,24.07114243267791,32.97114243267789,2.371142432677864,6.471142432677887,960.2,946.8000000000001,926.2,942.4,986.2,999.2,1013.7,1003.8,23.13623985217456,-23.13623985217456,46.27247970434912,-46.27247970434912,982.2650974194967,935.9926177151476,1005.401337271671,912.856377862973,981.5000000000001,925.2,953.3500000000001,135432,395923 > 04/6/2009,964,983.4,962,982.3,972.7695238095235,974.5333333333335,973.9705050505045,974.0916550116549,973.9739926739933,975.2037394957989,975.4481275491307,975.5398180093207,978.9696180568025,978.2410750139738,978.8619315266055,978.1268068287104,976.6213288392386,976.719222769247,984.4670135062997,987.3499441800049,-04,10,972.7768163265305,962.6689205974092,10.10789572912133,17.4371560381203,16,8,4,3,23,1.331079402590852,20.73107940259083,-00.6689205974091479,19.63107940259081,963,949.6,929,945.2,989.0000000000001,1002,1016.5,1006.6,22.50358175792421,-22.50358175792421,45.00716351584843,-45.00716351584843,985.1725023553333,940.165338839485,1007.676084113258,917.6617570815607,981.5000000000001,925.2,953.3500000000001,124373,401699 > 05/6/2009,981.4,985,953.8,962.6,968.1142857142856,965.7912698412697,968.4731313131309,972.7564102564098,972.2520146520158,975.5786274509807,976.1499721913223,976.3187338278423,982.8749648897112,981.6205753596079,982.6410251121608,981.5399157159369,979.2642367716271,979.4011702729788,990.1010095396858,993.9765277043407,-04,10,968.111700680272,965.2080879631088,2.903612717163117,10.10789572912133,16,8,4,4,24,16.19191203689114,19.79191203689117,-11.40808796310888,-02.608087963108812,954,940.3000000000001,919.3000000000001,935.8000000000001,980.5000000000001,993.8000000000001,1008.6,998.4000000000001,21.90421689233587,-21.90421689233587,43.80843378467175,-43.80843378467175,987.1123048554447,943.303871070773,1009.016521747781,921.3996541784371,981.5000000000001,925.2,953.3500000000001,152881,401699 > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23915216.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-07 14:03:19
|
please post a few lines of your data file. Here are five typical lines of my data file. 01/6/2009,981,990.2,974.1,980,981.5161904761907,977.8634920634918,976.4509379509378,972.7449417249413,973.1708957708959,970.8045765998713,969.874981551425,969.8164172808349,967.3717362781269,967.7014375983559,967.4926495442788,967.5695752612323,967.7580507275375,967.7650377834991,968.5911680111261,969.1000327864756,6,10,979.8482721088438,949.1229105992925,30.72536150955131,29.16111133597793,16,8,4,3,20,31.87708940070747,41.07708940070751,24.97708940070749,30.87708940070747,968.9,955.8000000000001,935.8000000000001,951.5,994.2,1006.9,1021,1011.3,22.18633247660577,-22.18633247660577,44.37266495321153,-44.37266495321153,971.3092430758983,926.9365781226867,993.495575552504,904.750245646081,981.5000000000001,915.1,948.3000000000001,107180,388594 02/6/2009,976.9,988.3,970.5,984.4,979.4780952380954,980.6412698412695,977.9594083694083,974.0859207459207,974.4334332334334,972.8167140702437,972.256020821759,972.2350534065373,971.2134034428465,971.2706366087696,971.2810065460843,971.1322705400705,970.8529843880906,970.8861093016276,973.7118917300224,974.9157640605372,4,10,980.3621768707487,954.5421960608719,25.81998080987686,30.72536150955131,16,8,4,1,21,22.35780393912811,33.75780393912808,15.95780393912813,29.85780393912811,972.8000000000001,964.1,950.8000000000001,961.3000000000001,989.5000000000001,997.9000000000001,1007.3,1000.9,22.74785710630949,-22.74785710630949,45.49571421261897,-45.49571421261897,977.2900531671814,931.7943389545624,1000.037910273491,909.0464818482529,981.5000000000001,915.1,948.3000000000001,96287,391057 03/6/2009,983.2,992.1,961.5,965.6,976.5723809523812,979.483333333333,977.1325974025974,974.5348251748251,974.7011322011327,974.2831017022195,974.1319399568043,974.1607224257868,975.080897471782,974.7874722555125,975.0730129390397,974.6544697496743,973.8124942350004,973.8758533711829,979.0039072324762,980.9977120785881,0,10,976.5660136054424,959.1288575673221,17.4371560381203,25.81998080987686,15,7.5,3.75,2,22,24.07114243267791,32.97114243267789,2.371142432677864,6.471142432677887,960.2,946.8000000000001,926.2,942.4,986.2,999.2,1013.7,1003.8,23.13623985217456,-23.13623985217456,46.27247970434912,-46.27247970434912,982.2650974194967,935.9926177151476,1005.401337271671,912.856377862973,981.5000000000001,925.2,953.3500000000001,135432,395923 04/6/2009,964,983.4,962,982.3,972.7695238095235,974.5333333333335,973.9705050505045,974.0916550116549,973.9739926739933,975.2037394957989,975.4481275491307,975.5398180093207,978.9696180568025,978.2410750139738,978.8619315266055,978.1268068287104,976.6213288392386,976.719222769247,984.4670135062997,987.3499441800049,-04,10,972.7768163265305,962.6689205974092,10.10789572912133,17.4371560381203,16,8,4,3,23,1.331079402590852,20.73107940259083,-00.6689205974091479,19.63107940259081,963,949.6,929,945.2,989.0000000000001,1002,1016.5,1006.6,22.50358175792421,-22.50358175792421,45.00716351584843,-45.00716351584843,985.1725023553333,940.165338839485,1007.676084113258,917.6617570815607,981.5000000000001,925.2,953.3500000000001,124373,401699 05/6/2009,981.4,985,953.8,962.6,968.1142857142856,965.7912698412697,968.4731313131309,972.7564102564098,972.2520146520158,975.5786274509807,976.1499721913223,976.3187338278423,982.8749648897112,981.6205753596079,982.6410251121608,981.5399157159369,979.2642367716271,979.4011702729788,990.1010095396858,993.9765277043407,-04,10,968.111700680272,965.2080879631088,2.903612717163117,10.10789572912133,16,8,4,4,24,16.19191203689114,19.79191203689117,-11.40808796310888,-02.608087963108812,954,940.3000000000001,919.3000000000001,935.8000000000001,980.5000000000001,993.8000000000001,1008.6,998.4000000000001,21.90421689233587,-21.90421689233587,43.80843378467175,-43.80843378467175,987.1123048554447,943.303871070773,1009.016521747781,921.3996541784371,981.5000000000001,925.2,953.3500000000001,152881,401699 -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23911366.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-06 14:32:55
|
please post a few lines of your data file. Thomas Sefzick wrote: > > please provide some more information: > - what do you mean by 'isn't working'? > plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, \ - plots > candlesticks as expected > "$1ind" using 1:($23<0?$53:1/0) notitle with line lt 3, \ - plots nothing > at all > "$1ind" using 1:($23>0?$54:1/0) notitle with line lt 1 - plots a > continuous line with a zero value > > - how does the data file look like (post some lines as example)? > column 1 consists of dates in the format 29/5/2009 > column 23 consists of numbers ranging between -10 and 10 > columns 53 and 54 consist of values that are the same as the highs(53) and > lows(54) of the candlestick plot > > - do you expect the plotted lines to have a gaps where the data > are undefined (that's what gnuplot does) or do you want data > points to be connected over undefined regions? > I expect/would like to plot data in column 53 when the data in column 23 > is less than zero > I expect/would like to plot data in column 54 when the data in column 23 > is greater than zero > and when these conditions are not true the data in columns 53 and 54 > should not be plotted i.e. there > should be gaps in the plots. > > Essentially what I am trying to do is plot a stock chart with lines > plotted at the highs and lows of the stock price over certain defined > periods only. > > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23902248.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-06 13:23:58
|
please provide some more information: - what do you mean by 'isn't working'? plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, \ - plots candlesticks as expected "$1ind" using 1:($23<0?$53:1/0) notitle with line lt 3, \ - plots nothing at all "$1ind" using 1:($23>0?$54:1/0) notitle with line lt 1 - plots a continuous line with a zero value - how does the data file look like (post some lines as example)? column 1 consists of dates in the format 29/5/2009 column 23 consists of numbers ranging between -10 and 10 columns 53 and 54 consist of values that are the same as the highs(53) and lows(54) of the candlestick plot - do you expect the plotted lines to have a gaps where the data are undefined (that's what gnuplot does) or do you want data points to be connected over undefined regions? I expect/would like to plot data in column 53 when the data in column 23 is less than zero I expect/would like to plot data in column 54 when the data in column 23 is greater than zero and when these conditions are not true the data in columns 53 and 54 should not be plotted i.e. there should be gaps in the plots. -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23901876.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-06 09:38:18
|
please provide some more information: - what do you mean by 'isn't working'? - how does the data file look like (post some lines as example)? - do you expect the plotted lines to have a gaps where the data are undefined (that's what gnuplot does) or do you want data points to be connected over undefined regions? babelproofreader wrote: > > Mark, > > I'm afraid your solution isn't working for me. My script at the moment is > > reset > > set title "$1 Prices with Donchian Channels" > set datafile separator "," > > set xdata time > > set timefmt "%d/%m/%Y" > set grid > > plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, \ > "$1ind" using 1:($23<0?$53:1/0) notitle with line lt 3, \ > "$1ind" using 1:($23>0?$54:1/0) notitle with line lt 1 > > Do you have any other suggestions? > > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23900211.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2009-06-06 00:01:47
|
Mark, I'm afraid your solution isn't working for me. My script at the moment is reset set title "$1 Prices with Donchian Channels" set datafile separator "," set xdata time set timefmt "%d/%m/%Y" set grid plot "$1ind" using 1:2:3:4:5 notitle with candlesticks lt 7, \ "$1ind" using 1:($23<0?$53:1/0) notitle with line lt 3, \ "$1ind" using 1:($23>0?$54:1/0) notitle with line lt 1 Do you have any other suggestions? -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23897282.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: markjoe <na...@ma...> - 2009-06-05 20:06:03
|
this is very nice about gnuplot: plot file using 1:($1>0?$2:1/0) with histeps lt -1 lw 1 The 1/0 is to be read as plot nothing. Can be nested, gives powerful options Mark babelproofreader wrote: > > If I have a CSV file with several columns of data running to thousands of > lines, how would I plot a discontinuous line plot of data in column 2 > dependent on a value in column 1? For example, I would only want to plot > those data in column 2 if the corresponding line value in column 1 is > greater/less than/equal to a given value. > -- View this message in context: http://www.nabble.com/Conditional-plotting-tp23893745p23894681.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |