You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Stephen D. <sc...@sd...> - 2009-12-10 01:30:12
|
Thank you Thomas. This looks very promising. The initial plot image is good. However, when I do the replot with a table set, the X coordinates (date/time) do not seem to follow the rules in the doco. I did: set table "/tmp/pdata" set xdata time set timefmt "%Y-%m-%d_%H:%M:%S" set format x "%s" plot "/tmp/data" using 1:2 with lines unset table /tmp/pdata contains lines of the format: "" 5.489 i If I omit the set format x, I get lines of the format: "g" 5.489 i How do I get the date/time x values output as seconds? (GPVAL_X_MIN value implies that these are the units plotted.) Cheers and thanks, Stephen On Wednesday 09 December 2009 19:04:55 Thomas Sefzick wrote: > after plotting a whole bunch of variables is set, see 'show variables all'. > amongst these variables there are > GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, > GPVAL_TERM_YMIN, GPVAL_TERM_YMAX > which give the corners of the graph in pixels. > (you need version 4.4) > > together with the information in > GPVAL_X_MIN, GPVAL_X_MAX, ... > it should be easy to translate data point coordinates into > pixels. > > you should generate your plot, then replot with 'set table <filename>' > the resulting file should contain all of your data points in graph > coordinates which with the above variables you may convert into > terminal screen coordinates. > > scldad wrote: > > I have seen this question before but not any answers. > > > > I need to generate plots of data where the X axis is always date/time. > > > > These plot image files will be included in web pages via img tags. > > > > I also need to make the resulting web image "clickable" via an image map > > so > > that viewers can see the original data values. > > > > How can one generate the relevant HTML image maps (or some form of text > > file > > with identifiable coordinate pairs) with gnuplot? > > > > (I currently do this with grace plots by replicating the PNG plots with > > the > > Metadata output option and feeding the results plus the original data > > file through a gawk script.) > > > > TIA, > > Stephen Davies > > -- > > ========================================================================= > >==== Stephen Davies Consulting P/L Voice: > > 08-8177 1595 > > Adelaide, South Australia. Fax : 08-8177 > > 0133 > > Computing & Network solutions. Mobile:040 304 > > 0583 > > > > VoIP:sip:11...@si... > > > > ------------------------------------------------------------------------- > >----- Join us December 9, 2009 for the Red Hat Virtual Experience, > > a free event focused on virtualization and cloud computing. > > Attend in-depth sessions from your desk. Your couch. Anywhere. > > http://p.sf.net/sfu/redhat-sfdev2dev > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- ============================================================================= Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Computing & Network solutions. Mobile:040 304 0583 |
|
From: ZoltánVörös <zv...@gm...> - 2009-12-09 20:34:19
|
> the factor for the wxt-terminal is 20, > in 'gnuplot/src/wxterminal/gp_cairo.h': > > /* oversampling scale */ > #define GP_CAIRO_SCALE 20 > > if you read out the mouse coordinates in axis units, you may > convert these to '20*pixel' units using GPVAL_TERM_* and > GPVAL_X/Y_*. > then you may generate the circles coordinates and convert > back to axis units, specifying the center and the radius in > x-axis units. Many thanks, Thomas! I think this situation is far from ideal, because it is not portable in any sense of the term (pun intended here:), but what the heck! Zoltán |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 20:14:10
|
the factor for the wxt-terminal is 20, in 'gnuplot/src/wxterminal/gp_cairo.h': /* oversampling scale */ #define GP_CAIRO_SCALE 20 if you read out the mouse coordinates in axis units, you may convert these to '20*pixel' units using GPVAL_TERM_* and GPVAL_X/Y_*. then you may generate the circles coordinates and convert back to axis units, specifying the center and the radius in x-axis units. ZoltánVörös wrote: > >> those interactive terminals use an internal screen of a fixed >> size which is then scaled to fit into the actual canvas window. >> >> e.g. X11: >> GPVAL_TERM_XMIN = 285 >> GPVAL_TERM_XMAX = 4000 >> GPVAL_TERM_YMIN = 236 >> GPVAL_TERM_YMAX = 4019 >> always nearly the same values (differ a little bit due to some >> adjustments of the margins because the font size is not scaled), >> regardless of the actual window size and aspect ratio. >> if you plot into an x11 terminal, look at the GPVAL_TERM_* >> variables, then change the plot window size with the mouse, >> replot (is needed to change the variables), and look at the >> variables again, you will see that there is not much change. > > Greetings Thomas, > > Many thanks for your effort! I still feel a bit uncomfortable > with this situation. > >> >> i think this applies to the wxt terminal in a similar way, but i >> don't have a wxt terminal here, so i can't test it. > > I believe, it is 1:20 on wxt. At least, this is what I measured. > After rescaling the terminal with the mouse, I got quite different > numbers. > > My problem is the following: I would like to draw a circle based on > three points on it. I can read out the mouse variables, but those are > given as axis coordinates. However, what if I want to use the mouse > coordinates to draw a circle with respect to the screen? I understand > that the circle requires axis coordinates, but only for the position. > I mean, if I want to draw a circle based on coordinates that I get by > clicking the mouse three times, then I have to have some means of > converting between the screen and the axes. Is there a way to do that? > Cheers, > Zoltán > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/What-is-the-meaning-of-the-terminal-variables--tp26700899p26716877.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: ZoltánVörös <zv...@gm...> - 2009-12-09 16:10:44
|
> those interactive terminals use an internal screen of a fixed > size which is then scaled to fit into the actual canvas window. > > e.g. X11: > GPVAL_TERM_XMIN = 285 > GPVAL_TERM_XMAX = 4000 > GPVAL_TERM_YMIN = 236 > GPVAL_TERM_YMAX = 4019 > always nearly the same values (differ a little bit due to some > adjustments of the margins because the font size is not scaled), > regardless of the actual window size and aspect ratio. > if you plot into an x11 terminal, look at the GPVAL_TERM_* > variables, then change the plot window size with the mouse, > replot (is needed to change the variables), and look at the > variables again, you will see that there is not much change. Greetings Thomas, Many thanks for your effort! I still feel a bit uncomfortable with this situation. > > i think this applies to the wxt terminal in a similar way, but i > don't have a wxt terminal here, so i can't test it. I believe, it is 1:20 on wxt. At least, this is what I measured. After rescaling the terminal with the mouse, I got quite different numbers. My problem is the following: I would like to draw a circle based on three points on it. I can read out the mouse variables, but those are given as axis coordinates. However, what if I want to use the mouse coordinates to draw a circle with respect to the screen? I understand that the circle requires axis coordinates, but only for the position. I mean, if I want to draw a circle based on coordinates that I get by clicking the mouse three times, then I have to have some means of converting between the screen and the axes. Is there a way to do that? Cheers, Zoltán |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 15:40:05
|
those interactive terminals use an internal screen of a fixed
size which is then scaled to fit into the actual canvas window.
e.g. X11:
GPVAL_TERM_XMIN = 285
GPVAL_TERM_XMAX = 4000
GPVAL_TERM_YMIN = 236
GPVAL_TERM_YMAX = 4019
always nearly the same values (differ a little bit due to some
adjustments of the margins because the font size is not scaled),
regardless of the actual window size and aspect ratio.
if you plot into an x11 terminal, look at the GPVAL_TERM_*
variables, then change the plot window size with the mouse,
replot (is needed to change the variables), and look at the
variables again, you will see that there is not much change.
i think this applies to the wxt terminal in a similar way, but i
don't have a wxt terminal here, so i can't test it.
the scaling factors (internal canvas <-> canvas window on
screen) are not fixed but depend on the actual window
shape, and they are not accessible via to GPVAL_* variables.
simple bitmap terminals (e.g. gif) are different, here the
pixels are mapped 1:1.
ZoltánVörös wrote:
>
> Thomas Sefzick <t.sefzick <at> fz-juelich.de> writes:
>
>>
>>
>> the variables
>> GPVAL_TERM_XMIN, GPVAL_TERM_XMAX,
>> GPVAL_TERM_YMIN, GPVAL_TERM_YMAX
>> give the corners of the graph in pixels.
>> (you need version 4.4)
>>
>> together with the information in
>> GPVAL_X_MIN, GPVAL_X_MAX, ...
>> it should be easy to translate data point coordinates into
>> pixels and vice-versa.
>
> Yes, this is clear, but what you state above is not correct: if I do this
>
> plot sin(x)
>
> on a wxt terminal, then I get this
> GPVAL_TERM_XMIN = 1215
> GPVAL_TERM_XMAX = 12394
> GPVAL_TERM_YMIN = 678
> GPVAL_TERM_YMAX = 7355
>
> while my window is only 640 X 380 pixels. I think, the number of
> pixels is multiplied by 20, and that gives GPVAL_TERM_XMIN and
> the like. But is this 20 a universal number? If I change to a
> different terminal, can I still trust my numbers?
> Cheers,
> Zoltán
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/What-is-the-meaning-of-the-terminal-variables--tp26700899p26712247.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: ZoltánVörös <zv...@gm...> - 2009-12-09 12:31:49
|
Thomas Sefzick <t.sefzick <at> fz-juelich.de> writes: > > > the variables > GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, > GPVAL_TERM_YMIN, GPVAL_TERM_YMAX > give the corners of the graph in pixels. > (you need version 4.4) > > together with the information in > GPVAL_X_MIN, GPVAL_X_MAX, ... > it should be easy to translate data point coordinates into > pixels and vice-versa. Yes, this is clear, but what you state above is not correct: if I do this plot sin(x) on a wxt terminal, then I get this GPVAL_TERM_XMIN = 1215 GPVAL_TERM_XMAX = 12394 GPVAL_TERM_YMIN = 678 GPVAL_TERM_YMAX = 7355 while my window is only 640 X 380 pixels. I think, the number of pixels is multiplied by 20, and that gives GPVAL_TERM_XMIN and the like. But is this 20 a universal number? If I change to a different terminal, can I still trust my numbers? Cheers, Zoltán |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 10:26:39
|
just draw the 'old' point again for undefined data: lastx = NaN ; lasty = NaN ; selection = 2 plot 'test.dat' using ($2==selection?($1,lastx=$1):lastx):($2==selection?($1,lasty=$3):lasty) with linespoints you need gnuplot version 4.4 sprobst wrote: > > Dear all, > > I want to plot specific rows of a datafile which have special values > within the rows. This is possible for a point plot but for a lineplot I do > not obtain a line between all points. > > An example to understand. I want to plot all rows with have a two in the > second column. A corresponding datafile would look like this > > test.dat > *********** > 1 2 1 > 2 2 4 > 3 1 9 > 4 2 16 > 5 1 25 > 6 2 36 > *********** > > The corresponding plot command would be > plot 'test.dat' using ($1):($2==2?$3:1/0) with linespoints > > The 1/0 would end up in a undefined value. The resulting plot has points > for the values 1,2,4 and 6, but the line only is drawn from 1 to 2. > > How can I get the line between all points without a pre-processing of the > data? > > Thanks for all answers in advance. > > Best regards > Stefan > -- View this message in context: http://old.nabble.com/Conditional-plot-with-lines-tp26678688p26708064.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 10:07:59
|
the variables GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, GPVAL_TERM_YMIN, GPVAL_TERM_YMAX give the corners of the graph in pixels. (you need version 4.4) together with the information in GPVAL_X_MIN, GPVAL_X_MAX, ... it should be easy to translate data point coordinates into pixels and vice-versa. the fact that there are no GPVAL_TERM_ZMIN, GPVAL_TERM_ZMAX variables indicates that the above variables are no meant for 3d-plots. ZoltánVörös wrote: > > >> >> plotting into a bitmap terminal like 'gif' and analysing the resulting >> plot file in an appropriate viewer shows that these are the coordinates >> of the graphs corners. > > Dear Thomas, > > Thanks, this I have already done, but I would like to have something > firmer. > Also, what would it mean, if I had a 3D plot, where the graph corner is > somewhat > ill-defined? Surely, there must be some conversion formula for this. I > have > tried to track it in the code, but it is not obvious where it is. > Cheers, > Zoltán > >> >> ZoltánVörös wrote: >> > >> > Dear All, >> > >> > Some time ago, four terminal variables, GPVAL_TERM_XMIN, >> GPVAL_TERM_XMAX, >> > GPVAL_TERM_YMIN, and GPVAL_TERM_YMAX were introduced, but there is not >> too >> > much >> > documentation on them. Could someone enlighten me about the meaning of >> > these, >> > and in particular, whether I can use them to convert axis coordinates >> to >> > screen >> > coordinates and vice versa? >> > Thanks, >> > Zoltán > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/What-is-the-meaning-of-the-terminal-variables--tp26700899p26707829.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 10:00:19
|
tformat = system("pwd") . " %a %b %d %H:%M:%S %Y"
set timestamp tformat
kerry7 wrote:
>
> Hallo guys,
>
> I'm now facing a difficult problem.
> In my gnuplot script I plot several curves under UNIX.
> Now I want to add the current working directory and time to the pic I
> plotted.
> That means I want the 'pwd' and 'date' to be included in my plot.
> But I was not able to figure that out.
>
> p.s. The current working directory and time can be either included in the
> Title of the plot
> or in the legend of the plot.
>
> Could you give me some tips if anyone knows the answers?
>
> Thx a lot!
>
>
--
View this message in context: http://old.nabble.com/How-to-include-current-working-directory-and-time-to-the-plot-tp26678235p26707726.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: ZoltánVörös <zv...@gm...> - 2009-12-09 08:59:18
|
> > plotting into a bitmap terminal like 'gif' and analysing the resulting > plot file in an appropriate viewer shows that these are the coordinates > of the graphs corners. Dear Thomas, Thanks, this I have already done, but I would like to have something firmer. Also, what would it mean, if I had a 3D plot, where the graph corner is somewhat ill-defined? Surely, there must be some conversion formula for this. I have tried to track it in the code, but it is not obvious where it is. Cheers, Zoltán > > ZoltánVörös wrote: > > > > Dear All, > > > > Some time ago, four terminal variables, GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, > > GPVAL_TERM_YMIN, and GPVAL_TERM_YMAX were introduced, but there is not too > > much > > documentation on them. Could someone enlighten me about the meaning of > > these, > > and in particular, whether I can use them to convert axis coordinates to > > screen > > coordinates and vice versa? > > Thanks, > > Zoltán |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 08:35:06
|
after plotting a whole bunch of variables is set, see 'show variables all'. amongst these variables there are GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, GPVAL_TERM_YMIN, GPVAL_TERM_YMAX which give the corners of the graph in pixels. (you need version 4.4) together with the information in GPVAL_X_MIN, GPVAL_X_MAX, ... it should be easy to translate data point coordinates into pixels. you should generate your plot, then replot with 'set table <filename>' the resulting file should contain all of your data points in graph coordinates which with the above variables you may convert into terminal screen coordinates. scldad wrote: > > I have seen this question before but not any answers. > > I need to generate plots of data where the X axis is always date/time. > > These plot image files will be included in web pages via img tags. > > I also need to make the resulting web image "clickable" via an image map > so > that viewers can see the original data values. > > How can one generate the relevant HTML image maps (or some form of text > file > with identifiable coordinate pairs) with gnuplot? > > (I currently do this with grace plots by replicating the PNG plots with > the > Metadata output option and feeding the results plus the original data file > through a gawk script.) > > TIA, > Stephen Davies > -- > ============================================================================= > Stephen Davies Consulting P/L Voice: 08-8177 > 1595 > Adelaide, South Australia. Fax : 08-8177 > 0133 > Computing & Network solutions. Mobile:040 304 > 0583 > > VoIP:sip:11...@si... > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/HTML-image-maps-tp26673695p26706777.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 08:26:25
|
plotting into a bitmap terminal like 'gif' and analysing the resulting plot file in an appropriate viewer shows that these are the coordinates of the graphs corners. ZoltánVörös wrote: > > Dear All, > > Some time ago, four terminal variables, GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, > GPVAL_TERM_YMIN, and GPVAL_TERM_YMAX were introduced, but there is not too > much > documentation on them. Could someone enlighten me about the meaning of > these, > and in particular, whether I can use them to convert axis coordinates to > screen > coordinates and vice versa? > Thanks, > Zoltán > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/What-is-the-meaning-of-the-terminal-variables--tp26700899p26706697.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-12-09 08:15:54
|
if the number of data points per x-value is constant, you could use the 'every' option of the 'plot' command. or you could use the ternary operator: plot 'datafilename' using ($1==2.76?$2):3 (assumed that one of your x-values is 2.76) Smstry wrote: > > I have a file ( 3 columns x,y,z )which allows me to make a 3D plot . > i'd like to make an animated 2d plot with this file :i mean for each value > of x i plot 2d graph ,and i change th evalue of x with time to make > animation . > any one could help me ? > thanks > > > -- View this message in context: http://old.nabble.com/animated-plot-tp26666997p26706592.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: kerry7 <coo...@ho...> - 2009-12-08 23:01:59
|
Hallo guys,
I'm now facing a difficult problem.
In my gnuplot script I plot several curves under UNIX.
Now I want to add the current working directory and time to the pic I
plotted.
That means I want the 'pwd' and 'date' to be included in my plot.
But I was not able to figure that out.
p.s. The current working directory and time can be either included in the
Title of the plot
or in the legend of the plot.
Could you give me some tips if anyone knows the answers?
Thx a lot!
--
View this message in context: http://old.nabble.com/How-to-include-current-working-directory-and-time-to-the-plot-tp26678235p26678235.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: ZoltánVörös <zv...@gm...> - 2009-12-08 21:15:49
|
Dear All, Some time ago, four terminal variables, GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, GPVAL_TERM_YMIN, and GPVAL_TERM_YMAX were introduced, but there is not too much documentation on them. Could someone enlighten me about the meaning of these, and in particular, whether I can use them to convert axis coordinates to screen coordinates and vice versa? Thanks, Zoltán |
|
From: Thomas S. <t.s...@fz...> - 2009-12-08 13:10:18
|
on a unix-like system:
set xlabel system("awk -F '\"' '{if (NR==1) print $2}' Test.data")
set ylabel system("awk -F '\"' '{if (NR==1) print $4}' Test.data")
sprobst wrote:
>
> Dear all,
>
> I have a simple problem. If I have a data file like this
>
> ** Test.data ***
> "Test col 1[mm]" "Test col2[%]"
> 1 1
> 2 4
> 3 9
> *************
>
> How can I get the columnheaders as the xlabel descriptions. Something like
>
> set xlabel *Columenheader(1) of file Test.data*
> set ylabel *Columenheader(2) of file Test.data*
> plot 'Test.data' using 1:2
>
> Is this possible to do something like this directly in gnuplot or do I
> have to use an external script?
>
> Thank you in advance!
>
> Best regards
> Stefan
>
--
View this message in context: http://old.nabble.com/Columenheaders-as-axis-labels-tp26690447p26693658.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: sprobst <Ste...@gm...> - 2009-12-08 08:41:59
|
Dear all,
I have a simple problem. If I have a data file like this
** Test.data ***
"Test col 1[mm]" "Test col2[%]"
1 1
2 4
3 9
*************
How can I get the columnheaders as the xlabel descriptions. Something like
set xlabel *Columenheader(1) of file Test.data*
set ylabel *Columenheader(2) of file Test.data*
plot 'Test.data' using 1:2
Is this possible to do something like this directly in gnuplot or do I have
to use an external script?
Thank you in advance!
Best regards
Stefan
--
View this message in context: http://old.nabble.com/Columenheaders-as-axis-labels-tp26690447p26690447.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-12-07 23:27:31
|
Giacomo Monari wrote: > "commands.txt", line 13: warning: Skipping unreadable file "r_z0.dat" That's your actual problem. gnuplot can't read your file, period. Nobody but you can find out why. For starters, we out here don't even know what kind of computer you're talking about, much less what your data files' contents _actually_ are. For all we know your data could be hidden in MS Word files... > Note: it used to work. Recently I upgraded Gnuplot to v. 4.2 ... from: what? > and I'm not using anymore ifort as a Fortran compiler to create the > executables that give me those data files, but gfortran. And you don't have any of the old files lying around to try this with? Do the demos that come with gnuplot work (contour.dem)? |
|
From: Giacomo M. <gia...@em...> - 2009-12-07 18:40:54
|
I just realize that I have the same problem with the command:
splot 'datafile.dat'
where 'datafile.dat' is from the Gnuplot documentation!
# The valley of the Gnu.
0 0 10
0 1 10
0 2 10
1 0 10
1 1 5
1 2 10
2 0 10
2 1 1
2 2 10
3 0 10
3 1 0
3 2 10
The error is the same:
gnuplot> splot 'datafile.dat'
warning: Skipping unreadable file "datafile"
warning: Axis range undefined due to improper data values.
NaN? Inf?
^
All points x value undefined
Il giorno 07/dic/2009, alle ore 18.30, Giacomo Monari ha scritto:
> Hello everyone,
>
> I'm trying to plot contour lines from a file.
>
> The commands I'm using are:
>
> set terminal postscript eps enhanced solid color
> set autoscale
> set xlabel "R"
> set ylabel "z"
> set size ratio -1
> set view 0,0
> unset surface
> unset key
> unset title
> set contour
> set cntrparam levels incremental 0.1,0.02,50
> set output "output.eps"
> splot "r_z0.dat" with lines
> set size ratio 0
>
>
> and the file "r_z0.dat" looks like
>
> -0.23630E+01 0.00000E+00 0.76950E-07
> -0.23630E+01 0.18461E-01 0.75733E-07
> -0.23630E+01 0.36922E-01 0.73310E-07
> -0.23630E+01 0.15322E+01 0.00000E+00
> -0.23630E+01 0.15507E+01 0.00000E+00
> -0.23630E+01 0.15692E+01 0.00000E+00
> -0.23630E+01 0.15876E+01 0.00000E+00
> -0.23630E+01 0.16061E+01 0.00000E+00
> -0.23630E+01 0.16246E+01 0.00000E+00
> -0.23630E+01 0.16430E+01 0.00000E+00
> -0.23630E+01 0.16615E+01 0.00000E+00
> -0.23630E+01 0.16799E+01 0.00000E+00
> ecc.
> -0.23630E+01 0.21784E+01 0.00000E+00
> -0.23630E+01 0.21968E+01 0.00000E+00
> -0.23630E+01 0.22153E+01 0.00000E+00
> -0.23630E+01 0.22338E+01 0.00000E+00
> -0.23630E+01 0.22522E+01 0.00000E+00
> -0.23630E+01 0.22707E+01 0.00000E+00
> -0.23630E+01 0.22891E+01 0.00000E+00
> -0.23630E+01 0.23076E+01 0.00000E+00
> -0.23630E+01 0.23261E+01 0.00000E+00
> -0.23630E+01 0.23445E+01 0.00000E+00
>
> -0.23445E+01 0.00000E+00 0.23269E-06
> -0.23445E+01 0.18461E-01 0.23145E-06
> -0.23445E+01 0.36922E-01 0.22897E-06
> -0.23445E+01 0.55383E-01 0.22545E-06
> -0.23445E+01 0.73843E-01 0.22097E-06
> -0.23445E+01 0.92304E-01 0.21524E-06
> -0.23445E+01 0.11077E+00 0.20825E-06
> -0.23445E+01 0.12923E+00 0.19997E-06
> -0.23445E+01 0.14769E+00 0.19042E-06
> -0.23445E+01 0.16615E+00 0.17968E-06
> -0.23445E+01 0.18461E+00 0.16793E-06
> -0.23445E+01 0.20307E+00 0.15485E-06
> -0.23445E+01 0.22153E+00 0.14042E-06
> -0.23445E+01 0.23999E+00 0.12462E-06
> -0.23445E+01 0.25845E+00 0.10746E-06
> -0.23445E+01 0.27691E+00 0.88923E-07
> -0.23445E+01 0.29537E+00 0.69146E-07
> ecc.
>
> And I get an error message like :
>
> "commands.txt", line 13: warning: Skipping unreadable file "r_z0.dat"
> "commands.txt", line 13: warning: Axis range undefined due to improper
> data values. NaN? Inf?
> splot "r_z0.dat" with lines
> ^
> "commands.txt", line 13: All points x value undefined
>
>
>
> Any idea of what could it be?
>
> Note: it used to work. Recently I upgraded Gnuplot to v. 4.2 and I'm
> not using anymore ifort as a Fortran compiler to create the
> executables that give me those data files, but gfortran. But since
> I've done both things together I don't know if it's Gnuplot 4.2 fault
> or gfortran fault...
>
>
> Thanks in advance!
>
> Giacomo
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Gioca subito al grande social game di Kit Kat! Ogni giorno puoi vincere viaggi a Cuba e iTunes card per te e i tuoi amici. Gioca adesso
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9893&d=7-12
|
|
From: Giacomo M. <gia...@em...> - 2009-12-07 17:30:28
|
Hello everyone,
I'm trying to plot contour lines from a file.
The commands I'm using are:
set terminal postscript eps enhanced solid color
set autoscale
set xlabel "R"
set ylabel "z"
set size ratio -1
set view 0,0
unset surface
unset key
unset title
set contour
set cntrparam levels incremental 0.1,0.02,50
set output "output.eps"
splot "r_z0.dat" with lines
set size ratio 0
and the file "r_z0.dat" looks like
-0.23630E+01 0.00000E+00 0.76950E-07
-0.23630E+01 0.18461E-01 0.75733E-07
-0.23630E+01 0.36922E-01 0.73310E-07
-0.23630E+01 0.15322E+01 0.00000E+00
-0.23630E+01 0.15507E+01 0.00000E+00
-0.23630E+01 0.15692E+01 0.00000E+00
-0.23630E+01 0.15876E+01 0.00000E+00
-0.23630E+01 0.16061E+01 0.00000E+00
-0.23630E+01 0.16246E+01 0.00000E+00
-0.23630E+01 0.16430E+01 0.00000E+00
-0.23630E+01 0.16615E+01 0.00000E+00
-0.23630E+01 0.16799E+01 0.00000E+00
ecc.
-0.23630E+01 0.21784E+01 0.00000E+00
-0.23630E+01 0.21968E+01 0.00000E+00
-0.23630E+01 0.22153E+01 0.00000E+00
-0.23630E+01 0.22338E+01 0.00000E+00
-0.23630E+01 0.22522E+01 0.00000E+00
-0.23630E+01 0.22707E+01 0.00000E+00
-0.23630E+01 0.22891E+01 0.00000E+00
-0.23630E+01 0.23076E+01 0.00000E+00
-0.23630E+01 0.23261E+01 0.00000E+00
-0.23630E+01 0.23445E+01 0.00000E+00
-0.23445E+01 0.00000E+00 0.23269E-06
-0.23445E+01 0.18461E-01 0.23145E-06
-0.23445E+01 0.36922E-01 0.22897E-06
-0.23445E+01 0.55383E-01 0.22545E-06
-0.23445E+01 0.73843E-01 0.22097E-06
-0.23445E+01 0.92304E-01 0.21524E-06
-0.23445E+01 0.11077E+00 0.20825E-06
-0.23445E+01 0.12923E+00 0.19997E-06
-0.23445E+01 0.14769E+00 0.19042E-06
-0.23445E+01 0.16615E+00 0.17968E-06
-0.23445E+01 0.18461E+00 0.16793E-06
-0.23445E+01 0.20307E+00 0.15485E-06
-0.23445E+01 0.22153E+00 0.14042E-06
-0.23445E+01 0.23999E+00 0.12462E-06
-0.23445E+01 0.25845E+00 0.10746E-06
-0.23445E+01 0.27691E+00 0.88923E-07
-0.23445E+01 0.29537E+00 0.69146E-07
ecc.
And I get an error message like :
"commands.txt", line 13: warning: Skipping unreadable file "r_z0.dat"
"commands.txt", line 13: warning: Axis range undefined due to improper
data values. NaN? Inf?
splot "r_z0.dat" with lines
^
"commands.txt", line 13: All points x value undefined
Any idea of what could it be?
Note: it used to work. Recently I upgraded Gnuplot to v. 4.2 and I'm
not using anymore ifort as a Fortran compiler to create the
executables that give me those data files, but gfortran. But since
I've done both things together I don't know if it's Gnuplot 4.2 fault
or gfortran fault...
Thanks in advance!
Giacomo
|
|
From: Stephen D. <sc...@sd...> - 2009-12-07 07:42:21
|
I have seen this question before but not any answers.
I need to generate plots of data where the X axis is always date/time.
These plot image files will be included in web pages via img tags.
I also need to make the resulting web image "clickable" via an image map so
that viewers can see the original data values.
How can one generate the relevant HTML image maps (or some form of text file
with identifiable coordinate pairs) with gnuplot?
(I currently do this with grace plots by replicating the PNG plots with the
Metadata output option and feeding the results plus the original data file
through a gawk script.)
TIA,
Stephen Davies
--
=============================================================================
Stephen Davies Consulting P/L Voice: 08-8177 1595
Adelaide, South Australia. Fax : 08-8177 0133
Computing & Network solutions. Mobile:040 304 0583
VoIP:sip:11...@si...
|
|
From: Thomas S. <t.s...@fz...> - 2009-12-04 18:22:10
|
the formula for differential cross section of rutherford scattering is dsigma/dOmega ~ 1/(sin(theta/2)**4) this function can not have the shape you've drawn in your graph. it *is* infinite at x=0. the reason not to take the data point at x=0 into account, is that all non-scattered particles go under zero degree, but you are interested in scattered particles only, i.e. those particles which are described by the above formula. i don't see anything wrong with your data and your fit as it is. Hans-Bernhard Bröker-2 wrote: > > DonBieber wrote: > >> I have data concerning rutherford-scattering. In order to verify the >> formula >> I need to make a fit with the function f(x)=a*1/(sin(x/2)**4). Like you >> can >> see I get for x=0 a little mathematical problem. The following picture >> shows >> the fit in green and how I would like it to be in blue. Is there any >> possibility of telling GnuPlot to skip x=0 and interpolate? > > Throw away the data point at x=0 (and all other exact multiples of \pi, > of course) before you pass the data to the 'fit' command. > > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Problem-with-singularity-%3C-%3E-Divide-by-zero-tp26634110p26636364.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: DonBieber <rau...@ym...> - 2009-12-04 17:33:31
|
Hans-Bernhard wrote: > > DonBieber wrote: > >> I have data concerning rutherford-scattering. In order to verify the >> formula >> I need to make a fit with the function f(x)=a*1/(sin(x/2)**4). Like you >> can >> see I get for x=0 a little mathematical problem. The following picture >> shows >> the fit in green and how I would like it to be in blue. Is there any >> possibility of telling GnuPlot to skip x=0 and interpolate? > > Throw away the data point at x=0 (and all other exact multiples of \pi, of > course) before you pass the data to the 'fit' command. > I already left this data point out (like you can see in the picture), however this doesn't change the problem. This is quite strange as my tutor gave me the same advice for the fit :( -- View this message in context: http://old.nabble.com/Problem-with-singularity-%3C-%3E-Divide-by-zero-tp26634110p26636158.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-12-04 14:31:37
|
Jens Lehmann <lehmann <at> informatik.uni-leipzig.de> writes: > Although I played with different patterns and parameters, the result > doesn't look very good. One reason are probably the dotted lines around > the bar charts. Why are they dotted and can they be turned into solid lines? > > I welcome other suggestions for improving the appearance of the bar chart. set terminal epslatex solid |
|
From: Thomas S. <t.s...@fz...> - 2009-12-04 14:09:53
|
Minwoong Joe <mjoe122 <at> gmail.com> writes: > > I think writeback or restore option in xrange cannot help to solve my > problem. > > For example, > > set xrange[0:1100] (with any option) > p 'temp.dat' u 1:2 w lp #last snapshot > # to draw 1st snapshot, i use > p[0:100] 'temp.dat' u 1:2 w lp > # then the range of x immediately change to 0-100 not fixed range of 0-1100. > I can't do that by using xrange option. > > In the help, > They used funtion such as sin(x) and x/2 not a data. Here is a point. > >From one data, I should draw part of one graph under fixed xrange. > To do so, I have to use p[0:100], p[100:200], and so on. Then I can't fix > the xrange. > > Joe > > > > > > > Step Temp > > > 0 122 > > > 100 102 > > > 200 112 > > > 300 122 > > > 400 153 > > > 500 143 > > > 600 111 > > > 700 132 > > > 800 142 > > > 900 152 > > > 1000 102 > > > 1100 112 > > > ... selecting the data points by changing the xrange is not the appropriate way to go - the 'every' option of the plot command should be used instead: set xrange [0:1100] plot 'temp.dat' using 1:2 every 1::0::0 with linespoints plot 'temp.dat' using 1:2 every 1::0::1 with linespoints plot 'temp.dat' using 1:2 every 1::0::2 with linespoints ... |