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: babelproofreader <bab...@gm...> - 2009-06-05 18:58:01
|
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-tp23893745p23893745.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: baxy77bax <ba...@hi...> - 2009-06-05 07:47:48
|
Hi, all i know this question is going to be really stretched out (considering my expectations ), but i'm gonna post it anyway . well i need to create a graph that looks like this. http://www.nabble.com/file/p23869495/capture4.jpg and i don't have that much knowledge to create one myself. so if any one has any time to help me , i would appreciate it very much . Thank you here what i have did so far: reset set terminal emf color solid set output "ovrl.txt.emf" set style rectangle back fc lt -1 fillstyle solid 0.15 noborder unset key set ylabel "Log-odds" set xlabel "xxx" set object 1 rect from 0.5, graph 0, 0 to 1.5, graph 1 fc rgb "#eee9e9" fs pattern 3 bo -1 set object 2 rect from 2.5, graph 0, 0 to 3.5, graph 1 fc rgb "#eee9e9" fs pattern 3 bo -1 set object 3 rect from 4.5, graph 0, 0 to 5.5, graph 1 fc rgb "#eee9e9" fs pattern 3 bo -1 set object 4 rect from 6.5, graph 0, 0 to 7.5, graph 1 fc rgb "#eee9e9" fs pattern 3 bo -1 set object 5 rect from 8.5, graph 0, 0 to 9.5, graph 1 fc rgb "#eee9e9" fs pattern 3 bo -1 set object 6 rect from 10.5, graph 0, 0 to 11.5, graph 1 fc rgb "#eee9e9" fs pattern 3 bo -1 set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0 set xtics (6231) set xrange [0.5 : 6.5] set yrange [-39.9 : 40] set lmargin 7 set rmargin 2 set format x "" plot\ "ovrl.txt.dat" using 1:4 ti col with line,\ "ovrl.txt.dat" using 1:7 ti col with line,\ 0 notitle lt -1 this is from 1-6 (picture is from 1-10) -> range thank you -- View this message in context: http://www.nabble.com/is-there-any-one-that-can-help-me-create-graph-template-tp23869495p23869495.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Jeremy C. <jer...@gm...> - 2009-06-04 16:49:01
|
On Thu, Jun 4, 2009 at 11:57 AM, Thomas Sefzick <t.s...@fz...>wrote: > > starting with gnuplot 4.3-cvs there are new operators > '=' and ',' in expression syntax, that means, one can use > them for the 'using' modifier inside a 'plot' command. > > defining labels must be done before plotting, but access > to the data you don't have before plotting, so filling a variable > with some value from the datafile can only be done > when plotting (but then it's too late to define a label). > > one solution is to do a dummy plot by plot 'nothing to > nowhere', by doing this you can set the variable. > (plotting to nowhere can be done by specifying > 'set out "/dev/null"' on unix systems, or, plotting > nothing can be done by printing a table to > the terminal window or text window) > then you define the title, label, .... > and afterwards you do the real plot. > > gnuplot> set table > gnuplot> plot 'datafilename' us 0:($0==0?(x1=$3):$3) > gnuplot> unset table > > for explanation of the syntax see > gnuplot> help table > gnuplot> help ternary > gnuplot> help using > gnuplot> help using pseudocolumns Thank you for that great information. I'll look up those help topics and if I have any questions, I'll post them here. Jeremy |
|
From: Thomas S. <t.s...@fz...> - 2009-06-04 15:58:02
|
starting with gnuplot 4.3-cvs there are new operators
'=' and ',' in expression syntax, that means, one can use
them for the 'using' modifier inside a 'plot' command.
defining labels must be done before plotting, but access
to the data you don't have before plotting, so filling a variable
with some value from the datafile can only be done
when plotting (but then it's too late to define a label).
one solution is to do a dummy plot by plot 'nothing to
nowhere', by doing this you can set the variable.
(plotting to nowhere can be done by specifying
'set out "/dev/null"' on unix systems, or, plotting
nothing can be done by printing a table to
the terminal window or text window)
then you define the title, label, ....
and afterwards you do the real plot.
gnuplot> set table
gnuplot> plot 'datafilename' us 0:($0==0?(x1=$3):$3)
gnuplot> unset table
for explanation of the syntax see
gnuplot> help table
gnuplot> help ternary
gnuplot> help using
gnuplot> help using pseudocolumns
Jeremy Conlin wrote:
>
> On Thu, Jun 4, 2009 at 5:06 AM, Thomas Sefzick
> <t.s...@fz...>wrote:
>
>>
>> get 1st data of column 3:
>>
>> x1 = system("head -n1 datafilename | cut -d ' ' -f 3")
>> or
>> x1 = system("head -n1 ts.dat | awk '{print $3}'")
>>
>> or with gnuplot 4.3-cvs:
>>
>> set table
>> plot 'datafilename' us 0:($0==0?(x1=$3):$3)
>> unset table
>>
> I do have gnuplot 4.3 and that command sets x1 to the value I want. But
> it's rather cryptic. Can you tell me what everything means or point me
> toward the documentation explaining it?
>
> Thanks,
> Jeremy
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://www.nabble.com/Storing-point-from-data-file-in-variable-tp23855912p23872826.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Jeremy C. <jer...@gm...> - 2009-06-04 13:59:29
|
On Thu, Jun 4, 2009 at 5:06 AM, Thomas Sefzick <t.s...@fz...>wrote:
>
> get 1st data of column 3:
>
> x1 = system("head -n1 datafilename | cut -d ' ' -f 3")
> or
> x1 = system("head -n1 ts.dat | awk '{print $3}'")
>
> or with gnuplot 4.3-cvs:
>
> set table
> plot 'datafilename' us 0:($0==0?(x1=$3):$3)
> unset table
>
I do have gnuplot 4.3 and that command sets x1 to the value I want. But
it's rather cryptic. Can you tell me what everything means or point me
toward the documentation explaining it?
Thanks,
Jeremy
|
|
From: Thomas S. <t.s...@fz...> - 2009-06-04 10:34:46
|
the output is 0 you are doing integer arithmetics. try print 3./4. erore wrote: > > If I write print 3/4 in gnuplot the output is 1! I tried set format, > searching the web and no results. How just to tell the program that I want > decimals? > -- View this message in context: http://www.nabble.com/rouinding-tp23865695p23867447.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: melysion <ali...@ya...> - 2009-06-04 10:04:00
|
Thanks for your reply Unfortunately, gnuplot 4.0 is what is installed at work and I don't have any say as to what software is available. So, like it or not, I'm stuck with it. :-/ Hans-Bernhard Bröker-2 wrote: > > melysion wrote: >> I am using gnuplot 4.0. > > There's no good reason left to stick with such an outdated version. > > Upgrade to a current version (4.2 pl 4) before you try anything else. > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/help-requested-creating-histogram---error-tp23854463p23867070.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-04 09:06:33
|
get 1st data of column 3:
x1 = system("head -n1 datafilename | cut -d ' ' -f 3")
or
x1 = system("head -n1 ts.dat | awk '{print $3}'")
or with gnuplot 4.3-cvs:
set table
plot 'datafilename' us 0:($0==0?(x1=$3):$3)
unset table
Jeremy Conlin wrote:
>
> I have a file containing all my data. I can easily plot that data. I
> need
> to store the first data point in a particular column so I can place a
> label
> at that point. Can someone show me how to do this?
> Small example:
> # ----------------------------------
> x1 = # Get data from file
> y1 = 1.0
>
> set label "Hello" at x1, y1 right
> # -----------------------------------
>
> Thanks,
> Jeremy
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://www.nabble.com/Storing-point-from-data-file-in-variable-tp23855912p23866304.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-06-03 19:11:52
|
melysion wrote: > I am using gnuplot 4.0. There's no good reason left to stick with such an outdated version. Upgrade to a current version (4.2 pl 4) before you try anything else. |
|
From: Jeremy C. <jer...@gm...> - 2009-06-03 17:38:24
|
I have a file containing all my data. I can easily plot that data. I need to store the first data point in a particular column so I can place a label at that point. Can someone show me how to do this? Small example: # ---------------------------------- x1 = # Get data from file y1 = 1.0 set label "Hello" at x1, y1 right # ----------------------------------- Thanks, Jeremy |
|
From: melysion <ali...@ya...> - 2009-06-03 16:09:50
|
Hi there
I don't use gnuplot very often, so don't know anything beyond the basics.
I've recently been asked to modify a plot that I created using gnuplot a
while back
Heres the script
set terminal postscript enhanced color
set output 'pic.ps'
set autoscale # scale axes automatically
set xlabel "Number of SSGs" font "Helvetica,15"
set xrange [-0.5 : 11.5]
set x2range [-0.5 : 11.5]
set yrange [0.0 : 310 ] noreverse nowriteback
set ylabel "Number of items" tc lt 1 font "Helvetica,15"
set y2range [0.0 : 540000 ] noreverse nowriteback
set y2label "Population in 2" tc lt 2 font "Helvetica,15"
set ytics nomirror font "Helvetica,12"
set y2tics nomirror font "Helvetica,12"
set xtics nomirror font "Helvetica,12"
set tics out
set style data histogram
set style histogram cluster gap 1
set style fill solid border -1
plot "final.csv" using 2:xtic(1) title col fs solid lc rgb "blue", '' using
3 title col fs solid lc rgb "pink" axes x2y2
When I try to run it, I get the following error
set style data histogram
^
"simax_eap_genome.gnuplot", line 15: expecting 'lines', 'points',
'linespoints', 'dots', 'impulses',
'yerrorbars', 'xerrorbars', 'xyerrorbars', 'steps', 'fsteps',
'histeps', 'filledcurves', 'boxes', 'boxerrorbars',
'boxxyerrorbars',
'vectors', 'financebars', 'candlesticks', 'errorlines',
'xerrorlines',
'yerrorlines', 'xyerrorlines', 'pm3d'
I am using gnuplot 4.0. I think that at one time, I was using gnuplot 4.1
(I've changed computers since) which I guess might cause some problems. I've
never had this error before so am a bit confused.
Also, I'm not sure how to specify the colours of the bars. Is the code below
correct?
plot "final.csv" using 2:xtic(1) title col fs solid lc rgb "blue", '' using
3 title col fs solid lc rgb "pink" axes x2y2
Thanks in advance for your help!
--
View this message in context: http://www.nabble.com/help-requested-creating-histogram---error-tp23854463p23854463.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2009-06-03 14:17:56
|
simpler ways - 'outside' gnuplot, maybe, but 'inside', i don't think so,
because you read y-values in, which are then to be used as constant
functions after reading them in, that's somehow a 'misuse' of gnuplots
plotting mechanism.
'outside' gnuplot, e.g.:
load "< awk --field-separator \",\" 'BEGIN {temp = sprintf(\"plot\")} {if
(NR>1) temp = temp \",\" ; temp = temp $2 \" title \" \"\\\"\" $1 \"\\\"\"}
END{print temp}' ts.dat"
Daniel Clemente-2 wrote:
>
>
> Thanks, this exactly parses the file. It will also be a good exercise to
> understand that.
>
> I supposed there would be a simpler way to do this in gnuplot. It is a
> common graph.
>
>> you need gnuplot 4.3-cvs
>>
>> set datafile separator ","
>> t=""
>> plot for [i=0:4] 'ts.dat' us
>> ((i==0&&$0==0)?(b=$2,t=stringcolumn(1)):99 ,
>> $0==0?(a=b):99, $0==(i+1)?(b=$2,t=stringcolumn(1)):99 ,
>> $0):(a) with lines
>> title t
>>
>>
>
>
>
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://www.nabble.com/Several-horizontal-lines-tp23804760p23851998.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Daniel C. <dcl...@ya...> - 2009-06-03 09:56:34
|
Thanks, this exactly parses the file. It will also be a good exercise to understand that.
I supposed there would be a simpler way to do this in gnuplot. It is a common graph.
> you need gnuplot 4.3-cvs
>
> set datafile separator ","
> t=""
> plot for [i=0:4] 'ts.dat' us
> ((i==0&&$0==0)?(b=$2,t=stringcolumn(1)):99 ,
> $0==0?(a=b):99, $0==(i+1)?(b=$2,t=stringcolumn(1)):99 ,
> $0):(a) with lines
> title t
>
>
|
|
From: Markus F. <fel...@gm...> - 2009-06-03 09:22:57
|
Markus Feldmann schrieb: > i forgot to attach my file. :-) ok i don't know why but the attachment doesn't work. Herer is a link. http://img95.imageshack.us/img95/6950/analysisband1beispiel.th.jpg |
|
From: Markus F. <fel...@gm...> - 2009-06-03 09:06:09
|
i forgot to attach my file. :-) regards Markus |
|
From: Markus F. <fel...@gm...> - 2009-06-03 09:00:08
|
Hi All,
i am plotting some graphs with:
reset
set encoding iso_8859_15
file = 'analysisfilterbank.dat'
set terminal postscript enhanced color font 'arial' 8
set output 'analysis-band1.eps'
set xlabel "Frequency/Hz -------->"
set ylabel "Amplituide/dB ------->"
set grid
plot file index 0 using ($1):($2) title "A)Band1" with lp,\
file index 1 using ($1):($2) title "B)Band2" with lp,\
file index 2 using ($1):($2) title "C)Band3" with lp
but my X-labelling is cut off.
How to correct this ?
How to make some extra space around my graph ?
I attach on of my ploted files.
thanks and regards Markus
|
|
From: Xavier P. <pes...@cr...> - 2009-06-02 15:54:57
|
Zhong Ren a écrit : > Please see > http://gnuplot.sourceforge.net/demo_4.3/rgb_variable.html > Hello, Thanks for the link ! I'm going to try to deal with it. Bye -- http://www.meca.insa-toulouse.fr/lgmt/ http://www.mecaero.ups-tlse.fr/ |
|
From: Zhong R. <re...@uc...> - 2009-06-02 15:39:51
|
Please see http://gnuplot.sourceforge.net/demo_4.3/rgb_variable.html ---- Original message ---- >Date: Tue, 02 Jun 2009 17:28:33 +0200 >From: Xavier Pessoles <pes...@cr...> >Subject: [Gnuplot-info] Splot color points >To: gnu...@li... > >Hi, > >I have this kind of file : >x y z n > >I use this command : >splot "file" us 1:2:3 > >For all points i would like to have a color which is proportionnal to >the 4th column (n). > >Is it possible with gnuplot ? > >-- >http://www.meca.insa-toulouse.fr/lgmt/ >http://www.mecaero.ups-tlse.fr/ > >------------------------------------------------------------------------------ >OpenSolaris 2009.06 is a cutting edge operating system for enterprises >looking to deploy the next generation of Solaris that includes the latest >innovations from Sun and the OpenSource community. Download a copy and >enjoy capabilities such as Networking, Storage and Virtualization. >Go to: http://p.sf.net/sfu/opensolaris-get >_______________________________________________ >Gnuplot-info mailing list >Gnu...@li... >https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Xavier P. <pes...@cr...> - 2009-06-02 15:31:10
|
Hi, I have this kind of file : x y z n I use this command : splot "file" us 1:2:3 For all points i would like to have a color which is proportionnal to the 4th column (n). Is it possible with gnuplot ? -- http://www.meca.insa-toulouse.fr/lgmt/ http://www.mecaero.ups-tlse.fr/ |
|
From: Thomas S. <t.s...@fz...> - 2009-06-02 07:31:08
|
looks ok,
maybe you should post the whole 'set label' command,
or even better, the whole script.
hanamilani wrote:
>
> thanks for your guide.
>
> when I want to use '{/Symbol \136}' in postscript enhanced terminal I
> receive the following message:
>
> enhanced text parser - spurious }, is there anything wrong I am doing
> about it?
>
--
View this message in context: http://www.nabble.com/label-position-tp23782621p23827719.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2009-06-01 17:03:05
|
you need gnuplot 4.3-cvs set datafile separator "," t="" plot for [i=0:4] 'ts.dat' us ((i==0&&$0==0)?(b=$2,t=stringcolumn(1)):99 , $0==0?(a=b):99, $0==(i+1)?(b=$2,t=stringcolumn(1)):99 , $0):(a) with lines title t Daniel Clemente-2 wrote: > > > > Hi, I look for orientation on how to plot a graph I have seen no examples > for. > > Imagine you have this data consisting of tower_name+tower_height: > > Burj Dubai, 818 > KVLY-TV mast, 628.8 > CN Tower, 553.3 > Sears Tower, 527.3 > Taipei 101, 509.2 > > I want a graph with 5 horizontal lines, each at the height specified by > the second parameter. > Similar in nature to this graph: > https://eshu.ubuntu-eu.org/cgi-bin/munin-cgi-graph/ubuntu-eu.org/eshu/smart_sdb-month.png > > I could do manually: plot 818 title "Burj Dubai", 628.8 title "KVLY-TV > mast", 553.3 title "CN tower", 527.3 title "Sears Tower", 509.2 title > "Taipei 101" > But I want the data to be read from a file. > > Can this be done with a gnuplot command? > > Thanks, > Daniel > > > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/Several-horizontal-lines-tp23804760p23818332.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-06-01 12:01:20
|
set label "aaa...aaa" center rotate by 90 at screen 0.02,0.5 see 'help coordinates' or http://www.gnuplot.info/docs/node49.html and 'help set label' or http://www.gnuplot.info/docs/node193.html hanamilani wrote: > > Hi, > > pls forgive me to post again, still got difficulty placing the label at > the right place. > > http://www.nabble.com/file/p23782621/out.eps out.eps > > The file I have uploaded is the result of the following commads in > gnuplot. The label is supposed to be situated at the "cemter left" of the > image vertically as the overall ylabel of the boxes. But, I could not > manage to place it at the right place. > > here is the gnuplot commads: > > gnuplot> set terminal postscript enhanced > > gnuplot> set output 'out.eps' > gnuplot> set xrange [-1:1] > gnuplot> set yrange [-1:1] > gnuplot> set multiplot layout 3,2 > multiplot> plot sin(x) > multiplot> set label "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" rotate by > 90 at -1.5,0 > multiplot> plot sin(x-1) > multiplot> unset label > multiplot> plot sin(x-2) > multiplot> plot cos(x) > multiplot> plot cos(x-1) > multiplot> plot cos(x-2) > multiplot> unset multiplot > > I would be grateful if you guide me how to solve this problem. > > Regards, > -- View this message in context: http://www.nabble.com/label-position-tp23782621p23813916.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <lyn...@fr...> - 2009-05-31 18:52:14
|
On 30/05/09 22:43:35, Hans-Bernhard Bröker wrote: > lyn...@fr... wrote: > >> I don't get the errors due to an empty color spec though. >> Strangely on a different computer I sometimes still get the gnuplot errors. > > Did you check that you're using the same versions of everything (OS, > octave, gnuplot) on those two different computers? It's not LFS (Linux from scratch) there but Suse 10.3 octave 3.0.5 and gnuplot 4.2. >> It would be nice if the gnuplot error were more meaningfull to help find the >> cause for it. > > There really can't be. For starters, we're talking about three separate > issues with different likely reasons. So there's no "the" cause for > gnuplot to inform you about. Well within gnuplot: gnuplot> load "octave.gp" "octave.gp", line 3088: duplicated arguments in style specification wc -l octave.gp 1275 octave.gp I can find style only two times and that seems not corrupted to me. Even commenting them out does not help. > The first error being described most probably is caused by an I/O buffer > limitation being hit somewhere between octave and the main gnuplot > executable (pipe buffer, Windows message queue). In effect, some of the > data are getting garbled or lost on the way, and gnuplot tries to interpret > remaining inline data (input lines containing of just numbers) as commands, > which it rather obviously can't. Given those circumstances, there really > can't be a meaningful error message. There's no context left to reconstruct > possible meaning from. I agree if there's garbage comming in the error messages will be problematic. But so far it's only gnuplot/octave that has problems with my 2.6.22.7 kernel- pipe. Is there any way to monitor what happens there? I've piped loads of stuff so far even mplayer pcm data of more than 100MB to oggenc and there was never a problem. The kernel nicely made mplayer sleep while the pipe was full and oggenc was bussy encoding. > The broken pipe issue with binary data is probably either the same problem > in a different disguise, or a generic incapability of the communication > channel to handle binary data. Hard to tell without at least knowing the > OS platform and gnuplot version. > > The third issue could be anything --- we gnuplot people don't generally > know what those octave commands actually end up sending to gnuplot. Without > that, there's nothing we can do to help. That's why I attached octave.gp.bz2 ;-) > >> I couldn't get the hg sources compile because my autoconf is 2.59 > > So what's keeping you from upgrading it? 2.61 has been around for well > over two years now! Yes I know. It's another story. LFS is not so easy to upgrade... As far as I understand the problems here: It is up to octave to make sure it puts proper code into the pipe and tell the user if it can't because of wrong sized arrays or such. The kernel is supposed to pass correctly what comes into the pipe to gnuplot. If gnuplot does not get proper code, it should complain as best as it can. Thanks for looking into this. Regards, Lynx |
|
From: Daniel C. <dcl...@ya...> - 2009-05-31 16:42:09
|
Hi, I look for orientation on how to plot a graph I have seen no examples for. Imagine you have this data consisting of tower_name+tower_height: Burj Dubai, 818 KVLY-TV mast, 628.8 CN Tower, 553.3 Sears Tower, 527.3 Taipei 101, 509.2 I want a graph with 5 horizontal lines, each at the height specified by the second parameter. Similar in nature to this graph: https://eshu.ubuntu-eu.org/cgi-bin/munin-cgi-graph/ubuntu-eu.org/eshu/smart_sdb-month.png I could do manually: plot 818 title "Burj Dubai", 628.8 title "KVLY-TV mast", 553.3 title "CN tower", 527.3 title "Sears Tower", 509.2 title "Taipei 101" But I want the data to be read from a file. Can this be done with a gnuplot command? Thanks, Daniel |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-05-30 20:44:40
|
lyn...@fr... wrote: > I don't get the errors due to an empty color spec though. > Strangely on a different computer I sometimes still get the gnuplot errors. Did you check that you're using the same versions of everything (OS, octave, gnuplot) on those two different computers? > It would be nice if the gnuplot error were more meaningfull to help find the > cause for it. There really can't be. For starters, we're talking about three separate issues with different likely reasons. So there's no "the" cause for gnuplot to inform you about. The first error being described most probably is caused by an I/O buffer limitation being hit somewhere between octave and the main gnuplot executable (pipe buffer, Windows message queue). In effect, some of the data are getting garbled or lost on the way, and gnuplot tries to interpret remaining inline data (input lines containing of just numbers) as commands, which it rather obviously can't. Given those circumstances, there really can't be a meaningful error message. There's no context left to reconstruct possible meaning from. The broken pipe issue with binary data is probably either the same problem in a different disguise, or a generic incapability of the communication channel to handle binary data. Hard to tell without at least knowing the OS platform and gnuplot version. The third issue could be anything --- we gnuplot people don't generally know what those octave commands actually end up sending to gnuplot. Without that, there's nothing we can do to help. > I couldn't get the hg sources compile because my autoconf is 2.59 So what's keeping you from upgrading it? 2.61 has been around for well over two years now! |