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: Biloti <bi...@gm...> - 2011-09-27 18:42:16
|
The graph bellow was produced by the following gnuplot command. However, the x tick labels are too dense. How could I tell to gnuplot to use fewer ticks in this "date mode" for x axis? set xlabel "Year" set key off set timefmt "%Y-%m-%d" set format x "%Y" set xdata time set mxtics 2 set ytics 0.5 set multiplot layout 2,2 plot "dengue.csv" u 1:3 w l, "" u 1:2 w l ls 1 plot "dengue.csv" u 1:3 w l, "" u 1:4 w l ls 1 plot "dengue.csv" u 1:3 w l, "" u 1:5 w l ls 1 plot "dengue.csv" u 1:3 w l, "" u 1:6 w l ls 1 unset multiplot http://old.nabble.com/file/p32538776/screenshot.png http://old.nabble.com/file/p32538776/dengue.csv dengue.csv -- View this message in context: http://old.nabble.com/Fewer-xticks-in-date-mode-tp32538776p32538776.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hernán G. A. <as...@gm...> - 2011-09-27 18:00:19
|
Dear Martin, On Tue, Sep 27, 2011 at 14:48, Martin Genet <mg...@lb...> wrote: > Hi Hernán: > > First of all, many thanks for your help. > > On 09/26/2011 06:19 PM, Hernán Gonzalo Asorey wrote: > >> On Mon, Sep 26, 2011 at 21:30, Martin Genet <mg...@lb... <mailto: >> mg...@lb...>> wrote: >> >> I have a system with two inputs (i1 & i2), and one output (o). >> The two parameters are linked by some kind of constraint (c(i1, i2) = >> 0). >> >> I have data in the following format: #i1 i2 o. >> Of course, I can easily plot o(i1) and o(i2). >> I would like to create a plot where I have i1 in x1 axis, and >> corresponding i2 in x2 axis, while having o in y1 axis. >> >> perhaps this: >> set x2tics >> set xtics nomirror >> set xlabel "i1" >> set x2label "i2" >> set ylabel "o" >> plot 'myfile' u 1:3 w l t "o(i1)", '' u 2:3 axes x2y1 t "o(i2)" >> > > However, the problem I see here is that there is no "mapping" between x1 et > x2 axis, though x2 axis should be a transformation of x1 axis through c > constraint. Is there a way to put, for each label of x1 axis, a > corresponding label in x2 axis? > As far as I know, you can replace (or also add) major tics manually. For example (from gnuplot help xtics manual page): set x2tics (1,2,4,8,16,32,64,128,256,512,1024) will put x2tics at 2^n, for n=0..10, but you should add them manually. You can even do this: f(x)=2**x set x2tics (f(0), f(1), f(2), f(3)) and so on, but I don't know if there is a way to force the x2tics (or any other axes tics) directly from a function without specify them in some sense. Cheers, Hernán Thanks again, > Martin. > > > > > > > |
|
From: Martin G. <mg...@lb...> - 2011-09-27 17:48:43
|
Hi Hernán: First of all, many thanks for your help. On 09/26/2011 06:19 PM, Hernán Gonzalo Asorey wrote: > On Mon, Sep 26, 2011 at 21:30, Martin Genet <mg...@lb... <mailto:mg...@lb...>> wrote: > > I have a system with two inputs (i1 & i2), and one output (o). > The two parameters are linked by some kind of constraint (c(i1, i2) = 0). > I have data in the following format: #i1 i2 o. > Of course, I can easily plot o(i1) and o(i2). > I would like to create a plot where I have i1 in x1 axis, and corresponding i2 in x2 axis, while having o in y1 axis. > > perhaps this: > set x2tics > set xtics nomirror > set xlabel "i1" > set x2label "i2" > set ylabel "o" > plot 'myfile' u 1:3 w l t "o(i1)", '' u 2:3 axes x2y1 t "o(i2)" However, the problem I see here is that there is no "mapping" between x1 et x2 axis, though x2 axis should be a transformation of x1 axis through c constraint. Is there a way to put, for each label of x1 axis, a corresponding label in x2 axis? Thanks again, Martin. |
|
From: Hernán G. A. <as...@gm...> - 2011-09-27 01:19:48
|
On Mon, Sep 26, 2011 at 21:30, Martin Genet <mg...@lb...> wrote: > Dear GNUPlot: > > I have a system with two inputs (i1 & i2), and one output (o). > The two parameters are linked by some kind of constraint (c1(i1, i2) = 0). > I have data in the following format: #i1 i2 o. > Of course, I can easily plot o(i1) and o(i2). > I would like to create a plot where I have i1 in x1 axis, and corresponding > i2 in x2 axis, while having o in y1 axis. > Hi! perhaps this: set x2tics set xtics nomirror set xlabel "i1" set x2label "i2" set ylabel "o" plot 'myfile' u 1:3 w l t "o(i1)", '' u 2:3 axes x2y1 t "o(i2)" hope this help. See help axes for further info. cheers, Hernán Another way to say it is to have, for each tick in x1 representing i1/i2, > the corresponding tick in x2 representing i2/i1 (constraint c1 is fairly > easy to solve analytically). > Does it make sense to anyone? > > Thanks i advance for your help. > Martin. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Martin G. <mg...@lb...> - 2011-09-27 00:45:51
|
Dear GNUPlot: I have a system with two inputs (i1 & i2), and one output (o). The two parameters are linked by some kind of constraint (c1(i1, i2) = 0). I have data in the following format: #i1 i2 o. Of course, I can easily plot o(i1) and o(i2). I would like to create a plot where I have i1 in x1 axis, and corresponding i2 in x2 axis, while having o in y1 axis. Another way to say it is to have, for each tick in x1 representing i1/i2, the corresponding tick in x2 representing i2/i1 (constraint c1 is fairly easy to solve analytically). Does it make sense to anyone? Thanks i advance for your help. Martin. |
|
From: Ricardo S <sup...@gm...> - 2011-09-23 09:33:28
|
Thank you Thomas, worked just perfectly. []'s Ricardo. On Thu, Sep 22, 2011 at 3:57 PM, Thomas Sefzick <t.s...@fz...> wrote: > > plot "FILE" using 1:(NaN):xtic(2) every 2, "" using 1:3 with lines > > > Ricardo_NL wrote: >> >> Hello all, I have a file with 3 columns (example below). I want to plot >> the 1st column as X and the 3rd column as Y. However, I would like to >> show, in the positions specified by me for x-tics, the relative values in >> the 2nd column, instead of the absolute values from 1st column. Example: >> >> FILE: >> 0 21:00:00 45 >> 1 21:05:00 66 >> 2 21:10:00 94 >> 3 21:15:00 36 >> 4 21:20:00 53 >> 5 21:25:00 10 >> 6 21:30:00 72 >> 7 21:35:00 63 >> 8 21:40:00 72 >> 9 21:45:00 76 >> 10 21:50:00 17 >> >> I want x-tics only every two entries, but instead of the 1st column value, >> I want to plot the 2nd column text. >> >> ... >> set xtics 0,2,10 >> plot "FILE" using 1:3:xtics(2) with lines >> >> However, the lines above create a graphic with all values of 2nd column >> and not every two entries. >> >> Ps.: my input file has much more lines, with time starting in one day and >> end in the next day. Therefore, I cannot plot a datetime-like x-axis, >> because the hours repeat. >> >> Thanks, >> Ricardo. >> >> > > -- > View this message in context: http://old.nabble.com/Plotting-strings-on-X-axis-on-specified-positions-tp32503808p32503817.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Robbie M. <ro...@ac...> - 2011-09-22 22:32:11
|
Hello Hans-Bernhard ------------------------------------------------------------ To: Robbie Morrison <ro...@ac...> Subject: Re: [Gnuplot-info] terminal dumb plot inserts a form feed char Message-ID: <4E7...@t-...> From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= <HBB...@t-...> Date: Thu, 22 Sep 2011 23:43:16 +0200 ------------------------------------------------------------ > On 22.09.2011 09:49, Robbie Morrison wrote: > >> I noticed that the "dumb" terminal, by default, inserts >> a "^L" (form feed char, decimal 012) before plotting. > > And if you're on an actual interactive terminal, which > is what this terminal is primarily intended for, that's > quite a nice thing, really, because it positions the > plot on a new page, where it'll stay at the top without > moving, while you enter the next commands. > >> I normally capture the output, which is then duly >> peppered with these little form feeds. I wonder if a >> better default would be to omit the form feed unless >> otherwise requested. > > Well, adding clever options like that to a terminal > driver calling itself "dumb" would, kinda-sorta, defeat > the purpose. I appreciate your comments. I realize ^L clears the screen. My app normally runs from within emacs and I sometimes capture hundreds of thousands of lines of debugging output in a single emacs buffer. This can be navigated thru using a whole collection of custom elisp functions. Emacs is remarkable tolerant about these large files. Any how, that's my use case. The ^L should work better for interactive sessions, as you suggest. thanks for your reply Robbie --- Robbie Morrison PhD student -- policy-oriented energy system simulation Technical University of Berlin (TU-Berlin), Germany University email (redirected) : mor...@ie... Webmail (preferred) : ro...@ac... [from Webmail client] |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-09-22 21:43:33
|
On 22.09.2011 09:49, Robbie Morrison wrote: > I noticed that the "dumb" terminal, by default, inserts > a "^L" (form feed char, decimal 012) before plotting. And if you're on an actual interactive terminal, which is what this terminal is primarily intended for, that's quite a nice thing, really, because it positions the plot on a new page, where it'll stay at the top without moving, while you enter the next commands. > I normally capture the output, which is then duly > peppered with these little form feeds. I wonder if a > better default would be to omit the form feed unless > otherwise requested. Well, adding clever options like that to a terminal driver calling itself "dumb" would, kinda-sorta, defeat the purpose. |
|
From: Dr. I. D. J. <die...@t-...> - 2011-09-22 19:13:06
|
Hi Thomas, thank you very much for this information. IMHO a reference to the "coordinates" syntax would be very helpful in the "label" documentation. It is not self-understanding to look for set coordinates when I am seeking for information about labels. An issue for the gnuplot-wish list (I guess it is unlimited like the Richter - scale :-)) Secondly, wouldn't it make sense to make a consistent syntax? Using plot XYZ axis x1y2 .... in plots in contrast to set label "LABEL" at first X, second Y is again not self explanatory. What regards the color specification I agree - just missing an idea how the reader could be pointed to looking for "set textcolor" based on the information provided by "help set label"; basically a similar issue as above. Maybe using capital letters for entries that are of composite type to indicate to search there? Just an idea .... Anyway, thank you very much for helping! Take care Dieter Jurzitza On Donnerstag, 22. September 2011 11:11:32 Thomas Sefzick wrote: > Dr. Ing. Dieter Jurzitza <dieter.jurzitza <at> t-online.de> writes: > > 1.) is there a way to align labels vs. x2 or y2-axis? From the online > > help I cannot see an option like > > > > set label "TEXT" axis x1y2 at 1.5,0.7 > > set label "TEXT" at first 1.5, second 0.7 ***************** -- ----------------------------------------------------------- | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- |
|
From: Thomas S. <t.s...@fz...> - 2011-09-22 13:57:43
|
plot "FILE" using 1:(NaN):xtic(2) every 2, "" using 1:3 with lines Ricardo_NL wrote: > > Hello all, I have a file with 3 columns (example below). I want to plot > the 1st column as X and the 3rd column as Y. However, I would like to > show, in the positions specified by me for x-tics, the relative values in > the 2nd column, instead of the absolute values from 1st column. Example: > > FILE: > 0 21:00:00 45 > 1 21:05:00 66 > 2 21:10:00 94 > 3 21:15:00 36 > 4 21:20:00 53 > 5 21:25:00 10 > 6 21:30:00 72 > 7 21:35:00 63 > 8 21:40:00 72 > 9 21:45:00 76 > 10 21:50:00 17 > > I want x-tics only every two entries, but instead of the 1st column value, > I want to plot the 2nd column text. > > ... > set xtics 0,2,10 > plot "FILE" using 1:3:xtics(2) with lines > > However, the lines above create a graphic with all values of 2nd column > and not every two entries. > > Ps.: my input file has much more lines, with time starting in one day and > end in the next day. Therefore, I cannot plot a datetime-like x-axis, > because the hours repeat. > > Thanks, > Ricardo. > > -- View this message in context: http://old.nabble.com/Plotting-strings-on-X-axis-on-specified-positions-tp32503808p32503817.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-09-22 09:11:58
|
Dr. Ing. Dieter Jurzitza <dieter.jurzitza <at> t-online.de> writes: > 1.) is there a way to align labels vs. x2 or y2-axis? From the online help I > cannot see an option like > > set label "TEXT" axis x1y2 at 1.5,0.7 set label "TEXT" at first 1.5, second 0.7 see 'help coordinates' > specifically if you have a log - axis on one hand and a non-log axis on the > other this would be quite helpful. > > 2.) if I read the command description it says > > set label ..... > ............ > ............ > {textcolor <colorspec>} > {point <pointstyle>} > > given this, I would expect to say > > set label "TEXT" at 1.5,0.7 tc 3 > > However, what I have to write is > > set label "TEXT" at 1.5,0.7 tc lt 3 'help textcolor' says: ... Syntax: ... {linecolor | lc} {<colorspec> | <n>} ... {textcolor | tc} {<colorspec> | {linetype | lt} <n>} where <colorspec> has one of the following forms: rgbcolor "colorname" rgbcolor "#RRGGBB" rgbcolor variable # color is read from input file palette frac <val> # <val> runs from 0 to 1 palette cb <value> # <val> lies within cbrange palette z variable # color index is read from input file ... a simple number for textcolor as <colorspec> means nothing, there is no predefined "colortype" (in contrast to 'linetype') which one could use. either you may use the color of a predefined linetype or you may give the full color specification. > otherwise it does not work. This is not how I would interpret the given syntax > and I cannot imagine anyone who would. Why do I have to reference a linestyle > to specify a text color? > Is this an error in the online documentation? It may be a necessity from > programming standpoint, but from a logical standpoint and from a usability > standpoint it is somewhat strange. > > I would expect "tc" to depict what the user wants to say. Textcolor, that's > it. Just my two points after hours of struggling ..... > > Thank you for looking into this, > take care > > Dieter Jurzitza > > By the way: I am using gnuplot 4.4 patchlevel 2 |
|
From: Robbie M. <ro...@ac...> - 2011-09-22 07:50:29
|
Hello all I noticed that the "dumb" terminal, by default, inserts a "^L" (form feed char, decimal 012) before plotting. I normally capture the output, which is then duly peppered with these little form feeds. I wonder if a better default would be to omit the form feed unless otherwise requested. Please note that I do not issue a 'clear' command, which Janert (2010 p218) ["Gnuplot in Action"] suggests should "forces a form-feed or page break" in this case. Just a thought for the doubtless overworked maintainers. And I could of course deal with this on the client side. best wishes, Robbie --- Robbie Morrison PhD student -- policy-oriented energy system simulation Technical University of Berlin (TU-Berlin), Germany University email (redirected) : mor...@ie... Webmail (preferred) : ro...@ac... [from Webmail client] |
|
From: Jon <dev...@gm...> - 2011-09-21 19:39:52
|
Dear Hans,
Thanks for your answer. I used eps option and it does cure the problem I
raised. I would like to ask though, if I don't use eps, then a correct eps
file can still be generated and recognized. It seems to me the only
difference with or without eps option is to generate a graph which can be
fit into an A4 page either standing up or laying down (sorry for not being
able to find the correct expression for that).
And, if I don't use eps option, can I make full use of gnuplot commands to
achieve the same effect? I tried to use {10,5} to make a graph with width
larger than height, but it does not work that way, so how come?
Thanks,
Sincerely,
Jon
2011/9/21 Hans-Bernhard Bröker <HBB...@t-...>
> On 21.09.2011 01:49, Jon wrote:
>
> set term postscript portrait color solid enhanced
>>
>> to try to generate a portrait output, but y axis is obviously too
>> elongated.
>>
>
> That's far from obvious. For starters, it's completely unclear what you
> believe that y axis is too long to accomplish. For what it's words, the
> widely accepted meaning of "portrait" format, which you did tell gnuplot to
> use, is "higher than it's wide".
>
>
> If I add {10,5} into the set comand to enforce x> y, it does not seem to
>> work.
>>
>
> What made you assume that {10,5} was supposed to go somewhere into that
> line to have that effect?
>
>
> Anyway, I just want the plot to be plotted in a rectangular just like
>> a landscape box but with the whole plot rotated 90 degrees. How can I
>> possibly do that?
>>
>
> You're probably looking for the 'eps' option.
>
|
|
From: Dr. I. D. J. <die...@t-...> - 2011-09-21 19:31:32
|
Dear listmembers,
I have two questions:
1.) is there a way to align labels vs. x2 or y2-axis? From the online help I
cannot see an option like
set label "TEXT" axis x1y2 at 1.5,0.7
^^^^^^^^^
specifically if you have a log - axis on one hand and a non-log axis on the
other this would be quite helpful.
2.) if I read the command description it says
set label .....
............
............
{textcolor <colorspec>}
{point <pointstyle>}
given this, I would expect to say
set label "TEXT" at 1.5,0.7 tc 3
However, what I have to write is
set label "TEXT" at 1.5,0.7 tc lt 3
otherwise it does not work. This is not how I would interpret the given syntax
and I cannot imagine anyone who would. Why do I have to reference a linestyle
to specify a text color?
Is this an error in the online documentation? It may be a necessity from
programming standpoint, but from a logical standpoint and from a usability
standpoint it is somewhat strange.
I would expect "tc" to depict what the user wants to say. Textcolor, that's
it. Just my two points after hours of struggling ..... :-)
Thank you for looking into this,
take care
Dieter Jurzitza
By the way: I am using gnuplot 4.4 patchlevel 2
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|
|
From: Thomas S. <t.s...@fz...> - 2011-09-21 18:45:46
|
Jon <devout1977 <at> gmail.com> writes: > ... > I used command > set term postscript portrait color solid enhanced > to try to generate a portrait output, but y axis is obviously too elongated. > ... > Anyway, I just want the plot to be plotted in a rectangular just like > a landscape box but with the whole plot rotated 90 degrees. How can I > possibly do that? set the axis ratio: set size ratio 1./sqrt(2) |
|
From: Jon <dev...@gm...> - 2011-09-20 23:49:58
|
Dear All,
I have been very frustrated to change the output into eps/pdf as a portrait
orientation but maintain the right ratio between x and y axis. I used
command
set term postscript portrait color solid enhanced
to try to generate a portrait output, but y axis is obviously too elongated.
If I add {10,5} into the set comand to enforce x > y, it does not seem to
work. Anyway, I just want the plot to be plotted in a rectangular just like
a landscape box but with the whole plot rotated 90 degrees. How can I
possibly do that?
Thanks,
Sincerely,
Jon
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-09-19 21:24:05
|
On 19.09.2011 18:24, Jon wrote: > print (debug=='#' ? 'output in file' : 'output on screen') > > However, gnuplot complains that > > Non-numeric string found where a numeric expression was expected Of course it does. == is an operator for numbers, but you're passing it strings. Please see "help expressions operators binary" for the operator you really need. |
|
From: Jon <dev...@gm...> - 2011-09-19 16:24:46
|
Dear All, I use macro to control whether output to a file or on screen by defining a variable debug. I would like to output a string on screen to remind me where the output is by writing code like debug = '' print (debug=='#' ? 'output in file' : 'output on screen') However, gnuplot complains that Non-numeric string found where a numeric expression was expected How can I possibly circumvent this error and get what I want, thanks! Sincerely, Jon |
|
From: Thomas S. <t.s...@fz...> - 2011-09-13 18:19:56
|
Mikhail Kononets <mkononets <at> gmail.com> writes: > i am trying to use week number in timefmt specification, e.g. > set timefmt "%Y%U" > plot "2008-weekly-medianed.txt using 1:2 w lp > and receiving many lines like that: > 2008-weekly-medianed.txt:11: warning: Bad time format in string > 200839 +3.408884e+002 > is it possible to do it as it is described in the manual? for now i have > to use %Y-%m-%d specification unstead? "%U" is only valid for "set format" not for "set timefmt". see chapters 75.23.3 and 75.70 in the manual. |
|
From: Mikhail K. <mko...@gm...> - 2011-09-13 15:46:58
|
i am trying to use week number in timefmt specification, e.g. set timefmt "%Y%U" plot "2008-weekly-medianed.txt using 1:2 w lp and receiving many lines like that: 2008-weekly-medianed.txt:11: warning: Bad time format in string 200839 +3.408884e+002 is it possible to do it as it is described in the manual? for now i have to use %Y-%m-%d specification unstead? all the best, Misha. |
|
From: Thomas S. <t.s...@fz...> - 2011-09-07 09:53:45
|
a small example (tested with the 'x11' terminal): data.dat: 1 1 2 4 3 2 4 1 5 5 6 3 7 4 8 2 9 1 10 5 main.plt: reset set macro set xrange [0:11] set yrange [0:6] i=1 n=5 load 'loop.plt' loop.plt: temp = "call 'plot.plt' 'data.dat' ".i." ".n print temp @temp pause mouse keypress if (MOUSE_KEY == 43) i=i+1 if (MOUSE_KEY == 45) i=(i>1?i-1:1) print MOUSE_KEY reread plot.plt: plot '< tail +$1 $0 | head -$2' with linespoints start with loading 'main.plt' and use the '+' or '-' key when the mouse pointer is in the plot window. babelproofreader wrote: > > I am plotting a multi-plot plot which has 3 separate plots on the screen > and which is called thus, using the head/tail syntax > > call 'all_plots' $gc 150 5000 11 1 > > which plots 150 points of the file, ending at line 5000 (and where 11 and > 1 indicate which columns of the file to plot via if/else statements). At > the moment to scroll through the file I am manually changing the line > ending input (e.g. 5000) but this is laborious. Is there some way I can > rewrite the script so that I can scroll by, for example, hitting a > designated key such as the space bar, to scroll through one line at a > time? > -- View this message in context: http://old.nabble.com/Multiplot-horizontal-scrolling-tp32412377p32414781.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: babelproofreader <bab...@gm...> - 2011-09-06 23:50:58
|
I am plotting a multi-plot plot which has 3 separate plots on the screen and which is called thus, using the head/tail syntax call 'all_plots' $gc 150 5000 11 1 which plots 150 points of the file, ending at line 5000 (and where 11 and 1 indicate which columns of the file to plot via if/else statements). At the moment to scroll through the file I am manually changing the line ending input (e.g. 5000) but this is laborious. Is there some way I can rewrite the script so that I can scroll by, for example, hitting a designated key such as the space bar, to scroll through one line at a time? -- View this message in context: http://old.nabble.com/Multiplot-horizontal-scrolling-tp32412377p32412377.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-09-06 13:24:04
|
set the same 'xrange' and 'yrange' for all plots. position the keys for each plot individually with set key at ... Marian0 wrote: > > I have a problem with multiplot option..... > > I plot a set of points and then multiples lines but i have the following > disgusting result: > > http://old.nabble.com/file/p32405103/verga.png > http://imageshack.us/photo/my-images/580/verga.png/ > > > Do you know how cai i fix that? > > Best Regards > > John > > > -- View this message in context: http://old.nabble.com/Plot-two-or-more-functions-tp32398456p32407968.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-09-05 15:01:37
|
either plot the function first: plot sin(x) replot "-" 2 2 1 -1 ... e or use 'multiplot': reset set multiplot set xrange [] writeback set yrange [] writeback plot '-' 2 2 1 -1 ... e set xrange restore set yrange restore plot sin(x) unset multiplot Marian0 wrote: > > I know you can do that. > > But i need to add the graphic in another plot call (not calling each by > comma), it is possible? > > Regards > -- View this message in context: http://old.nabble.com/Plot-two-or-more-functions-tp32398456p32401754.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-09-05 10:42:49
|
plot "-", sin(x)<enter> 2 2 1 -1 ... e Marian0 wrote: > > Hi all. > > I have searched a lot about this topic but i couldn't find anything. Are > there any way to plot to functions in the same plot....? I want to draw > for example a set of points and then plot a function over them... > > plot "-" <enter> > 2 2 > 1 -1 > ... > e > > plot sin(x) > > if I do this, the set of points disappear and only the function appears. I > want to keep both plotted. > > Regards > > John > -- View this message in context: http://old.nabble.com/Plot-two-or-more-functions-tp32398456p32400139.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |