You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
|
|
From: Thomas S. <t.s...@fz...> - 2013-11-30 19:11:47
|
Vesnog <ongunarisev <at> gmail.com> writes: > > My purpose is to plot x vs. summed y values over a certain x interval. How > can I do so? Later I will calculate the mean, variance and median of the > data from this plot. I think it should be possible in Gnuplot someway. Any > help and suggestion is welcome and appreciated. > > P.S: I have a RNG and the random numbers generated are given as an argument > to Gaussian PDF, my aim is to find the mean, variance and median from this > accumulated data. > an example: we use a simple random generator producing something like a normal distribution and write the numbers to a file: gnuplot> set print 'ts.dat' gnuplot> do for [i=0:10000] {print (rand(0)*2.-1.)+(rand(0)*2.-1.)+(rand(0)*2.-1.)} gnuplot> unset print we may plot the density function of these numbers by binning the data and using the 'smooth frequency' option of the plot command (to give all numbers the same weight we set the y-value to 1.): gnuplot> binwidth=0.05 gnuplot> round(x) = floor(x + 0.5) gnuplot> plot 'ts.dat' using (round($1/binwidth)*binwidth):(1.) smooth frequency with linespoints we now have a nice distribution in our plot canvas but to use these data points we need to write them into a file: gnuplot> set table 'ts.tab' gnuplot> replot gnuplot> unset table this file we use for plotting the distribution: gnuplot> plot 'ts.tab' with linespoints or for fitting a gaussian function to it: gnuplot> gauss(x,a,x0,sigma)=a/(sigma*sqrt(2.*pi))*exp(-(x-x0)**2/(2.*sigma**2)) gnuplot> fit gauss(x,a,x0,sigma) 'ts.tab' via a, x0, sigma gnuplot> plot 'ts.tab' with linespoints, gauss(x,a,x0,sigma) that's all. |
|
From: Vesnog <ong...@gm...> - 2013-11-30 17:28:16
|
Greetings, My purpose is to plot x vs. summed y values over a certain x interval. How can I do so? Later I will calculate the mean, variance and median of the data from this plot. I think it should be possible in Gnuplot someway. Any help and suggestion is welcome and appreciated. P.S: I have a RNG and the random numbers generated are given as an argument to Gaussian PDF, my aim is to find the mean, variance and median from this accumulated data. -- View this message in context: http://gnuplot.10905.n7.nabble.com/Gnuplot-Summed-y-Values-over-an-Interval-tp17855.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: sfeam <eam...@gm...> - 2013-11-23 01:41:22
|
On Friday, November 22, 2013 11:00:50 PM Pu Ke wrote:
> Hi all,
> I would like to remove the polar axis(that bold horizontal
> line), but do not know how to do it. I recently update the version from
> 4.4 to 4.6, it seems the polar axis is a new feature. Do I need to fall
> back to earlier version?
unset raxis
> I am sorry for the naive question, I am new to gnuplot. Thank you !
>
>
> <http://cncs.bnu.edu.cn/>
> ----------------------------------------------------------------------------
> -- Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Pu Ke <kd...@gm...> - 2013-11-22 15:01:10
|
Hi all,
I would like to remove the polar axis(that bold horizontal
line), but do not know how to do it. I recently update the version from
4.4 to 4.6, it seems the polar axis is a new feature. Do I need to fall
back to earlier version?
I am sorry for the naive question, I am new to gnuplot. Thank you !
<http://cncs.bnu.edu.cn/>
|
|
From: Craig D. <def...@bo...> - 2013-11-19 20:51:11
|
On Nov 19, 2013, at 1:48 PM, Hans-Bernhard Bröker <HBB...@t-...> wrote: > On 19.11.2013 21:26, Craig DeForest wrote: > >> That doesn't actually answer my question. > > It answered the question you asked. Not my fault if that wasn't the question actually wanted to ask. > >> Sure, the two styles of calling produce different internal state -- but do they ever produce different plot output? > > That depends entirely on what your _next_ plot command looks like. > Oh, please. Okay, I'll try again: Sure, the two styles of calling produce different internal state -- but do they ever produce different plot output for the current plot (disregarding any additional commands sent later)? |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-11-19 20:48:42
|
On 19.11.2013 21:26, Craig DeForest wrote: > That doesn't actually answer my question. It answered the question you asked. Not my fault if that wasn't the question actually wanted to ask. > Sure, the two styles of calling produce different internal state -- but do they ever produce different plot output? That depends entirely on what your _next_ plot command looks like. |
|
From: Craig D. <def...@bo...> - 2013-11-19 20:26:46
|
On Nov 19, 2013, at 1:23 PM, Hans-Bernhard Bröker <HBB...@t-...> wrote: > On 19.11.2013 19:48, Craig DeForest wrote: > >> Is there a functional difference between these two cases? >> >> set xrange [0:10] >> plot '-' using 1 notitle with lines >> >> and >> >> plot [0:10] '-' using 1 notitle with lines > > Yes. Just "show xrange" after each of those to see for yourself. > > To answer such questions, you can always "save" the state of gnuplot to a file after such a command in a fresh, interactive session, and compare the resulting files. > That doesn't actually answer my question. Sure, the two styles of calling produce different internal state -- but do they ever produce different plot output? |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-11-19 20:23:56
|
On 19.11.2013 19:48, Craig DeForest wrote: > Is there a functional difference between these two cases? > > set xrange [0:10] > plot '-' using 1 notitle with lines > > and > > plot [0:10] '-' using 1 notitle with lines Yes. Just "show xrange" after each of those to see for yourself. To answer such questions, you can always "save" the state of gnuplot to a file after such a command in a fresh, interactive session, and compare the resulting files. |
|
From: Craig D. <def...@bo...> - 2013-11-19 18:49:06
|
Is there a functional difference between these two cases? set xrange [0:10] plot '-' using 1 notitle with lines and plot [0:10] '-' using 1 notitle with lines More generally, is there ever a reason one would want to use one vs. the other? Currently the Perl module PDL::Graphics::Gnuplot supports syntax to generate either of those case, but it would simplify the syntax and the API if we didn't have to keep both of those cases. |
|
From: Bo J. <li...@f7...> - 2013-11-17 21:07:51
|
Hi all, I would like some advise to how to structure data in the best way. I need to make plots containing spectra as function of temperature (as the one shown on : http://glass.ruc.dk/data/data/J_Chem_Phys_139_101101_data/126HT/126HT.png ) I have all data in Matlab and normally makes specialized output files for the final print quality plotting in gnuplot. However, how do I structure this kind of data? I would like if the plotting script automatically loop over the spectra (the number of spectra could be written to a file if needed) and for each spectrum * The line style should change (in a controlled manner) * The title/legend should automatically be read and added. * On some plots labels should be added, which should also be read from a file. An alternative would be to make Matlab output the plot lines, and in this way performing the loop. Best Bo |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-11-10 22:41:15
|
On 08.11.2013 23:45, Ethan Merritt wrote:
> 3 possibilities:
>
> # automatic, but may not place it where you want
> set timestamp
The location can be changed, though. See "help set timestamp".
> # create a label wherever you like
> # see "help timefmt" for available format options
> set label N at x, y strftime(time("%d/%m/%Y",0))
>
> # same idea but use the output of a shell command
> set label N at x, y system("date")
But note that the latter two are not dynamic, i.e. the command has to be
run again before every plot to make sure you have the correct timestamp,
particularly if you have not just the date, but also the time in there.
|
|
From: Ethan M. <eam...@gm...> - 2013-11-08 23:01:22
|
Another variant:
set label N at x,y time("Created on %d-%m-%Y")
On Fri, Nov 8, 2013 at 2:51 PM, Theo <th...@gm...> wrote:
> you are looking for something like
>
> set label 1 "Created on\r\n".strftime("%d.%m.%Y\r\n%H:%M:%S",time(0)) at
> screen 0.8,0.2
>
> Check help and/or the pdf documentation about more details of time
> format, labels, coordinates etc.
>
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Theo <th...@gm...> - 2013-11-08 22:51:31
|
you are looking for something like
set label 1 "Created on\r\n".strftime("%d.%m.%Y\r\n%H:%M:%S",time(0)) at
screen 0.8,0.2
Check help and/or the pdf documentation about more details of time
format, labels, coordinates etc.
|
|
From: Ethan M. <eam...@gm...> - 2013-11-08 22:45:22
|
3 possibilities:
# automatic, but may not place it where you want
set timestamp
# create a label wherever you like
# see "help timefmt" for available format options
set label N at x, y strftime(time("%d/%m/%Y",0))
# same idea but use the output of a shell command
set label N at x, y system("date")
On Fri, Nov 8, 2013 at 2:34 PM, ge...@ri... <ge...@ri...> wrote:
> Hi all,
>
> I'm a quite new gnuplot user, and so far I'm really impressed and it
> works quite well.
>
> I would like to include a string like "created on date & time" into my
> plots. I've searched for a possibility to achieve this in the internet
> and the documentation, but without success so far, maybe I've used the
> wrong search termes. (Sorry if this sounds maybe like a dumb
> question...)
>
> Could anybody advise please?
>
> Thanks,
> Georg
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: <ge...@ri...> - 2013-11-08 22:34:46
|
Hi all, I'm a quite new gnuplot user, and so far I'm really impressed and it works quite well. I would like to include a string like "created on date & time" into my plots. I've searched for a possibility to achieve this in the internet and the documentation, but without success so far, maybe I've used the wrong search termes. (Sorry if this sounds maybe like a dumb question...) Could anybody advise please? Thanks, Georg |
|
From: Theo <th...@gm...> - 2013-11-08 13:43:52
|
Hi Bart,
there is a solution :-)
Not very elegant but the result is important...
Basically, you are creating a few dummy plots thereby extracting the
columnheaders into string variables.
Then you create your desired plot using those variables.
Let me know whether it also works for you.
Theo.
I used the reduced data "Bart.dat":
"Dstat 0.7.2 CSV output"
"Author:","Dag Wieers <da...@wi...>",,
"Host:","maverick",,
"Cmdline:","dstat -tv --output dstat_timed.csv",,
"system","procs",,
"time","run","blk","new"
30-10 11:19:41,0.000,0.0,1.284,729153536.0
30-10 11:19:42,0.0,0.0,0.0,729186304.0
30-10 11:19:43,0.0,0.0,1.0,729186304.0
30-10 11:19:44,0.0,0.0,1.0,729194496.0
30-10 11:19:45,0.0,0.0,17.0,730214400.0
set datafile separator ","
# extract the columheaders from block 1 and point 1
# and store them in variables
# this will create some warnings which can be ignored
plot "Bart.dat" u (TitleCol2=stringcolumn(2),1):0 every ::1:1:1:1
plot "Bart.dat" u (TitleCol3=stringcolumn(3),1):0 every ::1:1:1:1
plot "Bart.dat" u (TitleCol4=stringcolumn(4),1):0 every ::1:1:1:1
set xlabel "Time"
set xdata time
set timefmt "%d-%m %H:%M:%S"
set format x "%H:%M"
set xrange [*:*]
plot "Bart.dat" u 1:2 every ::2:1 w lp t TitleCol2, \
'' u 1:3 every ::2:1 w lp t TitleCol3, \
'' u 1:4 every ::2:1 w lp t TitleCol4
|
|
From: Bart V. <Bar...@te...> - 2013-11-08 08:25:21
|
On 11/07/2013 08:39 PM, Theo wrote: > Hi Bart, > > I read again the description of 'every' carefully (which I also > recommend to you ;-). > Obviously, empty lines in data rows seperate individual data blocks. > So, if there is an empty line in your data it starts a new block. True. I was aware of that. But indeed you are right, I should've read the description of 'every' more carefully :-) > Let's use the simplified data: > > "blabla1",,, > "blabla2",,, > "blabla3",,, > "blabla4",,, > > "blabla6",,, > "date time","A","B","C" > 30-10 11:19:40,1.0,2.0,3.0 > 30-10 11:19:41,1.1,2.1,3.1 > 30-10 11:19:42,1.2,2.2,3.2 > 30-10 11:19:43,1.3,2.3,3.3 > 30-10 11:19:44,1.4,2.4,3.4 > > The command to plot this: > > plot 'Data.dat' u 1:2 every 1:1:2:1 w lp t "Title 2" # and so on... > which is equivalent to > plot 'Data.dat' u 1:2 every ::2:1 w lp t "Title 2" > > # explanation of every 1:1:2:1 > data points increment is 1 > block increment is 1 > starting point is 2 (points in each block start from 0) > starting block is 1 (blocks start from 0) > > However, I have not found a way to automatically take the columnheaders > from line 2 of block 1. > gnuplot seems to always take line 0 from block 0. Indeed. And that is exactly still my annoying problem :-) If anybody knows a way how to take the correct columnheaders, feel free to let me know! Kind regards, Bart |
|
From: Theo <th...@gm...> - 2013-11-07 23:06:36
|
As I understand and have read several times, gnuplot is not made for that. However, I'd also love to have this feature. You can try the following: Define variables for row and column c=2 # column number r=3 # row number-1 a=0 # will later contain your value plot 'Data.dat' u 1:(a=column(c),1/0) every 1:1:r:0:r:0 notitle You will get a warning and no plot. However, if you type show var the variable a contains the desired value. Maybe there is or will be a more elegant way to extract values of "cells". Good luck, Theo. |
|
From: smms <sm...@ho...> - 2013-11-07 22:25:19
|
In excel absolute cell reference means you can refer to any desired cell. For example, to refer to cell A1, one can use $a$1. Is there any equivalent way to do the same in gnuplot? Thanks. -- View this message in context: http://gnuplot.10905.n7.nabble.com/Absolute-cell-referencing-tp17819.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Theo <th...@gm...> - 2013-11-07 19:39:33
|
Hi Bart,
I read again the description of 'every' carefully (which I also
recommend to you ;-).
Obviously, empty lines in data rows seperate individual data blocks.
So, if there is an empty line in your data it starts a new block.
Let's use the simplified data:
"blabla1",,,
"blabla2",,,
"blabla3",,,
"blabla4",,,
"blabla6",,,
"date time","A","B","C"
30-10 11:19:40,1.0,2.0,3.0
30-10 11:19:41,1.1,2.1,3.1
30-10 11:19:42,1.2,2.2,3.2
30-10 11:19:43,1.3,2.3,3.3
30-10 11:19:44,1.4,2.4,3.4
The command to plot this:
plot 'Data.dat' u 1:2 every 1:1:2:1 w lp t "Title 2" # and so on...
which is equivalent to
plot 'Data.dat' u 1:2 every ::2:1 w lp t "Title 2"
# explanation of every 1:1:2:1
data points increment is 1
block increment is 1
starting point is 2 (points in each block start from 0)
starting block is 1 (blocks start from 0)
However, I have not found a way to automatically take the columnheaders
from line 2 of block 1.
gnuplot seems to always take line 0 from block 0.
|
|
From: Theo <th...@gm...> - 2013-11-06 10:17:22
|
what happens if you additionally apply the following? set datafile commentschar '"' Then it seems to work even with the empty line. However, you might have to skip the automatic columnheader() and set the title manually. Maybe there is still a way to extract the title automatically?! plot "Data.dat" u 1:2 t "Title 2" w lp, "" using 1:3 t "Title 3" w lp, "" using 1:4 t "Title 4" w lp |
|
From: Maximilian K. <Max...@fr...> - 2013-11-05 10:49:56
|
Hi Theo On 11/05/2013 10:54 AM, Theo wrote: > Hi Max, > > could it be that instead of 'unset key' you are looking for 'unset > colorbox'? Yes, that was the issue! I didn't realize this was different. Thanks a lot for your help! Max |
|
From: Theo <th...@gm...> - 2013-11-05 09:54:52
|
Hi Max, could it be that instead of 'unset key' you are looking for 'unset colorbox'? set colorbox # set margins and ranges, etc. plot 'Data.dat' u 1:2:3 with image unset colorbox # set margins and ranges, etc. plot 'Data.dat' u 1:2:3 with image You also might have to adjust the margins of one of the graphs. |
|
From: Maximilian K. <Max...@fr...> - 2013-11-05 08:30:04
|
Hi Theo, > I am not sure, whether I understand your problem. The aim I started out from is having a multiplot (two rows) and one key (of either of the plots, as they are from the same data) on the right handside spanning over the whole area. considering I have another overlay and thus an additional key, this is not necessary any more: Instead of the layout described above, I'd like to have only one of the identical key set and the key of the overlay. The problem (why I wrote to the list) is, I cannot unset any keys. > If you want a key in the second plot you should apply > > set key > > before the second plot command. True :P bad sample-code. I did this, but using data I was not able to unset any key at all (so in even in this code-snippet all keys were visible!). > If I plot e.g. sin(x) and cos(x) I get the keys as expected. > How does your data look like? Is it matrix data? the data is read in from a file: It is a map of magnetic flux values for a cylindrical geometry r z B_z R_r B_phi B_tot > Do you have a reduced data example? My reduces data-example is still over 1M, is it okay if I send it to y |
|
From: Bart V. <Bar...@te...> - 2013-11-05 08:12:15
|
On 10/30/2013 10:06 PM, Theo wrote:
> your data looks a bit distorted (return/newlines), maybe it's because of
> the mail program.
True.
> If I correct this and apply all your settings and
>
> plot 'Data.csv' u 1:4 every ::6
>
> with gnuplot 4.6.3 I do not have problems.
>
> Do you get error messages? What is actually plotted?
> Maybe try first simpler data to find out what's going wrong.
>
> Theo.
>
> Can you plot e.g. this?
>
> "blabla1"
> "blabla2"
> "blabla3"
> "blabla4"
> "blabla5"
> "blabla6"
> 30-10 11:19:40,1.0,2.0,3.0
> 30-10 11:19:41,1.1,2.1,3.1
> 30-10 11:19:42,1.2,2.2,3.2
> 30-10 11:19:43,1.3,2.3,3.3
> 30-10 11:19:44,1.4,2.4,3.4
First of all, my version of gnuplot is gnuplot 4.6 patchlevel 3.
Secondly, If I plot the following data
"blabla1"
"blabla2"
"blabla3"
"blabla4"
"blabla5"
"blabla6"
"blabla7"
30-10 11:19:40,1.0,2.0,3.0
30-10 11:19:41,1.1,2.1,3.1
30-10 11:19:42,1.2,2.2,3.2
30-10 11:19:43,1.3,2.3,3.3
30-10 11:19:44,1.4,2.4,3.4
using the script
------ cut here -----------------------------------------------
set loadpath '../data'
set datafile separator ","
set xlabel "Time"
set xdata time
set timefmt "%d-%m %H:%M:%S"
set format x "%H:%M"
plot "dstat_test.csv" u 1:2 every ::6 t columnheader(2) w lp, \
"" using 1:3 every ::6 t columnheader(3) w lp, \
"" using 1:4 every ::6 t columnheader(4) w lp
------ cut here -----------------------------------------------
then I correctly get three straight lines. If I however remove the line
"blabla5" so that the data-file looks more like a dstat data output file:
"blabla1"
"blabla2"
"blabla3"
"blabla4"
"blabla6"
"blabla7"
30-10 11:19:40,1.0,2.0,3.0
30-10 11:19:41,1.1,2.1,3.1
30-10 11:19:42,1.2,2.2,3.2
30-10 11:19:43,1.3,2.3,3.3
30-10 11:19:44,1.4,2.4,3.4
and i use the same script for plotting, then the plot is wrong and I
only see three dots plottet vertically above each other (at y-values
1.5, 2.5 and 3.5).
So the empty line is causing me trouble here... but I don't know why :-(
Any help appreciated.
Kind regards,
Bart
|