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: Jon <dev...@gm...> - 2014-02-23 01:31:05
|
Dear All, I know plot by default will not connect two points if they are separated by a blank line. But data from a specific output from a software has data readily isolated into different blocks separated by a line, for example 0.0000000E+00 0.0000000E+00 0.0000000E+00 0.1562500E-01 1 -23.821478 2 -4.218649 3 -4.218649 4 -4.218621 5 8.602143 6 10.708182 0.2500000E-01 0.0000000E+00 0.0000000E+00 0.0000000E+00 1 -23.816546 2 -4.251996 3 -4.222201 4 -4.222177 5 8.639374 6 10.692756 0.5000000E-01 0.0000000E+00 0.0000000E+00 0.0000000E+00 1 -23.801388 2 -4.349303 3 -4.232706 4 -4.232682 5 8.747586 6 10.649874 ... Thus, if I issue the following command, p [] [] \ VASP u 2 ev 18::1 w lp, \ VASP u 2 ev 18::2 w lp, \ VASP u 2 ev 18::3 w lp, \ VASP u 2 ev 18::4 w lp, \ VASP u 2 ev 18::5 w lp then plotted points are broken although I issued w lp option. I wonder whether there is a way to force connecting nearby points even they are separated by blanks. Thanks, Sincerely, John |
|
From: Mahmood N. <nt_...@ya...> - 2014-02-20 12:17:06
|
Thanks. Hadn't noticed about plot '-' ! I thought it takes only file names Regards, Mahmood On Thursday, February 20, 2014 10:04 AM, sfeam <eam...@gm...> wrote: On Wednesday, 19 February 2014 09:52:14 PM Mahmood Naderan wrote: > > Hi > I want to draw a 1D plot with the following data points > "name" "value" > A1 2 > A2 10 > > and something which looks like > > > > A1 A2 > ----+------------+------- > 2 10 > > All I see in the examples are 2D plots. set term dumb set border 0 set xzeroaxis unset ytics set xtics axis scale 0.1 offset 0,1 set xrange [0:12] plot '-' using 2:(0):1 with labels offset 0,1 A1 2 A2 10 e A1 A2 +...........+...........+............+...........+...........+...........+ 0 2 4 6 8 10 12 > > Any hint is greatly appreciated. > > Regards, > Mahmood |
|
From: sfeam <eam...@gm...> - 2014-02-20 06:35:05
|
On Wednesday, 19 February 2014 09:52:14 PM Mahmood Naderan wrote:
>
> Hi
> I want to draw a 1D plot with the following data points
> "name" "value"
> A1 2
> A2 10
>
> and something which looks like
>
>
>
> A1 A2
> ----+------------+-------
> 2 10
>
> All I see in the examples are 2D plots.
set term dumb
set border 0
set xzeroaxis
unset ytics
set xtics axis scale 0.1 offset 0,1
set xrange [0:12]
plot '-' using 2:(0):1 with labels offset 0,1
A1 2
A2 10
e
A1 A2
+...........+...........+............+...........+...........+...........+
0 2 4 6 8 10 12
>
> Any hint is greatly appreciated.
>
> Regards,
> Mahmood
|
|
From: Mahmood N. <nt_...@ya...> - 2014-02-20 05:52:20
|
Hi I want to draw a 1D plot with the following data points "name" "value" A1 2 A2 10 and something which looks like A1 A2 ----+------------+------- 2 10 All I see in the examples are 2D plots. Any hint is greatly appreciated. Regards, Mahmood |
|
From: <gp...@bl...> - 2014-02-17 14:47:28
|
Hi, I would like to have 3 (or more) groups of bars, each group in its own colour. Each group shows the same points over time. I don't want to mix them in the normal way. However, until now I have not been able to produce this. Example 1, seems to be the correct way to do it. I get more or less what I want, but only with a single colour. In example 2, I get the colours to work the way I want, but the group names are not working and the groups are no longer separated? How can I get the group names back and separate the bar groups like in example 1? Ideally I would like to have the points in each group numbered 1,2,etc and the groups with colours in a key. Is there a way to get exactly what I want? Thanks, J. Example data: Time1;15;11;12;13;11;10;10;11;15;11;12 Time2;8;9;8;7;8;10;11;8;9;12;13 Time3;4;5;6;4;3;4;5;6;7;2;3 Example 1 (single colour): set auto x set yrange [0:16] set ylabel 'Number' set xlabel 'Group' set style data histogram set style histogram cluster gap 5 set style fill solid border rgb "black" unset key set datafile separator ";" plot \ 'data.dat' using 2:xtic(1) ls 1, \ 'data.dat' using 3:xtic(1) ls 1, \ 'data.dat' using 4:xtic(1) ls 1, \ 'data.dat' using 5:xtic(1) ls 1, \ 'data.dat' using 6:xtic(1) ls 1, \ 'data.dat' using 7:xtic(1) ls 1, \ 'data.dat' using 8:xtic(1) ls 1, \ 'data.dat' using 9:xtic(1) ls 1, \ 'data.dat' using 10:xtic(1) ls 1, \ 'data.dat' using 11:xtic(1) ls 1, \ 'data.dat' using 12:xtic(1) ls 1 Example 2 (force muli-colour, but problems with group names and separation): set auto x set yrange [0:16] set ylabel 'Number' set xlabel 'Group' set style data histogram set style histogram cluster gap 5 set style fill solid border rgb "black" unset key set datafile separator ";" set style line 1 lc rgb 'blue' set style line 2 lc rgb 'green' set style line 3 lc rgb 'yellow' plot \ 'data.dat' every ::0::0 using 2:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 3:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 4:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 5:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 6:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 7:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 8:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 9:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 10:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 11:xtic(1) ls 1, \ 'data.dat' every ::0::0 using 12:xtic(1) ls 1, \ 'data.dat' every ::1::1 using 2:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 3:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 4:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 5:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 6:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 7:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 8:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 9:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 10:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 11:xtic(1) ls 2, \ 'data.dat' every ::1::1 using 12:xtic(1) ls 2, \ 'data.dat' every ::2::2 using 2:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 3:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 4:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 5:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 6:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 7:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 8:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 9:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 10:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 11:xtic(1) ls 3, \ 'data.dat' every ::2::2 using 12:xtic(1) ls 3 |
|
From: <am...@gm...> - 2014-02-15 06:48:19
|
Found out the solution
set pm3d map
;sp 'dataBinary.dat' binary record=(100,-1) format='%f' u 1:2:3 w pm3d
here record=(100,-1) will tell gnuplot that each isoline contains 100 data points
and -1 will tell that it has to be read upto end of file.
So we dont need a blank line in binary files.
Cheers
Amol
From: am...@gm...<am...@gm...>
To: <gnu...@li...>
Sent: Saturday, February 15, 2014
Subject: [Gnuplot-info] Binary Plot by C++
Dear All,
Please have a look at the C++ code to generate a binary data which can be plotted by the
gnuplot. I am having trouble in introducing a blank line in the binary file so that gnuplot
can plot it as pm3d map.
Thank you,
//////////////////////////////////////////////////////////////////////////////////////////////
/*
A 2D binary data generated by the code can be plotted by
gnuplot> p 'dataBinary.dat' binary format='%f%f%f' u 1:3 w l
which is equivalent to plot the ASCII data as
gnuplot> p 'dataAscii.dat' u 1:3 w l
The pm3d map plot can be plotted for ASCII data as follows,
provided one should have a blank line after each set of data.
Blank line should be introduced after the completion of inner
'for loop' in the following code.
gnuplot> set pm3d map;
gnuplot> sp 'dataAscii.dat' u 1:2:3 w pm3d
;How one can plot the pm3d data in binary file format. The
only thing missing is the introduction of blank line in the
binary data which should be understood by the gnuplot.
gnuplot> set pm3d map;
gnuplot> sp 'dataBinary.dat' binary format='%f%f%f' u 1:2:3 w pm3d;
The above command does not plot a pm3d from binary data as there
is a blank line missing in it.
*/
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <cstdio>
#include <iomanip>
using namespace std
;struct Data
{
float x,y,z
;}
;int main()
{
ofstream outf("dataBinary.dat",ios::binary)
; //ofstream outf("dataAscii.dat",ios::out)
;
Data myData[100]
;
for(int i=0;i<100;i++)
{
for(int j=0;j<100;j++)
{
myData[j].x = i
; myData[j].y = j
; myData[j].z = sqrt(i+j)
;
// writing ASCII data
//outf << endl << myData[j].x << setw(15) << myData[j].y << setw(15) << myData[j].z
; }
//outf << endl ; // for ascii data to be plotted as pm3d by gnuplot
// writing binary data
outf.write((char *)(&myData),sizeof(myData));
}
outf.close()
;
cout << endl
; return 0
;}
//////////////////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
gnuplot-info mailing list
gnu...@li...
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: <am...@gm...> - 2014-02-15 06:20:41
|
Dear All,
Please have a look at the C++ code to generate a binary data which can be plotted by the
gnuplot. I am having trouble in introducing a blank line in the binary file so that gnuplot
can plot it as pm3d map.
Thank you,
//////////////////////////////////////////////////////////////////////////////////////////////
/*
A 2D binary data generated by the code can be plotted by
gnuplot> p 'dataBinary.dat' binary format='%f%f%f' u 1:3 w l
which is equivalent to plot the ASCII data as
gnuplot> p 'dataAscii.dat' u 1:3 w l
The pm3d map plot can be plotted for ASCII data as follows,
provided one should have a blank line after each set of data.
Blank line should be introduced after the completion of inner
'for loop' in the following code.
gnuplot> set pm3d map;
gnuplot> sp 'dataAscii.dat' u 1:2:3 w pm3d;
How one can plot the pm3d data in binary file format. The
only thing missing is the introduction of blank line in the
binary data which should be understood by the gnuplot.
gnuplot> set pm3d map;
gnuplot> sp 'dataBinary.dat' binary format='%f%f%f' u 1:2:3 w pm3d;
The above command does not plot a pm3d from binary data as there
is a blank line missing in it.
*/
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <cstdio>
#include <iomanip>
using namespace std;
struct Data
{
float x,y,z;
};
int main()
{
ofstream outf("dataBinary.dat",ios::binary);
//ofstream outf("dataAscii.dat",ios::out);
Data myData[100];
for(int i=0;i<100;i++)
{
for(int j=0;j<100;j++)
{
myData[j].x = i;
myData[j].y = j;
myData[j].z = sqrt(i+j);
// writing ASCII data
//outf << endl << myData[j].x << setw(15) << myData[j].y << setw(15) << myData[j].z;
}
//outf << endl ; // for ascii data to be plotted as pm3d by gnuplot
// writing binary data
outf.write((char *)(&myData),sizeof(myData));
}
outf.close();
cout << endl;
return 0;
}
//////////////////////////////////////////////////////////////////////////////////////////////
|
|
From: Martin G. <mar...@uc...> - 2014-02-14 18:05:55
|
Thanks Ethan. Sorry for not having been clear enough in my question. I understand GNUPlot creates 2D projection of 3D data, but when I use the x11 terminal, I'm assuming GNUPlot uses some kind of 3D data structure to create the graph that I can rotate, zoom, etc. Well, would that be possible to use the same data structure to create a u3d file that I can incorporate into a pdf using LaTeX? That would be quite awesome. Alternatively, is there an open-source alternative that would allow me to do so? Thanks a lot! Martin On 02/14/2014 09:08 AM, Ethan Merritt wrote: > Gnuplot does not output true 3D graphs. It outputs a 2D projection. > Storing it as u3d would not make sense. > > > On Fri, Feb 14, 2014 at 8:44 AM, Martin Genet > <mar...@uc... > <mailto:mar...@uc...>> wrote: > > Hello: > > Is there a way to export a Gnuplot 3D graph to u3d, for embedding > into a > pdf? Thanks! > > Martin > > > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > <mailto:gnu...@li...> > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > |
|
From: Ethan M. <eam...@gm...> - 2014-02-14 17:08:18
|
Gnuplot does not output true 3D graphs. It outputs a 2D projection. Storing it as u3d would not make sense. On Fri, Feb 14, 2014 at 8:44 AM, Martin Genet < mar...@uc...> wrote: > Hello: > > Is there a way to export a Gnuplot 3D graph to u3d, for embedding into a > pdf? Thanks! > > Martin > > > > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Martin G. <mar...@uc...> - 2014-02-14 16:44:26
|
Hello: Is there a way to export a Gnuplot 3D graph to u3d, for embedding into a pdf? Thanks! Martin |
|
From: keghn <ke...@ne...> - 2014-02-13 22:10:35
|
http://ndevilla.free.fr/gnuplot/ -- View this message in context: http://gnuplot.10905.n7.nabble.com/Binary-file-plotting-tp17975p18003.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Chris D. <chr...@gm...> - 2014-02-10 19:23:48
|
Hi, Just wanted to confirm my understanding on the license, which you can read here: http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright?view=markup > * Permission to use, copy, and distribute this software and its > * documentation for any purpose with or without fee is hereby granted, > * provided that the above copyright notice appear in all copies and > * that both that copyright notice and this permission notice appear > * in supporting documentation. Can I produce a binary from the official source, unmodified and distribute that binary, excluding any source code, provided the copyright notice is included in that distribution? In other words, suppose I were to write a program which depends upon gnuplot, and I need to distribute my program along with gnuplot as its dependency, can I just include it as-is? And if I were to use a modified distribution version, e.g. of Ubuntu, I would include the copyright notice and version information from the Ubuntu version to clearly mark that this is a modified binary. Correct? Cheers! |
|
From: <jac...@fr...> - 2014-02-10 11:00:32
|
Hi, I am using GNUplot Version 4.6 patchlevel 4. I would like to create a "false" 3D graph: a 2D graph with a color as Z entry. I find that it could be done easily with "image" keyword (http://gnuplot.sourceforge.net/demo/heatmaps.html) But my data are not a perfect and simple matrix. In this case, GNUplot interpolate the data and graph sometime a parallelogram instead of a square... I would like that nothing is displayed when the point "does not exist" in the matrix. See 2 following examples, where the graph obtained are false ;-( How can I correct this ? Should I use something else than "plot w image" ? Example 1: Issue: the yellow square is centered in (2 ; 9) instead of (2 ; 11 ) plot '-' using 1:2:3 with image 1 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 2 1 2 2 2 3 2 3 4 2 8 5 2 9 6 2 10 7 2 11 8 e Example 2: Issue: the yellow parallelogram is centered in (2 ; 9) instead of (2 ; 11 ) plot '-' using 1:2:3 with image 1 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 2 3 2 2 4 3 2 5 4 2 8 5 2 9 6 2 10 7 2 11 8 e Thanks, Jacques |
|
From: Amol H. <am...@gm...> - 2014-02-10 03:47:15
|
Dear All, I am just wondering how to write a multi-column binary file in C++ which can be plotted by gnuplot. Thanks in advance. Amol |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2014-02-05 20:59:14
|
On 05.02.2014 21:30, Hamed Ahmadi wrote:
> I have a data file as matrix form.
As far as gnuplot's use of the term is concerned, that sentence directly
contradicts the following two:
> The values on the x axis are in
> the first row of this file. The y values corresponding to the x
> values are on the following rows.
A file in that format is not in matrix form as understood by gnuplot.
Your data file format is not really usable by gnuplot as-is. If at all
possible, you should transpose it, i.e. make columns out of rows and
vice versa. Then a simple
plot 'filename' using 1:3
will display what you want.
|
|
From: Hamed A. <s.h...@ya...> - 2014-02-05 20:31:02
|
Hi, I have a data file as matrix form. The values on the x axis are in the first row of this file. The y values corresponding to the x values are on the following rows. I want, for example, plot the second row respect to the first row (first row on the x axis and the second row on the y axis), but i do not know how to do that. I use, for example this command "plot "filename" matrix using 1:3 every :::1::1" which plot second row but with its arbitrary x values. I want to use first row as x values. My data file looks like this: First row: x1 x2 x3 x4 ..... Second row: y1 y2 y3 y4 ...... (y1 corresponds to x1 and y2 to x2 and etc.) Thanks, |
|
From: Frantisek K. <fkl...@re...> - 2014-02-04 09:29:38
|
The crash disappeared with #define WXT_MONOTHREADED. gnuplot plot gnuplot -p plot gnuplot <<< "load 'plot'" all work now. Thanks. On 02/03/2014 07:22 PM, Ethan Merritt wrote: > The following code appears in .../src/wxterminal/wxt_gui.h > > /* depending on the platform, and mostly because of the Windows terminal > which > * already has its event loop, we may or may not be multithreaded */ > #if defined(__WXGTK__) > # define WXT_MULTITHREADED > #elif defined(__WXMSW__) || defined(__WXMAC__) > # define WXT_MONOTHREADED > #else > # error "wxt does not know if this platform has to be mono- or > multi-threaded" > #endif > > On linux this normally results in the MULTITHREADED option being chosen. > Could you please try forcing the MONOTHREADED option instead and > reporting back whether that fixes your problem? > > (haven't yet acquired any Haswell machines to test on) > > Ethan > > > > On Mon, Feb 3, 2014 at 9:30 AM, Frantisek Kluknavsky > <fkl...@re... <mailto:fkl...@re...>> wrote: > > Hi, > > wxt terminal always crashes on a haswell machine. It works reliably on > older ivy bridge. It seems like wxt terminal on several places unlocks > mutexes which are not locked. That combined with XBEGIN/XEND > instructions on haswell produces a crash in glibc. > > wxwidgets documentation > (http://docs.wxwidgets.org/stable/group__group__funcmacro__thread.html#ga6671c1599fd4ccf6a7c7bb90b2304709) > says: > void wxMutexGuiEnter > Note > Under GTK, no creation of top-level windows is allowed in any > thread but the main one. [1] > > > Gnuplot source (gnuplot-4.6.3/src/wxterminal/wxt_gui.cpp:222) says: > /* Workaround for a deadlock when the main thread will Wait() for > this one. > * This issue comes from the fact that our gui main loop is not in the > * main thread as wxWidgets was written for. */ > wxt_MutexGuiLeave(); > > This is not the only place where a crash occurs. It depends on whether > gnuplot runs with -p argument and whether it gets the plot command as a > command line argument or interactively, but there is always some extra > unlocking somewhere. > > Is it possible to run Gnuplot with gtk as a wxWidgets backend? > > Thanks. > > Fero > > PS: My system is Fedora 20 > Thread no. 1 (8 frames) > #0 _xend at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33 > #1 __lll_unlock_elision at > ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:29 > #2 wxMutexInternal::Unlock at src/unix/threadpsx.cpp:297 > #3 wxMutex::Unlock at include/wx/thrimpl.cpp:60 > #4 wxMutexGuiLeave at src/unix/threadpsx.cpp:1737 > #5 wxt_MutexGuiLeave at ../../src/wxterminal/wxt_gui.cpp:3671 > #6 wxtThread::Entry at ../../src/wxterminal/wxt_gui.cpp:222 > #7 wxThreadInternal::PthreadStart at src/unix/threadpsx.cpp:766 > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > <mailto:gnu...@li...> > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > |
|
From: Ethan M. <eam...@gm...> - 2014-02-03 18:22:11
|
The following code appears in .../src/wxterminal/wxt_gui.h
/* depending on the platform, and mostly because of the Windows terminal
which
* already has its event loop, we may or may not be multithreaded */
#if defined(__WXGTK__)
# define WXT_MULTITHREADED
#elif defined(__WXMSW__) || defined(__WXMAC__)
# define WXT_MONOTHREADED
#else
# error "wxt does not know if this platform has to be mono- or
multi-threaded"
#endif
On linux this normally results in the MULTITHREADED option being chosen.
Could you please try forcing the MONOTHREADED option instead and reporting
back whether that fixes your problem?
(haven't yet acquired any Haswell machines to test on)
Ethan
On Mon, Feb 3, 2014 at 9:30 AM, Frantisek Kluknavsky <fkl...@re...>wrote:
> Hi,
>
> wxt terminal always crashes on a haswell machine. It works reliably on
> older ivy bridge. It seems like wxt terminal on several places unlocks
> mutexes which are not locked. That combined with XBEGIN/XEND
> instructions on haswell produces a crash in glibc.
>
> wxwidgets documentation
> (
> http://docs.wxwidgets.org/stable/group__group__funcmacro__thread.html#ga6671c1599fd4ccf6a7c7bb90b2304709
> )
> says:
> void wxMutexGuiEnter
> Note
> Under GTK, no creation of top-level windows is allowed in any
> thread but the main one. [1]
>
>
> Gnuplot source (gnuplot-4.6.3/src/wxterminal/wxt_gui.cpp:222) says:
> /* Workaround for a deadlock when the main thread will Wait() for this one.
> * This issue comes from the fact that our gui main loop is not in the
> * main thread as wxWidgets was written for. */
> wxt_MutexGuiLeave();
>
> This is not the only place where a crash occurs. It depends on whether
> gnuplot runs with -p argument and whether it gets the plot command as a
> command line argument or interactively, but there is always some extra
> unlocking somewhere.
>
> Is it possible to run Gnuplot with gtk as a wxWidgets backend?
>
> Thanks.
>
> Fero
>
> PS: My system is Fedora 20
> Thread no. 1 (8 frames)
> #0 _xend at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
> #1 __lll_unlock_elision at
> ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
> #2 wxMutexInternal::Unlock at src/unix/threadpsx.cpp:297
> #3 wxMutex::Unlock at include/wx/thrimpl.cpp:60
> #4 wxMutexGuiLeave at src/unix/threadpsx.cpp:1737
> #5 wxt_MutexGuiLeave at ../../src/wxterminal/wxt_gui.cpp:3671
> #6 wxtThread::Entry at ../../src/wxterminal/wxt_gui.cpp:222
> #7 wxThreadInternal::PthreadStart at src/unix/threadpsx.cpp:766
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Frantisek K. <fkl...@re...> - 2014-02-03 17:31:02
|
Hi, wxt terminal always crashes on a haswell machine. It works reliably on older ivy bridge. It seems like wxt terminal on several places unlocks mutexes which are not locked. That combined with XBEGIN/XEND instructions on haswell produces a crash in glibc. wxwidgets documentation (http://docs.wxwidgets.org/stable/group__group__funcmacro__thread.html#ga6671c1599fd4ccf6a7c7bb90b2304709) says: void wxMutexGuiEnter Note Under GTK, no creation of top-level windows is allowed in any thread but the main one. [1] Gnuplot source (gnuplot-4.6.3/src/wxterminal/wxt_gui.cpp:222) says: /* Workaround for a deadlock when the main thread will Wait() for this one. * This issue comes from the fact that our gui main loop is not in the * main thread as wxWidgets was written for. */ wxt_MutexGuiLeave(); This is not the only place where a crash occurs. It depends on whether gnuplot runs with -p argument and whether it gets the plot command as a command line argument or interactively, but there is always some extra unlocking somewhere. Is it possible to run Gnuplot with gtk as a wxWidgets backend? Thanks. Fero PS: My system is Fedora 20 Thread no. 1 (8 frames) #0 _xend at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33 #1 __lll_unlock_elision at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:29 #2 wxMutexInternal::Unlock at src/unix/threadpsx.cpp:297 #3 wxMutex::Unlock at include/wx/thrimpl.cpp:60 #4 wxMutexGuiLeave at src/unix/threadpsx.cpp:1737 #5 wxt_MutexGuiLeave at ../../src/wxterminal/wxt_gui.cpp:3671 #6 wxtThread::Entry at ../../src/wxterminal/wxt_gui.cpp:222 #7 wxThreadInternal::PthreadStart at src/unix/threadpsx.cpp:766 |
|
From: Craig D. <def...@bo...> - 2014-02-02 20:45:41
|
It may be a problem with the wxt libraries. I have yet to get them working reliably since upgrading to mavericks... (Mobile) > On Feb 2, 2014, at 12:45 PM, Cássio M. M. Pereira <cas...@gm...> wrote: > > Hi, > > I'm running gnuplot 4.6 patchlevel 3 on OS X 10.9.1, installed via homebrew. > > Whenever I try to plot using the wxt terminal, gnuplot hangs and the > only way to quit it is by killing the process. > > Plotting on the x11 terminal works, but it's very low resolution if > compared to wxt. > > Any ideas why this might be happening? There are no visible error messages. > > I tried compiling from source manually, but the results are the same > as with the homebrew install. > > Thanks, > Cássio > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Cássio M. M. P. <cas...@gm...> - 2014-02-02 19:45:49
|
Hi, I'm running gnuplot 4.6 patchlevel 3 on OS X 10.9.1, installed via homebrew. Whenever I try to plot using the wxt terminal, gnuplot hangs and the only way to quit it is by killing the process. Plotting on the x11 terminal works, but it's very low resolution if compared to wxt. Any ideas why this might be happening? There are no visible error messages. I tried compiling from source manually, but the results are the same as with the homebrew install. Thanks, Cássio |
|
From: Ethan M. <eam...@gm...> - 2014-01-25 16:43:02
|
On Saturday, 25 January 2014 08:45:08 AM Theo wrote: > > will this be fixed in gnuplot 4.7 or later? > > > You have found a bug. > > The problem is specifically the row that has an empty field in the first > > column. All the other empty fields are correctly recognized but that one > > is not. > > > > I don't have an immediate work-around to offer but I'm sure it's fixable. The fix will be in 4.6.5 when it is released - maybe next month. Ethan |
|
From: Theo <th...@gm...> - 2014-01-25 07:45:29
|
will this be fixed in gnuplot 4.7 or later? > You have found a bug. > The problem is specifically the row that has an empty field in the first > column. All the other empty fields are correctly recognized but that one > is not. > > I don't have an immediate work-around to offer but I'm sure it's fixable. > |
|
From: janjust <tja...@un...> - 2014-01-23 19:04:53
|
I am generating heat-maps and I'm confused as to how the color palette for the cbrange works. How does one set lower and upper colors including the nuances? I know there are preset values that I can set , but can I set these myself? If so, can I pick a color for lower-mid-upper range or a combination thereof? Also, how do I manipulate the tic size? that is to say can I fill the size of each area that a color shade occupies? the default is a skim line that stretches depending on the size of my x-range. My script is simple, and is as follows: 1 set term postscript eps color font "Helvetica,8" size 7.0, 4.0 2 set output "filterp.eps" 3 set title "sizeof(filterp) = 4976bytes" 4 5 set tic scale 1 6 set palette rgbformulae 32,3,5 7 set palette negative 8 9 set grid 10 set cbrange [0:1] 11 set cblabel "references" 12 #set cbtics 1 13 14 set xrange [-0.5:-0.5] 15 set xtics 16 set yrange [-0.5:1244] 17 set ytics 1024 18 19 set view map 20 21 set xlabel "tics" 22 set ylabel "sizeof(filterp)" 23 24 plot 'filterp.dat' using 1:2:3 with image ~ Any tips and tricks are much appreciated!!! -- View this message in context: http://gnuplot.10905.n7.nabble.com/heat-map-color-palette-and-tic-size-tp17920.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Ethan A M. <eam...@gm...> - 2014-01-23 05:59:19
|
On Thursday, 23 January 2014 01:07:39 AM Tait wrote:
> The '' syntax re-uses the file name, not the file data. With a normal
> file the '' actually re-reads the file again, which is why when gnuplot
> goes to re-read from inline you must re-supply the data. To reuse the
> file's data, gnuplot would obviously have to cache it, and that is
> impractical or impossible for large data sets.
>
> I think I recall some discussion along the lines of implementing a named
> data store feature that would explicitly instruct gnuplot to cache a
> particular (potentially inline) data set, but I'm not sure whether it
> was completed.
Correct.
In 4.7 you can provide named data blocks.
gnuplot> help inline
There are two mechanisms for embedding data into a stream of gnuplot commands.
If the special filename '-' appears in a plot command, then the lines
immediately following the plot command are interpreted as inline data.
See `special-filenames`. Data provided in this way can only be used once, by
the plot command it follows.
The second mechanism defines a named data block as a here-document. The named
data is persistent and may be referred to by more than one plot command.
Example:
$Mydata << EOD
11 22 33 first line of data
44 55 66 second line of data
# comments work just as in a data file
77 88 99
EOD
stats $Mydata using 1:3
plot $Mydata using 1:3 with points, $Mydata using 1:2 with impulses
Data block names must begin with a $ character, which distinguishes them from
other types of persistent variables. The end-of-data delimiter (EOD in the
example) may be any sequence of alphanumeric characters.
Ethan
>
> To only type in the data once, put it into a regular file with the
> appropriate format, and reference it by its file name.
>
> Theo <th...@gm...> said (on 2014/01/22):
> > Hi there,
> >
> > if I want to include (for some special reason) data into the plotting
> > file itself I can use the special filename '-' and write the data in the
> > plot file...
> >
> > Why can't I use the same data twice? Can anybody explain?
> > Is there a way that I have to type in the data only once?
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|