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
(6) |
Oct
(3) |
Nov
(2) |
Dec
|
|
From: Leo B. <l_b...@us...> - 2013-06-05 11:47:30
|
>From mailnull Wed Jun 5 11:30:08 2013 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of lists.sourceforge.net designates 172.29.29.181 as permitted sender) client-ip=172.29.29.181; env...@li...; helo=lists.sourceforge.net; Received-SPF: neutral (sog-mx-1.v43.ch3.sourceforge.com: 216.139.236.26 is neither permitted nor denied by domain of gmail.com) client-ip=216.139.236.26; env...@gm...; helo=sam.nabble.com; Date: Wed, 5 Jun 2013 04:28:14 -0700 From: robijf <ro...@gm...> Content-Type: text/plain; charset="us-ascii" Hello to everyone! I would like to plot two horizontal lines and two vertical lines, something like this: | | | |________________________ | | | | | | | | | |__________|____| | | | | | | | | | | | | |__________|____|__________ both with plot and splot command (for a 3D style). Fact is that I am new to gnuplot (only used it for a couple of weeks), and I cannot figure out how it really works. I tried plotting it by using a data file, with no luck whatsoever. You want to use set arrow from x0,y0 to x1,y1 nohead plot 1/0 And: help set arrow will explain arrows for you. Leo |
|
From: robijf <ro...@gm...> - 2013-06-05 11:28:22
|
Hello to everyone! I would like to plot two horizontal lines and two vertical lines, something like this: | | | |________________________ | | | | | | | | | |__________|____| | | | | | | | | | | | | |__________|____|__________ both with plot and splot command (for a 3D style). Fact is that I am new to gnuplot (only used it for a couple of weeks), and I cannot figure out how it really works. I tried plotting it by using a data file, with no luck whatsoever. I appreciate any help. Thanks in advance. -- View this message in context: http://gnuplot.10905.n7.nabble.com/Plotting-2-horizontal-and-two-vertical-lines-tp17394.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2013-06-01 11:21:53
|
seb_kramm <seb_kramm <at> yahoo.fr> writes: > On 05/31/2013 05:13 PM, Ethan A Merritt wrote: > > ... > > set encoding utf8 > > symbol = "+⁕∙∎⊙⊡★☆♠♣♥♦" > > plot FOO using 1:2:(symbol[int($3):int($3)]) with labels > > ... > > Thanks Ethan, very interesting as usual. However, even if it > does work, I don't understand how: > where does this data specifier come from: > symbol[int($3):int($3)] it's a substring of the string contained in the variable 'symbol'. see 'help string' |
|
From: seb_kramm <seb...@ya...> - 2013-06-01 09:34:50
|
On 05/31/2013 05:13 PM, Ethan A Merritt wrote: > On Friday, 31 May 2013, seb_kramm wrote: >> Now, I want to have the type of the point depend on a column of data. > > The closest is to use selected single character glyphs instead of > the predefined point types. Then you can use a command such as > > set encoding utf8 > symbol = "+⁕∙∎⊙⊡★☆♠♣♥♦" > plot FOO using 1:2:(symbol[int($3):int($3)]) with labels > > A more complicated variant using sprintf allows you to also vary > the color and size of the font used. See for example > http://gnuplot.sourceforge.net/demo_cvs/cities.html Thanks Ethan, very interesting as usual. However, even if it does work, I don't understand how: where does this data specifier come from: symbol[int($3):int($3)] I've been searching the pdf doc (4.6) for the string "symbol", found nothing relevant, so I'm puzzled... An undocumented feature ? Thanks Sebastien Kramm |
|
From: Ethan A M. <eam...@gm...> - 2013-05-31 15:14:07
|
On Friday, 31 May 2013, seb_kramm wrote:
> Hello,
>
> When plotting points from a datafile, gnuplot offers me the ability to change the
> color of the point depending of some column:
> plot "datafile" using 1:2:3 with points palette
>
> I can also have the size of the point depend on a column of data:
> plot "datafile" using 1:2:3 with points ps variable
>
> Now, I want to have the type of the point depend on a column of data.
The closest is to use selected single character glyphs instead of
the predefined point types. Then you can use a command such as
set encoding utf8
symbol = "+⁕∙∎⊙⊡★☆♠♣♥♦"
plot FOO using 1:2:(symbol[int($3):int($3)]) with labels
A more complicated variant using sprintf allows you to also vary
the color and size of the font used. See for example
http://gnuplot.sourceforge.net/demo_cvs/cities.html
|
|
From: seb_kramm <seb...@ya...> - 2013-05-31 13:42:38
|
Hello, When plotting points from a datafile, gnuplot offers me the ability to change the color of the point depending of some column: plot "datafile" using 1:2:3 with points palette I can also have the size of the point depend on a column of data: plot "datafile" using 1:2:3 with points ps variable Now, I want to have the type of the point depend on a column of data. Assuming of course that this column has values lying in the range [0-nb of point types that the terminal has] How can I do this ? This: plot "datafile" using 1:2:3 with points pt variable does not work, neither does this: plot "datafile" using 1:2 with points pt $3 Any idea ? |
|
From: tobal <lop...@gm...> - 2013-05-30 16:43:00
|
Thanks
I've solved like plot only one point, here's the code solved
set multiplot
set title 'Rectas Secantes'
set xrange [-4:5]
set yrange [-4:4]
set size ratio 1.0
set xzeroaxis lt 3 lw 2.0 lc rgb 'black'
set yzeroaxis lt 3 lw 2.0 lc rgb 'black'
set border 0
set xtics axis ('-4' -4, '-3' -3, '-2' -2, '-1' -1, ' ' 0, '1' 1, '2' 2, '3'
3, '4' 4, '5' 5)
set ytics axis ('-4' -4, '-3' -3, '-2' -2, '-1' -1, ' ' 0, '1' 1, '2' 2, '3'
3, '4' 4)
set format xy '%.0f'
set xlabel 'y' tc rgb 'blue'
set ylabel 'x' rotate by 360 center tc rgb 'blue'
set tics scale 0.5
set label 1 'P(3,1)' at 2.75, 1.5 tc rgb 'black'
plot (9-2*x)/3 title '2x + 3y = 9' lc rgb 'red', (3*x-4)/5 title '3x - 5y =
4' lc rgb 'blue'
set pointsize 2.0
set style line 1 lc rgb 'black' pt 7 # circle
unset key
plot '-' w p ls 1
3 1
e
set nomultiplot
I can't delete axis in set xtics because gnuplot doesn't draw the tics in
the axes.
With multiplot and the code
set pointsize 2.0
set style line 1 lc rgb 'black' pt 7 # circle
unset key
plot '-' w p ls 1
3 1
e
I can plot only one point.
--
View this message in context: http://gnuplot.10905.n7.nabble.com/I-want-delete-the-origin-labels-in-a-plot-and-add-only-one-point-tp17387p17389.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Mauricio G. <ga...@fc...> - 2013-05-30 16:17:26
|
Tobal, You can define the tics you want to show. In your case: set xtics (-4, -3, -2, -1, 1, 2, 3, 4, 5) set ytics (-4, -3, -2, -1, 1, 2, 3, 4) instead of set xtics axis set ytics axis M. Galo ----- Mensagem original ----- > De: "tobal" <lop...@gm...> > Para: gnu...@li... > Enviadas: Quinta-feira, 30 de Maio de 2013 7:46:01 > Assunto: [Gnuplot-info] I want delete the origin labels in a plot and add only one point > > Hi, i'm using this code: > > set title 'Rectas Secantes' > set xrange [-4:5] > set yrange [-4:4] > set size ratio 1.0 > set xzeroaxis lt 3 lw 2.0 lc rgb 'black' > set yzeroaxis lt 3 lw 2.0 lc rgb 'black' > set border 0 > set xtics axis > set ytics axis > set format xy '%.0f' > set xlabel 'y' tc rgb 'blue' > set ylabel 'x' rotate by 360 center tc rgb 'blue' > set tics scale 0.5 > set label 1 'P(3,1)' at 2.5, 1.5 tc rgb 'black' > plot (9-2*x)/3 title '2x + 3y = 9' lc rgb 'red', (4-3*x)/(-5) title > '3x - 5y > = 4' lc rgb 'blue' > pause -1 > > I want delete the origin label point, i.e, (0,0) > I want add the only Point (3,1), too > > I adjoint an image > <http://gnuplot.10905.n7.nabble.com/file/n17387/rectassecantes.png> > > Thanks for your help > > > > -- > View this message in context: > http://gnuplot.10905.n7.nabble.com/I-want-delete-the-origin-labels-in-a-plot-and-add-only-one-point-tp17387.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for > Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: tobal <lop...@gm...> - 2013-05-30 10:46:08
|
Hi, i'm using this code: set title 'Rectas Secantes' set xrange [-4:5] set yrange [-4:4] set size ratio 1.0 set xzeroaxis lt 3 lw 2.0 lc rgb 'black' set yzeroaxis lt 3 lw 2.0 lc rgb 'black' set border 0 set xtics axis set ytics axis set format xy '%.0f' set xlabel 'y' tc rgb 'blue' set ylabel 'x' rotate by 360 center tc rgb 'blue' set tics scale 0.5 set label 1 'P(3,1)' at 2.5, 1.5 tc rgb 'black' plot (9-2*x)/3 title '2x + 3y = 9' lc rgb 'red', (4-3*x)/(-5) title '3x - 5y = 4' lc rgb 'blue' pause -1 I want delete the origin label point, i.e, (0,0) I want add the only Point (3,1), too I adjoint an image <http://gnuplot.10905.n7.nabble.com/file/n17387/rectassecantes.png> Thanks for your help -- View this message in context: http://gnuplot.10905.n7.nabble.com/I-want-delete-the-origin-labels-in-a-plot-and-add-only-one-point-tp17387.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Vik R. <vi...@mi...> - 2013-05-28 16:56:51
|
Thank you very much. On May 28, 2013, at 7:53 AM, thse <t.s...@fz...> wrote: > have a look at the 'set xyplane' command. > set xyplane at 0 > will position the xy-plane at z=0. > > > > -- > View this message in context: http://gnuplot.10905.n7.nabble.com/Moving-Contour-Map-Lower-on-Z-Axis-tp17381p17383.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: thse <t.s...@fz...> - 2013-05-28 14:54:06
|
have a look at the 'set xyplane' command. set xyplane at 0 will position the xy-plane at z=0. -- View this message in context: http://gnuplot.10905.n7.nabble.com/Moving-Contour-Map-Lower-on-Z-Axis-tp17381p17383.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Vik R. <vi...@mi...> - 2013-05-28 07:54:33
|
I'm working on a 3D Contour Map. It starts at 0 on the Z-Axis. How can I move the 0 point on the Z-Axis closer to the floor of the chart? Here's a link to see the 3D Contour Map: https://www.dropbox.com/s/ovey50px5u4n5ph/Test%203D%20Contour%20Map.png GnuPlot code: unset cbrange unset contour set xtics out nomirror set ytics out nomirror unset title unset label set label '{/=16 Test Chart}' at 6, 11.25 center offset 0, 15 set xrange [1:10] reverse set yrange [0:11] set zrange [-2:50] set term x11 size 500, 500 enhanced font '/Library/Fonts/Arial.ttf' 8 xffffff x000000 set dgrid3d 500, 500 splines set isosamples 100 set samples 100 unset key set ztics 10 unset surface set pm3d at bs set palette defined (0 '#b7efbf', 2 '#b7efbf', 4 '#8ae092', 6 '#64c25a', 10 '#8dc14f', 16 '#bac14c', 20 '#febd42', 24 '#ec3700', 28 '#cd1c00', 32 '#6b5d6d', 36 '#3e85a5', 40 '#00bef3') splot '/dataFile' set view 70,340 replot Data: 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 0 10 0 0 11 0 0 0 1 0 1 1 0 2 1 0 3 1 0 4 1 0 5 1 0 6 1 0 7 1 0 8 1 0 9 1 1 10 1 0 11 1 0 0 2 0 1 2 1 2 2 0 3 2 0 4 2 0 5 2 0 6 2 1 7 2 0 8 2 0 9 2 0 10 2 0 11 2 0 0 3 0 1 3 1 2 3 0 3 3 0 4 3 0 5 3 0 6 3 0 7 3 0 8 3 0 9 3 0 10 3 0 11 3 0 0 4 0 1 4 3 2 4 0 3 4 0 4 4 0 5 4 0 6 4 0 7 4 0 8 4 0 9 4 0 10 4 0 11 4 0 0 5 0 1 5 3 2 5 0 3 5 0 4 5 0 5 5 0 6 5 0 7 5 0 8 5 0 9 5 0 10 5 0 11 5 0 0 6 0 1 6 3 2 6 1 3 6 0 4 6 0 5 6 0 6 6 0 7 6 0 8 6 1 9 6 0 10 6 0 11 6 0 0 7 0 1 7 2 2 7 0 3 7 0 4 7 1 5 7 0 6 7 0 7 7 0 8 7 0 9 7 0 10 7 0 11 7 0 0 8 0 1 8 4 2 8 0 3 8 0 4 8 0 5 8 0 6 8 0 7 8 0 8 8 0 9 8 0 10 8 0 11 8 0 0 9 0 1 9 2 2 9 1 3 9 1 4 9 0 5 9 0 6 9 1 7 9 1 8 9 0 9 9 0 10 9 0 11 9 0 0 10 0 1 10 6 2 10 0 3 10 0 4 10 0 5 10 0 6 10 0 7 10 0 8 10 0 9 10 0 10 10 0 11 10 0 0 11 0 1 11 0 2 11 0 3 11 0 4 11 0 5 11 0 6 11 0 7 11 0 8 11 0 9 11 0 10 11 0 11 11 0 Thanks very much in advance to all for any info. Best, -Vik |
|
From: Mahmood N. <nt_...@ya...> - 2013-05-20 14:52:10
|
Hi There are several examples on "how to plot histogram" using box and xticle. However I can not find information on how to plot a simple histogram from a file: 10 20 10 20 30 I want to see a plot like this (rotate it 90 deg counter clockwise). 0 10 * * * 20 * 30 * 40 50 The commands plot "f:\his.txt" u 1:xtic(1) or plot "f:\his.txt" u 1:with boxes doesn't work for me. I will be very thankful if you point the right keyword on how to plot such thing. Regards, Mahmood |
|
From: walter h. <wh...@bf...> - 2013-05-19 17:40:42
|
I am ot sure that i understand your problem
do you want to plot something like a heatmap ?
i routinely plot 4000 * n via plot matrix with no problem
re,
wh
Am 17.05.2013 22:36, schrieb Yonghui:
> Hi Ethan,
>
> Thanks for your suggestion. I tried every. But it didn't work. For example:
> If the file (test.txt) is :
> 1 1 1 1
> 2 1 1 1
> 3 1 1 1
> 4 1 1 1
>
> 1 2 2 2
> 2 2 2 2
> 3 2 2 2
> 4 2 2 2
>
> 1 3 3 3
> 2 3 3 3
> 3 3 3 3
> 4 3 3 3
>
> Then set pm3d, set view map, unset surf
> The sp "test.txt" matrix ind 0 is exactly what I need. But I completely have
> no idea on how to use every to make the same plot. If I do sp "test.txt"
> matrix every :::0::0, it doesn't make anything.
>
> Could you please tell me how to make it work?
>
> Thanks,
> Yonghui
>
> -----Original Message-----
> From: Ethan A Merritt [mailto:eam...@gm...]
> Sent: Friday, May 17, 2013 12:54 AM
> To: Yonghui
> Cc: gnu...@li...
> Subject: Re: [Gnuplot-info] Plot matrix with GNUplot. Slow
>
> On Thursday, 16 May 2013, Yonghui wrote:
>> Thanks Ethan,
>>
>> I am actually making a movie. 200 pictures, each picture is the
>> 100x100 matrix. Here is the command:
>
>> ------------plot_TDM_loop.gp"----------------
>> splot '_TDTDM.dat' matrix ind i*10
>> print i
>> i=i+1
>> if (i<200) reread
>>
>> Please take a look. Thanks.
>
> Ugh.
> So it opens the file all over again each time, reads one line at a time
> until it gets to where it finished during the previous iteration, then reads
> one matrix and loops again. That means the time goes up as N^2 rather than
> N.
>
> I'm not certain, but I would guess that it would be faster if instead of
> using
> splot $FOO matrix index i*10 (By the way, why 10? Why not 100?)
> you used
> splot $FOO matrix every 1:1:1:i::i
>
> I may have mangled that "every" specfier right; you may have to tweak it.
> See "help every".
> The idea is that in order to read the Nth block you should skip the
> preceding N-1 blocks altogether rather than processing
> them line-by-line. It still has to read in the data, but it
> won't bother to parse the contents of the lines you skip.
>
> But really I think a better idea is to split the input into N separate files
> and then iterate over which file is read.
> That way it goes back to O(N) rather than O(N^2).
>
> If you split the data into files file1.dat file2.dat ... fileN.dat your loop
> could look like this
>
> set pm3d
> unset surface
> set view map
> set palette defined (-0.01 "red", 0 "white", 0.01 "blue") do for [i=1:N] {
> splot 'file' . i . '.dat' matrix;
> }
> unset out
>
>
> Ethan
>
>
>>
>> Yonghui
>>
>> -----Original Message-----
>> From: Ethan A Merritt [mailto:eam...@gm...]
>> Sent: Friday, May 17, 2013 12:18 AM
>> To: gnu...@li...
>> Cc: FortCpp
>> Subject: Re: [Gnuplot-info] Plot matrix with GNUplot. Slow
>>
>> On Thursday, 16 May 2013, FortCpp wrote:
>>> I am using GNUplot for plotting a small matrix. The matrix is
>>> 100x100 by size. e.g.
>>>
>>> 1.23212 2.43123 -1.24312 ......
>>> -4.23123 2.00458 5.60234 ......
>>> ......
>>> The data is not neatly stored in the file. So from C++ point of
>>> view, due to the lack of length per data, there is no way to load a
>>> whole number, but it has to check when the number is loading. I
>>> guess this should be the reason of the slow plotting speed.
>>>
>>> Now I have 3 questions:
>>> Q1: Is loading the bottle neck?
>>>
>>> Q2: If I can make the data file neatly stored (setw). e.g.
>>>
>>> 1.23212 2.43123 -1.24312 ......
>>> -4.23123 2.00458 5.60234 ......
>>> ......
>>> Does the plotting speed get any improvement? (Maybe GNUplot can
>>> check what the pattern is. Thus improve the loading speed. Not
>>> sure.)
>>
>> No. That won't make any difference.
>>
>>>
>>> Q3: Any other options that I can set to make it faster?
>>
>> gnuplot> help fpe
>>
>> The `set datafile nofpe_trap` command tells gnuplot not to
>> re-initialize a floating point exception handler before every
>> expression evaluation used while reading data from an input file.
>> This can significantly speed data input from very large files at the
>> risk of program termination if a floating-point exception is generated.
>>
>> You haven't shown us the commands you use to read the file, so I don't
>> know if this is relevant to your case.
>>
>> There is a recent patch in the CVS version that hugely speeds up
>> reading binary matrices, but since the matrix you show is in ascii
>> that wouldn't help.
>>
>> Ethan
>>
>>
>> --
>> Tradition is not the worship of ashes, but the preservation of fire.
>> - Gustav Mahler
>>
>>
>
>
> --
> Tradition is not the worship of ashes, but the preservation of fire.
> - Gustav Mahler
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Yonghui <lyh...@gm...> - 2013-05-17 20:37:44
|
Hi Ethan,
Thanks for your suggestion. I tried every. But it didn't work. For example:
If the file (test.txt) is :
1 1 1 1
2 1 1 1
3 1 1 1
4 1 1 1
1 2 2 2
2 2 2 2
3 2 2 2
4 2 2 2
1 3 3 3
2 3 3 3
3 3 3 3
4 3 3 3
Then set pm3d, set view map, unset surf
The sp "test.txt" matrix ind 0 is exactly what I need. But I completely have
no idea on how to use every to make the same plot. If I do sp "test.txt"
matrix every :::0::0, it doesn't make anything.
Could you please tell me how to make it work?
Thanks,
Yonghui
-----Original Message-----
From: Ethan A Merritt [mailto:eam...@gm...]
Sent: Friday, May 17, 2013 12:54 AM
To: Yonghui
Cc: gnu...@li...
Subject: Re: [Gnuplot-info] Plot matrix with GNUplot. Slow
On Thursday, 16 May 2013, Yonghui wrote:
> Thanks Ethan,
>
> I am actually making a movie. 200 pictures, each picture is the
> 100x100 matrix. Here is the command:
> ------------plot_TDM_loop.gp"----------------
> splot '_TDTDM.dat' matrix ind i*10
> print i
> i=i+1
> if (i<200) reread
>
> Please take a look. Thanks.
Ugh.
So it opens the file all over again each time, reads one line at a time
until it gets to where it finished during the previous iteration, then reads
one matrix and loops again. That means the time goes up as N^2 rather than
N.
I'm not certain, but I would guess that it would be faster if instead of
using
splot $FOO matrix index i*10 (By the way, why 10? Why not 100?)
you used
splot $FOO matrix every 1:1:1:i::i
I may have mangled that "every" specfier right; you may have to tweak it.
See "help every".
The idea is that in order to read the Nth block you should skip the
preceding N-1 blocks altogether rather than processing
them line-by-line. It still has to read in the data, but it
won't bother to parse the contents of the lines you skip.
But really I think a better idea is to split the input into N separate files
and then iterate over which file is read.
That way it goes back to O(N) rather than O(N^2).
If you split the data into files file1.dat file2.dat ... fileN.dat your loop
could look like this
set pm3d
unset surface
set view map
set palette defined (-0.01 "red", 0 "white", 0.01 "blue") do for [i=1:N] {
splot 'file' . i . '.dat' matrix;
}
unset out
Ethan
>
> Yonghui
>
> -----Original Message-----
> From: Ethan A Merritt [mailto:eam...@gm...]
> Sent: Friday, May 17, 2013 12:18 AM
> To: gnu...@li...
> Cc: FortCpp
> Subject: Re: [Gnuplot-info] Plot matrix with GNUplot. Slow
>
> On Thursday, 16 May 2013, FortCpp wrote:
> > I am using GNUplot for plotting a small matrix. The matrix is
> > 100x100 by size. e.g.
> >
> > 1.23212 2.43123 -1.24312 ......
> > -4.23123 2.00458 5.60234 ......
> > ......
> > The data is not neatly stored in the file. So from C++ point of
> > view, due to the lack of length per data, there is no way to load a
> > whole number, but it has to check when the number is loading. I
> > guess this should be the reason of the slow plotting speed.
> >
> > Now I have 3 questions:
> > Q1: Is loading the bottle neck?
> >
> > Q2: If I can make the data file neatly stored (setw). e.g.
> >
> > 1.23212 2.43123 -1.24312 ......
> > -4.23123 2.00458 5.60234 ......
> > ......
> > Does the plotting speed get any improvement? (Maybe GNUplot can
> > check what the pattern is. Thus improve the loading speed. Not
> > sure.)
>
> No. That won't make any difference.
>
> >
> > Q3: Any other options that I can set to make it faster?
>
> gnuplot> help fpe
>
> The `set datafile nofpe_trap` command tells gnuplot not to
> re-initialize a floating point exception handler before every
> expression evaluation used while reading data from an input file.
> This can significantly speed data input from very large files at the
> risk of program termination if a floating-point exception is generated.
>
> You haven't shown us the commands you use to read the file, so I don't
> know if this is relevant to your case.
>
> There is a recent patch in the CVS version that hugely speeds up
> reading binary matrices, but since the matrix you show is in ascii
> that wouldn't help.
>
> Ethan
>
>
> --
> Tradition is not the worship of ashes, but the preservation of fire.
> - Gustav Mahler
>
>
--
Tradition is not the worship of ashes, but the preservation of fire.
- Gustav Mahler
|
|
From: Clement L. <the...@gm...> - 2013-05-17 07:22:17
|
On 17 May 2013 06:54, Ethan A Merritt <eam...@gm...> wrote:
> set pm3d
> unset surface
> set view map
> set palette defined (-0.01 "red", 0 "white", 0.01 "blue")
> do for [i=1:N] {
> splot 'file' . i . '.dat' matrix;
> }
> unset out
I just want to point out that you'll need version 4.6 and above. I say
this because I'm aware some people still use older versions,
particularly on university machines.
|
|
From: Ethan A M. <eam...@gm...> - 2013-05-17 05:54:30
|
On Thursday, 16 May 2013, Yonghui wrote:
> Thanks Ethan,
>
> I am actually making a movie. 200 pictures, each picture is the 100x100
> matrix. Here is the command:
> ------------plot_TDM_loop.gp"----------------
> splot '_TDTDM.dat' matrix ind i*10
> print i
> i=i+1
> if (i<200) reread
>
> Please take a look. Thanks.
Ugh.
So it opens the file all over again each time,
reads one line at a time until it gets to where it
finished during the previous iteration, then reads
one matrix and loops again. That means the
time goes up as N^2 rather than N.
I'm not certain, but I would guess that it would be
faster if instead of using
splot $FOO matrix index i*10 (By the way, why 10? Why not 100?)
you used
splot $FOO matrix every 1:1:1:i::i
I may have mangled that "every" specfier right;
you may have to tweak it. See "help every".
The idea is that in order to read the Nth block you should skip
the preceding N-1 blocks altogether rather than processing
them line-by-line. It still has to read in the data, but it
won't bother to parse the contents of the lines you skip.
But really I think a better idea is to split the input into
N separate files and then iterate over which file is read.
That way it goes back to O(N) rather than O(N^2).
If you split the data into files file1.dat file2.dat ... fileN.dat
your loop could look like this
set pm3d
unset surface
set view map
set palette defined (-0.01 "red", 0 "white", 0.01 "blue")
do for [i=1:N] {
splot 'file' . i . '.dat' matrix;
}
unset out
Ethan
>
> Yonghui
>
> -----Original Message-----
> From: Ethan A Merritt [mailto:eam...@gm...]
> Sent: Friday, May 17, 2013 12:18 AM
> To: gnu...@li...
> Cc: FortCpp
> Subject: Re: [Gnuplot-info] Plot matrix with GNUplot. Slow
>
> On Thursday, 16 May 2013, FortCpp wrote:
> > I am using GNUplot for plotting a small matrix. The matrix is 100x100
> > by size. e.g.
> >
> > 1.23212 2.43123 -1.24312 ......
> > -4.23123 2.00458 5.60234 ......
> > ......
> > The data is not neatly stored in the file. So from C++ point of view,
> > due to the lack of length per data, there is no way to load a whole
> > number, but it has to check when the number is loading. I guess this
> > should be the reason of the slow plotting speed.
> >
> > Now I have 3 questions:
> > Q1: Is loading the bottle neck?
> >
> > Q2: If I can make the data file neatly stored (setw). e.g.
> >
> > 1.23212 2.43123 -1.24312 ......
> > -4.23123 2.00458 5.60234 ......
> > ......
> > Does the plotting speed get any improvement? (Maybe GNUplot can check
> > what the pattern is. Thus improve the loading speed. Not sure.)
>
> No. That won't make any difference.
>
> >
> > Q3: Any other options that I can set to make it faster?
>
> gnuplot> help fpe
>
> The `set datafile nofpe_trap` command tells gnuplot not to re-initialize a
> floating point exception handler before every expression evaluation used
> while reading data from an input file. This can significantly speed data
> input from very large files at the risk of program termination if a
> floating-point exception is generated.
>
> You haven't shown us the commands you use to read the file, so I don't know
> if this is relevant to your case.
>
> There is a recent patch in the CVS version that hugely speeds up reading
> binary matrices, but since the matrix you show is in ascii that wouldn't
> help.
>
> Ethan
>
>
> --
> Tradition is not the worship of ashes, but the preservation of fire.
> - Gustav Mahler
>
>
--
Tradition is not the worship of ashes, but the preservation of fire.
- Gustav Mahler
|
|
From: Yonghui <lyh...@gm...> - 2013-05-17 05:24:05
|
Thanks Ethan, I am actually making a movie. 200 pictures, each picture is the 100x100 matrix. Here is the command: -----------plot_TDM.gp-------------- set term gif size 640,640 animate delay 10 set out '@movie_TDM.gif' unset key set cbrange[-0.01:0.01] i=0 set pm3d unset surface set view map set palette defined (-0.01 "red", 0 "white", 0.01 "blue") load "plot_TDM_loop.gp" unset out quit ------------plot_TDM_loop.gp"---------------- splot '_TDTDM.dat' matrix ind i*10 print i i=i+1 if (i<200) reread Please take a look. Thanks. Yonghui -----Original Message----- From: Ethan A Merritt [mailto:eam...@gm...] Sent: Friday, May 17, 2013 12:18 AM To: gnu...@li... Cc: FortCpp Subject: Re: [Gnuplot-info] Plot matrix with GNUplot. Slow On Thursday, 16 May 2013, FortCpp wrote: > I am using GNUplot for plotting a small matrix. The matrix is 100x100 > by size. e.g. > > 1.23212 2.43123 -1.24312 ...... > -4.23123 2.00458 5.60234 ...... > ...... > The data is not neatly stored in the file. So from C++ point of view, > due to the lack of length per data, there is no way to load a whole > number, but it has to check when the number is loading. I guess this > should be the reason of the slow plotting speed. > > Now I have 3 questions: > Q1: Is loading the bottle neck? > > Q2: If I can make the data file neatly stored (setw). e.g. > > 1.23212 2.43123 -1.24312 ...... > -4.23123 2.00458 5.60234 ...... > ...... > Does the plotting speed get any improvement? (Maybe GNUplot can check > what the pattern is. Thus improve the loading speed. Not sure.) No. That won't make any difference. > > Q3: Any other options that I can set to make it faster? gnuplot> help fpe The `set datafile nofpe_trap` command tells gnuplot not to re-initialize a floating point exception handler before every expression evaluation used while reading data from an input file. This can significantly speed data input from very large files at the risk of program termination if a floating-point exception is generated. You haven't shown us the commands you use to read the file, so I don't know if this is relevant to your case. There is a recent patch in the CVS version that hugely speeds up reading binary matrices, but since the matrix you show is in ascii that wouldn't help. Ethan -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |
|
From: Ethan A M. <eam...@gm...> - 2013-05-17 05:18:31
|
On Thursday, 16 May 2013, FortCpp wrote: > I am using GNUplot for plotting a small matrix. The matrix is 100x100 by > size. e.g. > > 1.23212 2.43123 -1.24312 ...... > -4.23123 2.00458 5.60234 ...... > ...... > The data is not neatly stored in the file. So from C++ point of view, due to > the lack of length per data, there is no way to load a whole number, but it > has to check when the number is loading. I guess this should be the reason > of the slow plotting speed. > > Now I have 3 questions: > Q1: Is loading the bottle neck? > > Q2: If I can make the data file neatly stored (setw). e.g. > > 1.23212 2.43123 -1.24312 ...... > -4.23123 2.00458 5.60234 ...... > ...... > Does the plotting speed get any improvement? (Maybe GNUplot can check what > the pattern is. Thus improve the loading speed. Not sure.) No. That won't make any difference. > > Q3: Any other options that I can set to make it faster? gnuplot> help fpe The `set datafile nofpe_trap` command tells gnuplot not to re-initialize a floating point exception handler before every expression evaluation used while reading data from an input file. This can significantly speed data input from very large files at the risk of program termination if a floating-point exception is generated. You haven't shown us the commands you use to read the file, so I don't know if this is relevant to your case. There is a recent patch in the CVS version that hugely speeds up reading binary matrices, but since the matrix you show is in ascii that wouldn't help. Ethan -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |
|
From: David B. <bro...@fa...> - 2013-05-17 05:01:06
|
Hi, I am trying to make a plot of wind vs time. I want time on the X axis, the Y axis to be the speed and a fixed size vector at each data point indicating the wind direction. The ideal thing would be if I could specify the deltax and deltay size of each vector in pixels, or some other screen coordinate independent of the x and y ranges. Is this possible? I haven't been able to find any information about the above so I assume I will need to specify deltax as a time and figure out the right scaling. However I haven't been able to get this to work, the vectors always have zero length in the X dimension. I have: ... set xdata time set timefmt "%m/%d-%H:%M" ... plot 'foo.txt' using 1:2:3:4 with vectors Where the data file is like this: 05/17-11:00 6.33660511836 -00/00-00:55 -0.35963594262 05/17-14:00 4.52832308033 00/00-00:40 -0.731311736396 05/17-17:00 3.95676205159 00/00-00:59 0.0217798990928 I have tried various formats for the 3rd column but I have been unable to figure out how to make the vector plot work with time on the X axis. I would greatly appreciate any suggestions, Thanks, Dave |
|
From: FortCpp <lyh...@gm...> - 2013-05-17 04:56:43
|
I am using GNUplot for plotting a small matrix. The matrix is 100x100 by size. e.g. 1.23212 2.43123 -1.24312 ...... -4.23123 2.00458 5.60234 ...... ...... The data is not neatly stored in the file. So from C++ point of view, due to the lack of length per data, there is no way to load a whole number, but it has to check when the number is loading. I guess this should be the reason of the slow plotting speed. Now I have 3 questions: Q1: Is loading the bottle neck? Q2: If I can make the data file neatly stored (setw). e.g. 1.23212 2.43123 -1.24312 ...... -4.23123 2.00458 5.60234 ...... ...... Does the plotting speed get any improvement? (Maybe GNUplot can check what the pattern is. Thus improve the loading speed. Not sure.) Q3: Any other options that I can set to make it faster? Thanks! -- View this message in context: http://gnuplot.10905.n7.nabble.com/Plot-matrix-with-GNUplot-Slow-tp17365.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: thse <t.s...@fz...> - 2013-05-16 10:00:47
|
after the 1st 'replot' you are executing the 2nd 'plot' command, so this plot is written to 'test1.eps' too. afterwards you set output to 'test2.eps', so the 2nd 'replot' writes into 'test2.eps'. you don't need the 'replot' commands, just plot directly into the eps-files: set terminal postscript set output "test1.eps" plot "test1" using 1:2 set output "test2.eps" plot "test2" using 1:2 set output -- View this message in context: http://gnuplot.10905.n7.nabble.com/Save-multiple-plots-with-one-gnuplot-script-tp17362p17363.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Clement L. <the...@gm...> - 2013-05-16 08:11:47
|
Hello,
One method is to use awk within gnuplot, e.g.:
plot "< awk '{if(NR > minRow && NR < maxRow) { if($1 <= maxVal || $2
>= minVal) {print $0} }}' yourData.dat"
I have to be quite general here because I don't know the specifics of
your data format. awk will take yourData.dat, process it according to
the criteria you stated, and gnuplot will plot the result of awk's
processing.
Also, I've not tested the awk code above, but the general idea should
be correct.
On 16 May 2013 08:45, tk110830 <kie...@we...> wrote:
> Hello,
>
> I have the following problem: I would like to use Gnuplot to make graphs
> from experiment data stored in a csv-file. But I cannot use the whole data
> (adjustment processes are also logged and would compromise the real graph)
> and I cannot have a fix value of line numbers to leave out because the
> adjustment processes take different times. Is there any way to get gnuplot
> to use only lines in specific value ranges and to also leave out the first
> and last few lines of these ranges?
>
> Kind regards
> - TK
>
>
>
> --
> View this message in context: http://gnuplot.10905.n7.nabble.com/Exceptions-from-csv-files-tp17360.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: tk110830 <kie...@we...> - 2013-05-16 07:45:29
|
Hello, I have the following problem: I would like to use Gnuplot to make graphs from experiment data stored in a csv-file. But I cannot use the whole data (adjustment processes are also logged and would compromise the real graph) and I cannot have a fix value of line numbers to leave out because the adjustment processes take different times. Is there any way to get gnuplot to use only lines in specific value ranges and to also leave out the first and last few lines of these ranges? Kind regards - TK -- View this message in context: http://gnuplot.10905.n7.nabble.com/Exceptions-from-csv-files-tp17360.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Mahmood N. <nt_...@ya...> - 2013-05-12 05:40:00
|
Hi Sometimes when I zoom in a region of a chart, I get this message in the terminal integer overflow; change to floating point At this point, zooming doesn't work and for every right click (to set a region) I get that message. Regards, Mahmood |