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: murt <mu...@gm...> - 2012-06-20 22:26:03
|
Am Dienstag, den 19.06.2012, 00:40 +0200 schrieb Hans-Bernhard Bröker: > On 17.06.2012 22:47, murt wrote: > > > set multiplot > > Your problem lies right here. You're abusing multiplot. > > You should really do your entire plot in _one_ splot command. The way > you did it, you're essentially requesting gnuplot to treat all your > plots as completely independent. Re-using the same colours for the > contour lines is just one of many problems this causes. Hello, I don't think using multiplot this way is an actual abuse, iirc I read something about this usage in the documentation. I am dealing with dozens of gnuplot files and so I have to stay with reusing code via the load command (and that mean using multiple plot commands). But anyhow, yes, in this way every single plot is treated independently, so their colour is reset too. But may question is still, if there's an option to set the linetype of contour lines explicitly -- like it is possible for other plot/splot content (lines/surfaces). I have already tried to insert other contour values to shift/increase the linetype of the desired contour line to a number with appropriate colour. But then I am struggling with extra, unnecessary visible contour lines. Maybe there's an option to turn specific linetypes/contour lines to transparent? Many thanks, Stephan |
|
From: Thomas S. <t.s...@fz...> - 2012-06-19 10:13:50
|
plot nothing (0/0 = undefined) to store the value into a variable,
then use this variable for the title of the 2nd plot:
plot 'testbep.dat' using 1:(t=$2,0/0), \
'' using 1:2 with points pt 7 ps 1.7 title sprintf("BEP %01.2f",t)
the end_of_data "e" is only needed for inline data not
for data read from a file.
sergejzr wrote:
>
> Hello Dear Gnuplot wizards!
>
> I am quite new to this topic, but I am starting to like this software. I
> have some graph in mind and need your help to vizualize it! My problem:
>
> I would like to put a single point on the plot and to give it a special
> title, so right no it works like:
>
> plot 'testbep.dat' with points pt 7 ps 1.7 title sprintf("BEP
> %01.2f",0.63)
>
> data file 'testbep.dat':
> 0.6285488958990536 0.6285488958990536
>
> What I need is to take the number 0.63 directly from the data file, means
> take the 0.6285488958990536, round it to 0.63 and put into title.
>
> Any ideas, how to do it?
>
> And maybe you can help me to solve the second problem.
>
> What I actually would prefer, is to place both, the curve data and the
> point data into one file.
>
> This works:
> ######################
> set xlabel "Recall"
> set ylabel "Precision"
> set xrange[0.0:1.0]
> set yrange[0.0:1.0]
> set key inside left bottom
> plot "-" with linespoints notitle, "-" with points pt 7 ps 1.7 title "BEP
> 0.63"
> ########Data Part###########
> 0.10 0.8313492063492064
> 0.20 0.7976071784646062
> 0.30 0.7915549597855228
> 0.40 0.7928934010152284
> 0.50 0.7682878608145512
> 0.60 0.6384615384615384
> 0.70 0.5784858853721129
> 0.80 0.5454224107458466
> 0.90 0.5220599307333232
> 1 0.5
> e
> 0.6285488958990536 0.6285488958990536
> e
> ############################################
>
> and generates a http://l3s.de/~zerr/example.pdf perfect picture
>
> But whenever I put the data part into extra file it says "Bad datat on
> line 10" this is where the "e" is placed when I try to plot:
> plot 'test.dat' with linespoints notitle, "-" with points pt 7 ps 1.7
> title "BEP 0.63"
>
>
> Thank you very much in advance for you help!
> S.Z
>
>
>
--
View this message in context: http://old.nabble.com/How-to-put-a-particular-value-from-the-data-file-as-lable-tp34028915p34035490.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas O. <tho...@or...> - 2012-06-19 08:50:19
|
Am Tue, 12 Jun 2012 09:42:23 +0200 schrieb Thomas Orgis <tho...@or...>: > Am Mon, 11 Jun 2012 19:58:07 +0200 > schrieb walter harms <wh...@bf...>: > > > I use X11 most times beside postscript :) > > did you try a strace ? > > There is no discernible difference in strace between the cases with and without |cat; the end looks like this: > [...] > Well, the Wx terminal also sits in poll, simply because that's the main even loop, I suppose. No difference to Qt there (just that it also succeeds in updating the coordinates). Nobody got any idea? Is this a sole toolkit question for Qt or Wx? Seems like I have to hack my frontend to ban non-x11 graphical terminals. Alrighty then, Thomas |
|
From: sergejzr <ze...@l3...> - 2012-06-18 09:58:42
|
Hello Dear Gnuplot wizards!
I am quite new to this topic, but I am starting to like this software. I
have some graph in mind and need your help to vizualize it! My problem:
I would like to put a single point on the plot and to give it a special
title, so right no it works like:
plot 'testbep.dat' with points pt 7 ps 1.7 title sprintf("BEP %01.2f",0.63)
data file 'testbep.dat':
0.6285488958990536 0.6285488958990536
What I need is to take the number 0.63 directly from the data file, means
take the 0.6285488958990536, round it to 0.63 and put into title.
Any ideas, how to do it?
And maybe you can help me to solve the second problem.
What I actually would prefer, is to place both, the curve data and the point
data into one file.
This works:
######################
set xlabel "Recall"
set ylabel "Precision"
set xrange[0.0:1.0]
set yrange[0.0:1.0]
set key inside left bottom
plot "-" with linespoints notitle, "-" with points pt 7 ps 1.7 title "BEP
0.63"
########Data Part###########
0.10 0.8313492063492064
0.20 0.7976071784646062
0.30 0.7915549597855228
0.40 0.7928934010152284
0.50 0.7682878608145512
0.60 0.6384615384615384
0.70 0.5784858853721129
0.80 0.5454224107458466
0.90 0.5220599307333232
1 0.5
e
0.6285488958990536 0.6285488958990536
e
############################################
and generates a http://l3s.de/~zerr/example.pdf perfect picture
But whenever I put the data part into extra file it says "Bad datat on line
10" this is where the "e" is placed when I try to plot:
plot 'test.dat' with linespoints notitle, "-" with points pt 7 ps 1.7 title
"BEP 0.63"
Thank you very much in advance for you help!
S.Z
--
View this message in context: http://old.nabble.com/How-to-put-a-particular-value-from-the-data-file-as-lable-tp34028915p34028915.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: murt <mu...@gm...> - 2012-06-17 20:50:25
|
Hello everyone, My rough setup is the following: unset surface set view map set multiplot set style data pm3d set pm3d ... splot DATA_A1, DATA_A2, ... unset pm3d set contour base set cntrparam levels discrete VAL_B ... splot DATA_B set cntrparam levels discrete VAL_C ... splot DATA_C unset multiplot This is working very fine to plot a map of data (DATA_Ax) and two contour overlays from different data (DATA_B, DATA_C). But it shows, that both single contour lines (VAL_B and VAL_C) were plotted in the same linetype (and color too). So my questions are: Is there a way to set explicitly the linetype of following contour plot lines? Or is it possible to set a linetype bias and increment for contour lines? My actual gnuplot file(s) (each splot in above example is a "load" of a generic gnuplot file) makes use of my own predefined linetypes. This works very well for choosing linetypes for surfaced plots (w/ "hidden3d offset ..."). I think I am looking for something similar for contour lines. I am using gnuplot 4.6 patchlevel 0 on arch linux. I would be very happy if someone of you could help me with this struggle. Many thanks to everyone, Stephan |
|
From: Thomas S. <t.s...@fz...> - 2012-06-15 16:10:14
|
the options 'offset' and 'center' for the 'set ytics' command may be useful. rihii wrote: > > Everything worked great :) > > just had some glitches as i call gnuplot from C i use "this is the command > so insidme i have to use ' ' " > > another thing what i need to do is set the value of ticks on top of them, > is that possible? > i have been looking around but haven't found suitable solution... > > I need to do that because my data are very different, there is y range > from 0 to 25000 and more... > -- View this message in context: http://old.nabble.com/gnuplot-tics-tp33900443p34019022.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <mat...@ma...> - 2012-06-15 13:17:46
|
>I do not know how wx on Cygwin will work. >However, gnuplot on Cygwin offer interactive plot window via X >server like Cygwin-X or Xming. Thanks Tatsuro, I was hoping for advice how could I possibly build it under Cygwin with wx. Should I just download source and try or there is a better way. I have other packages that use wx and all work great, so I wanted to avoid installing X server and use what I have if possible Regards, Matt |
|
From: Tatsuro M. <tma...@ya...> - 2012-06-15 09:01:00
|
Hello I do not know how wx on Cygwin will work. However, gnuplot on Cygwin offer interactive plot window via X server like Cygwin-X or Xming. Sorry for my poor English Regards Tatsuro --- On Fri, 2012/6/15, mat...@ma... wrote: > Hi, > > I have current Cygwin and I build wx libraries in it. I build also wxpython also and matplotlib with wwagg backend, which works as expected from within Cygwin > > As Cygwin's gnuplot version does not offer interactive plot window, I was wondering what would be proper way to build gnuplot on Cygwin and take advantage of wx libraries > > > Thanks in advance > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: rihii <rih...@gm...> - 2012-06-15 07:04:32
|
Everything worked great :) just had some glitches as i call gnuplot from C i use "this is the command so insidme i have to use ' ' " another thing what i need to do is set the value of ticks on top of them, is that possible? i have been looking around but haven't found suitable solution... I need to do that because my data are very different, there is y range from 0 to 25000 and more... -- View this message in context: http://old.nabble.com/gnuplot-tics-tp33900443p34016147.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: <mat...@ma...> - 2012-06-14 18:25:34
|
Hi, I have current Cygwin and I build wx libraries in it. I build also wxpython also and matplotlib with wwagg backend, which works as expected from within Cygwin As Cygwin's gnuplot version does not offer interactive plot window, I was wondering what would be proper way to build gnuplot on Cygwin and take advantage of wx libraries Thanks in advance |
|
From: Thomas S. <t.s...@fz...> - 2012-06-14 12:01:41
|
'help plot using xtic' says:
xticlabels(N) is shorthand for xticlabels(stringcolumn(N))
so you may use
plot 'data2.dat' using 3:xtic(stringcolumn(1)." ".stringcolumn(2)) t col
to have the ytics start at '0' you need to set yrange, not ytics:
set yrange [0:*]
column 3 has no header, you need to tell gnuplot to use
the header of column '2' instead:
plot 'data2.dat' using 3:xtic(stringcolumn(1)." ".stringcolumn(2)) t
columnheader(2)
rihii wrote:
>
> Hey, i have another problem :)
>
> i have this code:
> void plotBox(FILE *pipe){
>
> fprintf(pipe, "set grid\n"); // show grid
> fprintf(pipe, "set boxwidth 0.9 relative\n");
> fprintf(pipe, "set style fill solid 1.00 border lt -1\n");
> fprintf(pipe, "set key outside right top vertical\n"); // show legend
> fprintf(pipe, "set style data histograms\n"); // plot data in histograms
> fprintf(pipe, "set style histogram clustered\n");
> fprintf(pipe, "set datafile missing '-'\n");
> fprintf(pipe, "set xtics border in scale 0,0 nomirror rotate by -45
> autojustify\n");
> fprintf(pipe, "set xtics norangelimit font ',13'\n");
> fprintf(pipe, "set xtics ()\n");
> fprintf(pipe, "set ytics 0, 1\n"); // set y starting point and step
> fprintf(pipe, "set ylabel 'Used current'\n"); // set y starting point and
> step
> fprintf(pipe, "set xlabel 'time'\n"); // set y starting point and step
> fprintf(pipe, "set title 'Current sense data'\n"); // title of graph
> fprintf(pipe, "plot 'data2.dat' using 3:xtic(2) t col\n"); // plot data
> }
> and data2.dat looks like this:
> name Current
> 2012.06.13 12:41:04,52 24
> 2012.06.13 12:41:04,6 24
> 2012.06.13 12:41:04,72 24
> 2012.06.13 12:41:04,81 24
> 2012.06.13 12:41:04,91 24
> 2012.06.13 12:41:05,0 24
> 2012.06.13 12:41:05,12 24
> 2012.06.13 12:41:05,21 24
> 2012.06.13 12:41:05,31 24
> 2012.06.13 12:41:05,4 24
> 2012.06.13 12:41:05,52 24
> 2012.06.13 12:41:05,61 23
> 2012.06.13 12:41:05,71 24
> 2012.06.13 12:41:05,8 24
> 2012.06.14 12:41:05,61 23
> 2012.06.14 12:41:05,71 24
> 2012.06.14 12:41:05,8 24
>
> and the plot looks like this:
>
> http://old.nabble.com/file/p34010550/55.png 55.png
>
> soo, i would like to get the date into the xtics, so it would look like
> this: 2012.06.14 12:41:05,8
>
> i tried fprintf(pipe, "plot 'data2.dat' using 3:xtic(1, 2) t col\n"); but
> it didnt work
>
> also why ytics are starting from 23 and going to 24 if i hade specified
> fprintf(pipe, "set ytics 0, 1\n");
>
> and lastly i had the first row: Name Current as the name of red stick, but
> now its 24. also dont know why.
> Can you please help me? :)
>
--
View this message in context: http://old.nabble.com/gnuplot-tics-tp33900443p34011452.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: <r0...@ya...> - 2012-06-12 08:19:40
|
Hi there, I have a curve in a datafile that is supposed to be the weighted sum of other two curves. I wish to find the coefficients a,b for such sum so that curve1=curve2*a+curve3*b. I tried with the following fit: fit 0.0 "< paste curve1.dat curve2.dat curve3.dat" u 1:($2-$4*a-$6*b) via a,b but it sticks with the "Singular matrix" error. Is there any workaround for that? Thanks in advance, Roberto |
|
From: Thomas O. <tho...@or...> - 2012-06-12 07:42:12
|
Am Mon, 11 Jun 2012 19:58:07 +0200
schrieb walter harms <wh...@bf...>:
> I use X11 most times beside postscript :)
> did you try a strace ?
There is no discernible difference in strace between the cases with and without |cat; the end looks like this:
write(5, "@"..., 1) = 1
close(5) = 0
close(4) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_NOCLDSTOP, 0x2b262ebb45a0}, {0x2b262e344aa0, [], SA_RESTORER|SA_NOCLDSTOP, 0x2b262ebb45a0}, 8) = 0
write(3, "\1\0\0\0\0\0\0\0"..., 8) = 8
close(7) = 0
exit_group(0) = ?
(That's without following forks ... as I gather that I'm rather concerned with the main process.)
I also see that a gnuplot_qt process keeps hanging around after Ctrl+C-ing the console. It hangs in poll()
Loaded symbols for /usr/lib/libtiff.so.3
0x00002b162a6ced6f in *__GI___poll (fds=0x11152f0, nfds=3, timeout=24463) at ../sysdeps/unix/sysv/linux/poll.c:83
83 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/poll.c
(gdb) where
#0 0x00002b162a6ced6f in *__GI___poll (fds=0x11152f0, nfds=3, timeout=24463) at ../sysdeps/unix/sysv/linux/poll.c:83
#1 0x00002b16299aec2b in g_main_context_iterate (context=0x10b4f00, block=<value optimized out>, dispatch=1) at gmain.c:3613
#2 0x00002b16299aed5f in g_main_context_iteration (context=0x10b4f00, may_block=1) at gmain.c:3613
#3 0x00002b1628afc872 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4 0x00002b1627f8c422 in ?? () from /usr/lib/libQtGui.so.4
#5 0x00002b1628ad4bd8 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6 0x00002b1628ad4d8d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7 0x00002b1628ad8599 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#8 0x000000000040cb48 in main (argc=1, argv=<value optimized out>)
Well, the Wx terminal also sits in poll, simply because that's the main even loop, I suppose. No difference to Qt there (just that it also succeeds in updating the coordinates).
Alrighty then,
Thomas
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2012-06-11 18:42:47
|
On 10.06.2012 15:24, Topmmy wrote: > I'm a GNUplot newbie. I simply want to make color 2D contour plots of X/Y/Z > data. So see "help contour" and tell us what's wrong with what it (and the links therein) teaches you. > And unfortunately too, I checked the list of "Demo Samples" and do not find > any such guidance under "Basic 2D Plot Styles" (nothing on contours). That's because contours are, basically, not a 2D plot style. They use 3D data, so they're a 3D plot style. > Is this a tall order? No. It's actually quite the opposite. It's so small an order that it's absolutely astonishing the manual didn't suffice to get it done. |
|
From: walter h. <wh...@bf...> - 2012-06-11 17:58:15
|
Am 11.06.2012 15:21, schrieb Thomas Orgis: > Note: Sending this a third time now ... as I gather that the other attempts failed to reach the list (am I being filtered out as spam?). > > Hi, > > I have a long-standing problem with gnuplot's newer graphical > terminals, first the wxt one, now the qt one showing the same. > I brought this up on IRC some time ago, but without much success ... > and I admit that I tried to ignore the issue by defaulting to the x11 > terminal. But, well, since this is spreading into the qt terminal, too, > I really would like to see the pattern investigated and fixed. > > This is gnuplot 4.6 currently. > > The issue can be reduced to this (on GNU/Linux): > > shell$ echo 'set term x11; plot x' | gnuplot -persist | cat > shell$ > > That opens a x11 plot window which stays there and exits, giving me my > shell prompt back. But this, > > shell$ echo 'set term qt; plot x' | gnuplot -persist | cat > > just hangs there. Why is the terminal type making a difference here? > Gnuplot's input is closed ... why does it not close the output side? > And yes, I am aware that dropping the '| cat' would fix the behaviour, > but that would be missing the point as this is a very reduced example > for a wrapper script that wants to hook something on gnuplot's text > output. > > > Alrighty then, > > Thomas > > > PS: The qt terminal has fuzzy icons ... looks bad compared to the wxt > one (which looks more complete anyway). But well, I prefer the simple > x11 windows anyhow. And please, if they are about to be dropped in > favour of qt, please add an option to remove any widgets, having only > the plotting area remain. > I use X11 most times beside postscript :) did you try a strace ? re, wh |
|
From: Mauricio G. <ga...@fc...> - 2012-06-11 15:33:38
|
People, I'm not sure they will help but some few examples of 2D plot with contours can be found in http://www.fct.unesp.br/docentes/carto/galo/web/gnuplot/gnu_exemplos4.htm Regards Mauricio Galo ---------------------------------------------- UNESP - Univ. Estadual Paulista / Dep. de Cartografia Rua Roberto Simonsen 305 / Presidente Prudente - SP CEP 19060-900, Brasil / Tel.:+55(18)32295514 (5500) http://www.fct.unesp.br / ga...@fc... ------------------------------------------------------------ > > Hello, > > I'm a GNUplot newbie. I simply want to make color 2D contour plots of X/Y/Z > data. > > I searched this forum for posts on this and only found this one: > http://old.nabble.com/2-D-contour-plot-with-gnuplot-to33544887.html#a33544887 > He basically asked the same question but unfortunately, no one answered him. > > I have ever-so-briefly perused the GNUplot Manual and do not find much help > there. In the FAQs, I see: > 3.12 How to draw black contour plots ... > > I have not obtained/read Janert's book but it seems like a very good > reference on GNUplot and its capabilities. > > And unfortunately too, I checked the list of "Demo Samples" and do not find > any such guidance under "Basic 2D Plot Styles" (nothing on contours). > > I'm interested in (to start with) a simple script that reads (from a > location I provide) a 3-column ASCII text file of Polar coordinates and > renders to the screen a color plot. I'd like to figure out how, presumably > in the script, to control "bin" limits for the Z-data, which of course > governs the resolution of the contour plot. A way to label axes and post a > legend of contour intervals would be even better! > > Is this a tall order? > > Any help is appreciated. > -- > View this message in context: > http://old.nabble.com/Color-2D-Contour-Plots-tp33970193p33970193.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Thomas O. <tho...@or...> - 2012-06-11 13:21:31
|
Note: Sending this a third time now ... as I gather that the other attempts failed to reach the list (am I being filtered out as spam?). Hi, I have a long-standing problem with gnuplot's newer graphical terminals, first the wxt one, now the qt one showing the same. I brought this up on IRC some time ago, but without much success ... and I admit that I tried to ignore the issue by defaulting to the x11 terminal. But, well, since this is spreading into the qt terminal, too, I really would like to see the pattern investigated and fixed. This is gnuplot 4.6 currently. The issue can be reduced to this (on GNU/Linux): shell$ echo 'set term x11; plot x' | gnuplot -persist | cat shell$ That opens a x11 plot window which stays there and exits, giving me my shell prompt back. But this, shell$ echo 'set term qt; plot x' | gnuplot -persist | cat just hangs there. Why is the terminal type making a difference here? Gnuplot's input is closed ... why does it not close the output side? And yes, I am aware that dropping the '| cat' would fix the behaviour, but that would be missing the point as this is a very reduced example for a wrapper script that wants to hook something on gnuplot's text output. Alrighty then, Thomas PS: The qt terminal has fuzzy icons ... looks bad compared to the wxt one (which looks more complete anyway). But well, I prefer the simple x11 windows anyhow. And please, if they are about to be dropped in favour of qt, please add an option to remove any widgets, having only the plotting area remain. |
|
From: Morten L. <mor...@no...> - 2012-06-11 11:20:13
|
> Yes! At least I didn’t forget it. This mail should have an attachment, > but for sure here’s the source code: > ========== > using System.Diagnostics; > using System.IO; > > class Program > { > static void Main(string[] args) > { > ProcessStartInfo processStartInfo = > new ProcessStartInfo(@"gnuplot"); > //new ProcessStartInfo(@"C:\Programme\gp460win32\binary\gnuplot.exe"); > processStartInfo.UseShellExecute = false; > processStartInfo.RedirectStandardInput = true; > > Process gpProc = new Process(); > gpProc.StartInfo = processStartInfo; > gpProc.Start(); > StreamWriter gpcommands = gpProc.StandardInput; > gpcommands.WriteLine("splot x+y"); > gpcommands.WriteLine("bind Close \"exit gnuplot\""); > //gpcommands.WriteLine("exit"); > gpProc.WaitForExit(); > } > } > ======== > I have just tried this code using gnuplot 4.6 in a .Net 4.0 project on Windows 7 machine, and I was not able to reproduce the problem. After the window was closed, execution returned to the main method. No hanging on WaitForExit. /Morten |
|
From: Topmmy <Met...@op...> - 2012-06-10 13:24:11
|
Hello, I'm a GNUplot newbie. I simply want to make color 2D contour plots of X/Y/Z data. I searched this forum for posts on this and only found this one: http://old.nabble.com/2-D-contour-plot-with-gnuplot-to33544887.html#a33544887 He basically asked the same question but unfortunately, no one answered him. I have ever-so-briefly perused the GNUplot Manual and do not find much help there. In the FAQs, I see: 3.12 How to draw black contour plots ... I have not obtained/read Janert's book but it seems like a very good reference on GNUplot and its capabilities. And unfortunately too, I checked the list of "Demo Samples" and do not find any such guidance under "Basic 2D Plot Styles" (nothing on contours). I'm interested in (to start with) a simple script that reads (from a location I provide) a 3-column ASCII text file of Polar coordinates and renders to the screen a color plot. I'd like to figure out how, presumably in the script, to control "bin" limits for the Z-data, which of course governs the resolution of the contour plot. A way to label axes and post a legend of contour intervals would be even better! Is this a tall order? Any help is appreciated. -- View this message in context: http://old.nabble.com/Color-2D-Contour-Plots-tp33970193p33970193.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Frank S. <der...@gm...> - 2012-06-09 08:11:32
|
Am Donnerstag, den 07.06.2012, 17:38 -0700 schrieb Tait: > In interactive mode, it works for me, as you described. I don't have a C# > compiler, but from gnuplot's point of view, there should be no difference > between what you're doing in C# to write to gnuplot's STDIN and: > echo bind Close 'exit gnuplot'; splot x+y; pause -1 | gnuplot.exe Exactly, but there is! I have hoped, that someone of you perhaps has already worked with a C#-gnuplot-pipe, but it doesn’t seem so. > And that works just fine for me. For me, too. > Even adding a "set terminal windows" does not change the behavior > (with alt+F4 since the windows terminal doesn't accept q to close). Yes, neither for C# nor interactively. > I'm using a 64-bit OS (Windows 2003). I wouldn't expect that to matter, > as gnuplot is a 32-bit app regardless. I cannot duplicate what you're > seeing. Please try it. Just install the mono compiler und run my example. You can find it here: <http://download.mono-project.com/archive/2.10.8/windows-installer/1/mono-2.10.8-gtksharp-2.12.11-win32-1.exe> Compile the source file with (depending on your installation): C:\Programs\Mono-2.10.8\bin\mcs.bat Program.cs Unfortunately you have Windows 2003 instead of XP … let’s be optimistic. |
|
From: <mei...@gm...> - 2012-06-08 02:23:59
|
Hi,
I have a section in my gnuplot input file like this
set linetype 1 linecolor rgb "#0000DA"
set linetype 2 linecolor rgb "#0000DA"
set linetype 3 linecolor rgb "#FF00E4"
set linetype 4 linecolor rgb "#FF00E4"
set linetype 5 linecolor rgb "#0082DA"
set linetype 6 linecolor rgb "#0082DA"
set linetype 7 linecolor rgb "#FF00FF"
set linetype 8 linecolor rgb "#FF00FF"
....
using ($0/20.0):($1*0.0001) title "force" with lines lt 1 , '' \
using ($0/20.0):($2*0.0001) title "force" with lines lt 2 , '' \
using ($0/20.0):($3*0.0001) title "force" with lines lt 3 , '' \
using ($0/20.0):($4*0.0001) title "force" with lines lt 4 , '' \
using ($0/20.0):($5*0.0001) title "force" with lines lt 5 , '' \
using ($0/20.0):($6*0.0001) title "force" with lines lt 6 , '' \
using ($0/20.0):($7*0.0001) title "force" with lines lt 7 , '' \
using ($0/20.0):($8*0.0001) title "force" with lines lt 8
term is qt
When setting the linetype that way two things happen
1) The plot becomes very slow...there is a long time between
the according load command on the commandline of gnuplot
and the appearance of the plot in the window. This
does not happen when setting no linetypes.
2) The colors are not set according to the rb values as given
above. Some doe much, some do match nearly and dont match.
What can I do to fix both problems?
Thank you very much in advance for any help!
Best regards,
mcc
|
|
From: Tait <gnu...@t4...> - 2012-06-08 00:43:43
|
> I have a script which plots my data exactly how I want it. My question is, > is it possible to read in a string from a data file and place this text in a > specific location on the graph? (I don't care where it goes as long as it is > displayed horizontally and is outside the axes.) I am plotting many graphs > repeatedly and would like to display input parameters on each graph rather > than having to refer to each plot's data file to see what it was made from. > I have been googling for hours and nothing has worked. I now believe it's > probably not possible but if you have any suggestion that would be much > appreciated. It sounds like you want either "set label" or to "plot ... with labels". They are explained in "help label" and "help labels" respectively. There are demos at http://gnuplot.sourceforge.net/demo_4.6/datastrings.html and http://gnuplot.sourceforge.net/demo_4.6/stringvar.html. |
|
From: Tait <gnu...@t4...> - 2012-06-08 00:39:10
|
> > > > > gpcommands.WriteLine("splot x+y");
> > > > > gpcommands.WriteLine("bind Close \"exit gnuplot\"");
> >
> > Does this have anything to do with C# at all? Even interactively (4.6p0),
> > "bind Close exit" does not seem to work.
>
> No, everything is ok in interactive mode. At least the plot window does
> not freeze by hitting q. (I think you have to use bind Close "exit
> gnuplot" instead.)
> It works with linux, but with the same compiler for windows not. I would
> guess the problem is MS or gnuplot.
>
> Of course, the behavior of a pipe via C++ or C would be very
> interesting.
Okay, adding the gnuplot to "bind Close 'exit gnuplot'" makes it work
as expected.
In interactive mode, it works for me, as you described. I don't have a C#
compiler, but from gnuplot's point of view, there should be no difference
between what you're doing in C# to write to gnuplot's STDIN and:
echo bind Close 'exit gnuplot'; splot x+y; pause -1 | gnuplot.exe
And that works just fine for me. I can close the plot window with either
q or alt+F4 and I am returned to the command prompt.
If I add a print, e.g.:
echo bind Close 'exit gnuplot'; splot x+y; pause -1; print 'got this far' | gnuplot.exe
the print never happens, suggesting the binding is indeed working.
Even adding a "set terminal windows" does not change the behavior
(with alt+F4 since the windows terminal doesn't accept q to close).
I'm using a 64-bit OS (Windows 2003). I wouldn't expect that to matter,
as gnuplot is a 32-bit app regardless. I cannot duplicate what you're
seeing.
|
|
From: whatsherface <het...@gm...> - 2012-06-07 21:42:52
|
I have a script which plots my data exactly how I want it. My question is, is it possible to read in a string from a data file and place this text in a specific location on the graph? (I don't care where it goes as long as it is displayed horizontally and is outside the axes.) I am plotting many graphs repeatedly and would like to display input parameters on each graph rather than having to refer to each plot's data file to see what it was made from. I have been googling for hours and nothing has worked. I now believe it's probably not possible but if you have any suggestion that would be much appreciated. -- View this message in context: http://old.nabble.com/Read-string-from-data-file-and-display-on-graph--tp33978344p33978344.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: walter h. <wh...@bf...> - 2012-06-07 13:53:06
|
I am not sure if i understand your problem. there are several examples availabel: http://gnuplot.sourceforge.net/demo/surface1.html http://gnuplot.sourceforge.net/demo/contours.html If this is not what you want perhaps you can suply a few sample data an explain what you have tried and what you expect to see. re, wh Am 06.06.2012 19:22, schrieb Topmmy: > > Hello, > > Did you ever get any response? It seems that you did not. > I have the same question! > Tommy > > > hamidamini wrote: >> >> Hello >> with gnuplot >> I need to have 2d contour plot from a file (say ss.dat) with three column, >> first and secend columns are X and Y respectively and the third column is >> magnitude (I need to have this magnitude with labels on it in 2d plot). >> >> Thanks in advance >> Hamid >> > |