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: Tatsuro M. <tma...@ya...> - 2011-08-24 22:28:16
|
Hello
If you use gnuplot 4.4, use gnuplot instead of pgnuplot.
The gnuplot.exe is console program so that it can be treated the same as that in the linux. The pgnuplot is only for backward compatibility in gnuplot 4.4. distribution.
Regards
Tatsuro
--- On Thu, 2011/8/25, Mathias Anselmann <mat...@li...> wrote:
> Hello,
> I have a problem with a program that runs just fine under linux but has some issues when compiling it with mingw under windows. Here is an exctract of the part which does not work as expected:
>
> //create pipe for accessing gnuplot
> FILE *pipe = popen("pgnuplot -persist","w");
>
> //adjust settings
> fprintf(pipe, "set palette gray negative\n");
>
> //plot
> fprintf(pipe, "plot 'fileX.txt' matrix with image\n");
> fflush(pipe);
>
> //close gnuplot pipe
> pclose(pipe);
>
> Under Linux I have the same code, except that I use "gnuplot" there instead of "pgnuplot". If I run this program under Windows I get two situations:
>
> a) I get the error:
>
> Timeout: gnuplot is not ready
>
> Then the "graphical" gnuplot main window (haven't seen this on Linux) opens, shows just "gnuplot>" an that's it.
>
> b) Sometimes it shows no error and the main window opens and I see that the commands which I want to execute via c++ are calles and I see the plot.
>
> Does anybody know a solution for this problem? (The best case woult be if I would just see the "plot window" like under linux, I don't want to see the "main window" (you get it if you call wgnuplot.exe under windows).
> Cheers,
> Mathias
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Mathias A. <mat...@li...> - 2011-08-24 20:46:23
|
Hello,
I have a problem with a program that runs just fine under linux but has some issues when compiling it with mingw under windows. Here is an exctract of the part which does not work as expected:
//create pipe for accessing gnuplot
FILE *pipe = popen("pgnuplot -persist","w");
//adjust settings
fprintf(pipe, "set palette gray negative\n");
//plot
fprintf(pipe, "plot 'fileX.txt' matrix with image\n");
fflush(pipe);
//close gnuplot pipe
pclose(pipe);
Under Linux I have the same code, except that I use "gnuplot" there instead of "pgnuplot". If I run this program under Windows I get two situations:
a) I get the error:
Timeout: gnuplot is not ready
Then the "graphical" gnuplot main window (haven't seen this on Linux) opens, shows just "gnuplot>" an that's it.
b) Sometimes it shows no error and the main window opens and I see that the commands which I want to execute via c++ are calles and I see the plot.
Does anybody know a solution for this problem? (The best case woult be if I would just see the "plot window" like under linux, I don't want to see the "main window" (you get it if you call wgnuplot.exe under windows).
Cheers,
Mathias
|
|
From: Thomas S. <t.s...@fz...> - 2011-08-24 19:14:36
|
meanwhile i improved my script adding monthnames at the
x-axis and horizontal lines. here it is:
reset
set macros
# number of months
m=12
# although x-data are dates, we do the conversion into
# 'seconds since the beginning of the epoch' by our own,
# so we *don't* set xdata
#set xdata time
# but 'timefmt' we need for using 'timecolumn()'
set timefmt "%Y-%m-%d"
set table
# number of entries per month (i.e. number of years)
n=0
# dummy plot to determine the value of 'n'
plot for [i=0:m-1] "datafilename" \
using ($0>n?n=$0:0 , $0):2 every m::i
print n
# calculate the averages of y-values belonging together and
# generate the horizontal lines
do for [i=0:m-1] {
sum=0
plot "datafilename" using 0:(sum=sum+$2 , $2) every m::i
av=sum/n
x=i*(n+1)
set arrow i+1 from x,av to x+n,av nohead lt 1 lc rgb "black"
}
unset table
# generate the xtics
mn="JanFebMarAprMayJunJulAugSepOctNovDec"
temp="set xtics ("
do for [i=0:m-1] {
if (i>0) {temp=temp.","}
# temp=temp.sprintf("\"%d\" %d",i+1,int(n/2)+i*(n+1))
temp=temp.sprintf("\"%s\" %d",substr(mn,3*i+1,3*i+3),n/2+i*(n+1))
}
temp=temp.")"
@temp
# and now the final plot
plot for [i=0:m-1] "datafilename" \
using (tm_mon(timecolumn(1))+$0+i*n):2 \
every m::i \
with linespoints \
lt 7 lc rgb "black"
DavidH56 wrote:
>
> Thomas,
>
> Thank you, your code worked great, it's exactly what I needed. I've been
> struggling with this problem for a while.
>
> I changed the timefmt in my script to "%m-%d-%Y" to match my data and I
> used set nokey to turn off the legend.
>
> The only minor problem I have is with the x axis. The x axis values run
> from 0 to 80 in increments of 10 units. The first plot, which is all of
> the January values, is flush left with an x value of zero, and the x
> values get out of kilter with December falling at approximately 70.
>
> Any thoughts?
>
> Thanks again,
>
> David
>
>
>
> Thomas Sefzick wrote:
>>
>> assuming that your data have the following format
>>
>> ...
>> 2014-01-01 169
>> 2014-02-01 170
>> 2014-03-01 171
>> 2014-04-01 172
>> ...
>>
>> and that there are no gaps in the data and that there is one value
>> per month in every year, the following script may serve as an example
>> how such a cycle plot may be produced:
>>
>> reset
>>
>> # number of entries per month (i.e. number of years)
>> n=0
>> # number of months
>> m=12
>>
>> # although x-data are dates, we do the conversion into
>> # 'seconds since the beginning of the epoch' by our own,
>> # so we *don't* set xdata
>> #set xdata time
>> # but 'timefmt' we need for using 'timecolumn()'
>> set timefmt "%Y-%m-%d"
>>
>> # dummy plot to determine the value of 'n'
>> set table
>> plot for [i=0:m-1] "datafilename" \
>> using ($0>n?n=$0:0 , $0):2 every 12::i
>> unset table
>> print n
>>
>> plot for [i=0:m-1] "datafilename" \
>> using (tm_mon(timecolumn(1))+$0+i*n):2 \
>> every m::i \
>> with linespoints
>>
>>
>>
>> DavidH56 wrote:
>>>
>>> Cycle plots are useful in my work, and I'd like to know if it possible
>>> to create cycle plots in gnuplot.
>>>
>>> Naomi Robbins discusses cycle plots in her book Creating More Effective
>>> Graphs as well as in this article:
>>>
>>> http://www.perceptualedge.com/articles/guests/intro_to_cycle_plots.pdf
>>>
>>> Cycle plots can be generated in R using the "monthplot" command. If
>>> cycle plots can't be created in gnuplot, is there a way to make a
>>> feature request?
>>>
>>> Thanks,
>>>
>>> David
>>>
>>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Can-gnuplot-create-cycle-plots-%28also-called-month-plots%29--tp32276901p32329039.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Jon <dev...@gm...> - 2011-08-24 14:56:22
|
Thanks, Tatsuro, very interesting. I think it must work.
I did have figured out something using awk, but obviously it is much more
cumbersome
set macro
s1 = -10
s2 = 10
vv1=" ($1<"
vv2=") || ($1>"
vv3=") { print $1, $3 } ' fort.47"
ss = vv1.s1.vv2.s2.vv3
tt='plot "'.vv.ss.'"'.' u 1:2 w l'
@tt
Sincerely,
Jon
On Tue, Aug 23, 2011 at 11:53 PM, Tatsuro MATSUOKA
<tma...@ya...>wrote:
> Hello
>
> What you want to do may be done without awk.
>
> plot 'fort.47' using \
> ( ($1<s1) || ($1>s2) ? ($1) :1/0 ):($3)
>
> Note that I do not confirm the above.
> Regards
>
> Tatsuro
>
> --- On Wed, 2011/8/24, Jon wrote:
>
> > Dear All,
> >
> > I need to do something like this, use awk to filter out data within a
> > specific range whose limit is externally defined, say something like the
> > following,
> >
> > plot "< awk ' ($1<s1) || ($1>s2) { print $1, $3 } ' fort.47" u 1:2 w l
> >
> > here s1, s2 are variables defined in gnuplot to specify lower and upper
> > limit.
> >
> > The above does not work, as I think awk does not recognize s1 and s2
> defined
> > within gnuplot, how can I possibly fix it? Thanks,
> >
> > Sincerely,
> > Jon
> >
> ------------------------------------------------------------------------------
> > EMC VNX: the world's simplest storage, starting under $10K
> > The only unified storage solution that offers unified management
> > Up to 160% more powerful than alternatives and 25% more efficient.
> > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> > _______________________________________________
> > gnuplot-info mailing list
> > gnu...@li...
> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >
>
|
|
From: Tatsuro M. <tma...@ya...> - 2011-08-24 04:53:26
|
Hello
What you want to do may be done without awk.
plot 'fort.47' using \
( ($1<s1) || ($1>s2) ? ($1) :1/0 ):($3)
Note that I do not confirm the above.
Regards
Tatsuro
--- On Wed, 2011/8/24, Jon wrote:
> Dear All,
>
> I need to do something like this, use awk to filter out data within a
> specific range whose limit is externally defined, say something like the
> following,
>
> plot "< awk ' ($1<s1) || ($1>s2) { print $1, $3 } ' fort.47" u 1:2 w l
>
> here s1, s2 are variables defined in gnuplot to specify lower and upper
> limit.
>
> The above does not work, as I think awk does not recognize s1 and s2 defined
> within gnuplot, how can I possibly fix it? Thanks,
>
> Sincerely,
> Jon
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Jon <dev...@gm...> - 2011-08-23 23:55:21
|
Dear All,
I need to do something like this, use awk to filter out data within a
specific range whose limit is externally defined, say something like the
following,
plot "< awk ' ($1<s1) || ($1>s2) { print $1, $3 } ' fort.47" u 1:2 w l
here s1, s2 are variables defined in gnuplot to specify lower and upper
limit.
The above does not work, as I think awk does not recognize s1 and s2 defined
within gnuplot, how can I possibly fix it? Thanks,
Sincerely,
Jon
|
|
From: Thomas S. <t.s...@fz...> - 2011-08-23 19:54:19
|
so 'x11' isn't compiled into the binary you are using. but there should be the 'wxt' terminal as a replacement, see http://www.gnuplot.info/announce.4.4.3 if not, you should compile gnuplot from the sources. kkrman wrote: > > right, but x11 isn't one of the options. how come? i'm using ubuntu 10.04. > i should be able to open an x window that contains the plot. > > > Thomas Sefzick wrote: >> >> the complete error message is >> "unknown or ambiguous terminal type; type just 'set terminal' for a list" >> >> set terminal >> should give you the list of terminals you may use. >> >> >> kkrman wrote: >>> >>> >>> It says terminal type "unknown". When I try "set terminal x11" it says >>> "unknown or ambiguous terminal". How do i fix that? >>> >>> Thanks >>> >>> >>> Thomas Sefzick wrote: >>>> >>>> which terminal are you using? >>>> >>>> when starting gnuplot some information is displayed, what's >>>> written in the last line? >>>> there should something like >>>> Terminal type set to ... >>>> >>>> or if you type >>>> show terminal >>>> at gnuplots command prompt, what's the answer? >>>> >>>> >>>> kkrman wrote: >>>>> >>>>> I installed gnuplot-4.4.3 (unpacked binaries) on ubuntu 10.04, and >>>>> when I try to run a command as simple as "plot x", nothing happens >>>>> (i.e. no window pops up.) >>>>> >>>>> probably i'm missing something basic. can someone help me? >>>>> >>>>> Thanks >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/no-X-window-w--Ubuntu-10.04--tp32307850p32321725.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-08-22 20:44:30
|
the complete error message is "unknown or ambiguous terminal type; type just 'set terminal' for a list" set terminal should give you the list of terminals you may use. kkrman wrote: > > > It says terminal type "unknown". When I try "set terminal x11" it says > "unknown or ambiguous terminal". How do i fix that? > > Thanks > > > Thomas Sefzick wrote: >> >> which terminal are you using? >> >> when starting gnuplot some information is displayed, what's >> written in the last line? >> there should something like >> Terminal type set to ... >> >> or if you type >> show terminal >> at gnuplots command prompt, what's the answer? >> >> >> kkrman wrote: >>> >>> I installed gnuplot-4.4.3 (unpacked binaries) on ubuntu 10.04, and when >>> I try to run a command as simple as "plot x", nothing happens (i.e. no >>> window pops up.) >>> >>> probably i'm missing something basic. can someone help me? >>> >>> Thanks >>> >> >> > > -- View this message in context: http://old.nabble.com/no-X-window-w--Ubuntu-10.04--tp32307850p32314299.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: janjust <tja...@un...> - 2011-08-22 17:57:12
|
Hi all, I'm trying to figure out how (if possible) I can do the following with Gnuplot. Say I have a set of x (where x<10) events. 1 timestamp for each event finish. I'd like to see if I can plot the events as a timeline from ,0->end, for two different process runs, with the intention of comparing the overlap between events. Here an asci example 0------>ev1----->ev2----->ev3---->ev1-->ev2->ev3----------->ev1--->ev2 1-->ev1----->ev2---->ev2---->ev1--------->ev3----->ev1------------>ev2 Something like that, if that makes sense. I have the specific timing information in CPU cycles when each event finishes. I thought of using histograms to see the overlap for each event on a single process, Thus two histograms per data set but perhaps some of you have a better solution to this problem. Many thanks! -- View this message in context: http://old.nabble.com/gnuplot-events-and-timeline-tp32282168p32282168.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-08-22 13:46:20
|
which terminal are you using? when starting gnuplot some information is displayed, what's written in the last line? there should something like Terminal type set to ... or if you type show terminal at gnuplots command prompt, what's the answer? kkrman wrote: > > I installed gnuplot-4.4.3 (unpacked binaries) on ubuntu 10.04, and when I > try to run a command as simple as "plot x", nothing happens (i.e. no > window pops up.) > > probably i'm missing something basic. can someone help me? > > Thanks > -- View this message in context: http://old.nabble.com/no-X-window-w--Ubuntu-10.04--tp32307850p32311264.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-08-21 11:18:08
|
labels are strings, not numbers. the result of your calculation must be
a string:
plot 'datafile.txt' u 6:7:(sprintf("%f",-2.*$10)) index 1 w labels
andreas oertel wrote:
>
> Hi,
>
> i am using GNUPLOT 4.5 under WinXP with the WXT terminal.
>
> I have got files with data organized in columns divided in several blocks
> and want to plot the data values or calculations with them into the graph.
> Lets say col 6 of the file contains X coordinates, col 7 the Y and col 10
> the data values.
>
> I start to plot the data as label into the graph: plot 'datafile.txt' u
> 6:7:10 index 1 w labels -> works well.
>
> Then i try to perform easy math on my data values: for example
>
> plot 'datafile.txt' u 6:7:(-2.0*$10) index1 w labels
> -> unfortunatly plot just returns the original data values, not the
> multiplication result.
>
> second try:
>
> f(x)=-2.0*x
> plot 'datafile.txt' u 6:7:(f($10)) index 1 w labels
> -> same as above.
>
> On the other hand: plot 'datafile.txt' u ($6+1):($7+1):10 index 1 w labels
> -> shifts the coordinates as expected.
>
> So how to perfom math operation on the third entry of the plot using
> clause or how to print values from calculations to the corresponding
> coordinates??
>
> Thank you in advance,
> Andreas
>
>
--
View this message in context: http://old.nabble.com/plot-using-6%3A7%3A%28%2410%29%2C-how-to-perform-math-on-the-third-entry---tp32298134p32305104.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2011-08-19 20:15:27
|
Fabio Andrijauskas <biozit.listas <at> gmail.com> writes: > Hello all, > > I am Trying to print labels in my graph but the are not showing. I am > using the gnuplot 4.4 patchlevel 0 on Fedora 14, the script: > > ... > set xrange [5000:8000] nowriteback > ... > set label 100 "laabel" at 1, 1 > ... your xrange starts at 5000, but your label is positioned at x=1, so it's out of the plot area. |
|
From: Mathias A. <mat...@li...> - 2011-08-19 20:07:55
|
Hello! indeed that helped me very much, I could also solve the other problem, with "set yrange [0:400] reverse" the plot is mirrored so that the matrix look correct. Thanks for your help, Mathias |
|
From: Thomas S. <t.s...@fz...> - 2011-08-19 20:05:49
|
Mathias Anselmann <mathias.anselmann <at> linux.com> writes: > > Hello everybody, > I have a little issue with plotting an "Matrix_ascii"(gnuplot 4.4 patchlevel 3) - the thing is on my plot, > which you can see here > http://imageshack.us/photo/my-images/8/matrixplot.png/ > and which should show this matrix > http://pastebin.com/KMUtXWVN > I have just done: > > set palette grey > plot "myMatrix.txt" matrix with image > > Unfortunately the matrix is plotted upside down and the small numbers (0.9) are dark whereas the bigger > number (1) is plotted white. > Can anybody give me advice how to correct this, so that the matrix is plotted correctly with bigger numbers > beig darker than smaller numbers? > Thanks in advance, > Mathias set palette grey negative set yrange [] reverse plot "myMatrix.txt" matrix with image |
|
From: <v_...@uk...> - 2011-08-19 19:25:12
|
Hello!
On Fri, 19 Aug 2011 17:30:12 +0200
Mathias Anselmann <mat...@li...> wrote:
> ... the small numbers (0.9) are dark whereas the bigger number (1) is
> plotted white. Can anybody give me advice how to correct this, so
> that the matrix is plotted correctly with bigger numbers beig darker
> than smaller numbers? Thanks in advance, Mathias
To fix the palette colours you can thry this:
set palette grey negative
I hope this helps.
Regards,
Vladimir
-----
<v_...@uk...>
|
|
From: Fabio A. <bio...@gm...> - 2011-08-19 16:19:20
|
Hello all, I am Trying to print labels in my graph but the are not showing. I am using the gnuplot 4.4 patchlevel 0 on Fedora 14, the script: set terminal png nocrop enhanced size 1700,680 set output 'result.png' set title "16682 Estrelas em volta da Proxima Centauri ( 200 º )" set xlabel "Temperatura Kelvin" set ylabel "EStrela Menor <- Magnitude absoluta -> Estrela Maior" set xrange [5000:8000] nowriteback set yrange [-1:10] reverse nowriteback set grid set key box set label 100 "laabel" at 1, 1 plot 0 #plot 'dados/1proc.csv' with points pointsize 0.3 lt 3 title "Estrelas" What i am doing wrong ? Thanks -- Fabio Andrijauskas http://www.marvinproject.org http://fabio.andrijauskas.com.br/ Céus limpos...... |
|
From: Mathias A. <mat...@li...> - 2011-08-19 15:31:06
|
Hello everybody, I have a little issue with plotting an "Matrix_ascii"(gnuplot 4.4 patchlevel 3) - the thing is on my plot, which you can see here http://imageshack.us/photo/my-images/8/matrixplot.png/ and which should show this matrix http://pastebin.com/KMUtXWVN I have just done: set palette grey plot "myMatrix.txt" matrix with image Unfortunately the matrix is plotted upside down and the small numbers (0.9) are dark whereas the bigger number (1) is plotted white. Can anybody give me advice how to correct this, so that the matrix is plotted correctly with bigger numbers beig darker than smaller numbers? Thanks in advance, Mathias |
|
From: Thomas S. <t.s...@fz...> - 2011-08-18 14:15:51
|
assuming that your data have the following format ... 2014-01-01 169 2014-02-01 170 2014-03-01 171 2014-04-01 172 ... and that there are no gaps in the data and that there is one value per month in every year, the following script may serve as an example how such a cycle plot may be produced: reset # number of entries per month (i.e. number of years) n=0 # number of months m=12 # although x-data are dates, we do the conversion into # 'seconds since the beginning of the epoch' by our own, # so we *don't* set xdata #set xdata time # but 'timefmt' we need for using 'timecolumn()' set timefmt "%Y-%m-%d" # dummy plot to determine the value of 'n' set table plot for [i=0:m-1] "datafilename" \ using ($0>n?n=$0:0 , $0):2 every 12::i unset table print n plot for [i=0:m-1] "datafilename" \ using (tm_mon(timecolumn(1))+$0+i*n):2 \ every m::i \ with linespoints DavidH56 wrote: > > Cycle plots are useful in my work, and I'd like to know if it possible to > create cycle plots in gnuplot. > > Naomi Robbins discusses cycle plots in her book Creating More Effective > Graphs as well as in this article: > > http://www.perceptualedge.com/articles/guests/intro_to_cycle_plots.pdf > > Cycle plots can be generated in R using the "monthplot" command. If cycle > plots can't be created in gnuplot, is there a way to make a feature > request? > > Thanks, > > David > > -- View this message in context: http://old.nabble.com/Can-gnuplot-create-cycle-plots-%28also-called-month-plots%29--tp32276901p32287405.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-08-18 11:39:00
|
which gnuplot version are you using? 4.0.? Vintovka wrote: > > I am trying to plot a percent distribution over time from a text file. > > The first column of data in the file is date, and the sixth column is a > percentage. I would like the area above the line to be green, and the > area below to be brown. I'm getting errors that variable "above" is > undefined. > > My code is below. What am I doing wrong? > > # GPLOT.PL pseudo commands for GNUPLOT > ## IF TYPE eq ps set terminal postscript landscape color > ## IF TYPE eq eps set terminal postscript eps color > set terminal png xFFFFDD size 1280,800 > > ## IF TYPE eq png set terminal png > ## IF TYPE eq pbm set terminal pbm > set output "percent.png" > set xlabel "Date" > set ylabel "Percent" > set multiplot > set autoscale > set data style lines > set border 3 > set yrange [0:100] > set xtics border nomirror rotate > set ytics border nomirror > set origin 0.0,0.0 > set title "PERCENT OVER TIME" > set xdata time > set timefmt "%m/%d/%Y" > set format x "%m/%d/%Y" > set style fill solid 1.0 noborder > plot "data.rpt" u 1:5 w filledcurves above title 'Above', \ > "data.rpt" u 1:5 w filledcurves below title 'Below', > > Thanks! > -- View this message in context: http://old.nabble.com/Help-Plotting-Percentages-Over-Time-tp32281362p32286665.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2011-08-16 15:24:01
|
Saurabh T <saurabh <at> hotmail.com> writes: > > I have a simple n-column data file, but instead of plotting ($1):($2) etc, I want to plot ($1):($2/x) where x > is the data point in the first row of column 2. Similarly for $3, $4 and so on - in different plots. Thus > basically I want to be able to scale column data by the first item in the column. (I do understand and expect > that the first data point will always show up as 1 in the plot). > > Is this possible with gnuplot or do I have to preprocess my data file to achieve this? > > Thank you. store the 1st value in the column into the variable 'x' when reading the 1st row ('$0==0'): plot 'datafilename' using 1:($0==0?x=$2:0 , $2/x) |
|
From: Saurabh T <sa...@ho...> - 2011-08-16 14:32:02
|
I have a simple n-column data file, but instead of plotting ($1):($2) etc, I want to plot ($1):($2/x) where x is the data point in the first row of column 2. Similarly for $3, $4 and so on - in different plots. Thus basically I want to be able to scale column data by the first item in the column. (I do understand and expect that the first data point will always show up as 1 in the plot). Is this possible with gnuplot or do I have to preprocess my data file to achieve this? Thank you. |
|
From: jody <jod...@gm...> - 2011-08-16 13:10:51
|
Thank You for the suggerstion - it works well, drawing colored little crosses. In case somebody is interested: draw large filled colored circles i had to do: plot 'arrklo_land_ph' with points pointsize 4 pointtype 7 palette Thank You Jody On Tue, Aug 16, 2011 at 3:01 PM, <v_...@uk...> wrote: > Hello! > > On Tue, 16 Aug 2011 13:40:13 +0200 > jody <jod...@gm...> wrote: > >> Hi >> I have a file which has a z-value for some sparse (x,y) values. >> I would like to have a plot where the z value translates to a color >> (and is not interpreted as a z coordinate as in splot) >> >> How can i do this? >> > Try something like this: > > plot "datafile.txt" lt palette > > > Regards, > Vladimir > > ----- > <v_...@uk...> > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: <v_...@uk...> - 2011-08-16 12:59:32
|
Hello!
On Tue, 16 Aug 2011 13:40:13 +0200
jody <jod...@gm...> wrote:
> Hi
> I have a file which has a z-value for some sparse (x,y) values.
> I would like to have a plot where the z value translates to a color
> (and is not interpreted as a z coordinate as in splot)
>
> How can i do this?
>
Try something like this:
plot "datafile.txt" lt palette
Regards,
Vladimir
-----
<v_...@uk...>
|
|
From: jody <jod...@gm...> - 2011-08-16 11:40:20
|
Hi I have a file which has a z-value for some sparse (x,y) values. I would like to have a plot where the z value translates to a color (and is not interpreted as a z coordinate as in splot) How can i do this? Thank You jody |
|
From: Thomas S. <t.s...@fz...> - 2011-08-15 18:54:15
|
Mikhail Kononets <mkononets <at> gmail.com> writes: > > Hi guys. > > i would like to have something like this in my plot title (or in my > cblabel definition): > > set title "A nice plot title. positive values <-[typed in red color] > mean this, negative values <-[typed in blue color] mean that." > > blue and read are margins of color palette of a pm3d surface plot. > > is it possible somehow ? > > Misha. if you compose the title using several labels, yes: set title "A nice plot title.\n\n" set label 1 "positive values " at graph 0.5,screen 0.93 right \ textcolor rgb "red" set label 2 "mean this" at graph 0.5,screen 0.93 left set label 3 "negative values " at graph 0.5,screen 0.90 right \ textcolor rgb "blue" set label 4 "mean that" at graph 0.5,screen 0.90 left |