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: theozh <th...@gm...> - 2015-10-23 21:04:43
|
Help says: "Note that in multiplot mode, replot can only reproduce the most recent component plot, not the full set." So does this mean if I have numerous lengthy plot commands in a multiplot I have to type/enter/modify them all again if e.g. I want to produce output on several terminal devices? Maybe somebody knows a trick to enter/modify the plot commands only once? Thanks for any hints, Theo. |
|
From: Pankaj D. <pan...@gm...> - 2015-10-23 04:35:33
|
---------- Forwarded message ---------- From: Pankaj Dorlikar <pan...@gm...> Date: Thu, Oct 22, 2015 at 5:21 PM Subject: Regarding y axis scale conversion from seconds to HH:MM:SS To: gnu...@li... Hello, I am new to using GNUPLOT. I have a file that has data related to time instance recorded in a day where certain event occour. I want to analyse that in 10 mins duration (bin) how many occourances of that event have happened in a day (144 bins) (plotting histogram of x axis : time, y axis : frequency of the event) My data is as below i.e. HH:MM:SS secs 10:53:42 39222 11:03:32 39812 11:08:30 40110 11:08:51 40131 11:10:56 40256 11:11:10 40270 11:13:11 40391 11:14:28 40468 My proble is to mark y axis as (HH:MM:SS) insted of mentioning secs (data converted to secs for binng of 10mins). GNUPLOT version is : 4.6 on ubuntu How to do this? Please help -- Pankaj V. Dorlikar -- Pankaj V. Dorlikar |
|
From: Ethan M. <eam...@gm...> - 2015-10-22 17:40:58
|
On Thu, Oct 22, 2015 at 9:44 AM, Tait <gnu...@t4...> wrote: >> I'll try. >> >> Why the old commands were insufficient >> ====================================== >> ... >> The version 5 syntax >> ==================== >> ... > > Thanks for the explanation. Could this be copied into "help > time/date" and maybe also a note added to "help set xdata" and "help > time"? I think all the information is in the documentation in various places, but maybe it needs better indexing. gnuplot> help timedata [...] Note: For backward compatibility with earlier gnuplot versions, the command `set xdata time` will implicitly also do `set xtics time`, and `set xdata` or `unset xdata` will implicitly reset to `set xtics numeric`. However you can change this with a later call to `set xtics`. See also the syntax summaries for "help set xtics", "help geographic", "help timefmt", and so on. It is true that there is no mention of new command options in "help set xdata". |
|
From: Tait <gnu...@t4...> - 2015-10-22 16:44:54
|
> I'll try. > > Why the old commands were insufficient > ====================================== > ... > The version 5 syntax > ==================== > ... Thanks for the explanation. Could this be copied into "help time/date" and maybe also a note added to "help set xdata" and "help time"? |
|
From: Ethan A M. <eam...@gm...> - 2015-10-22 16:19:18
|
On Wednesday, 21 October 2015 10:09:57 PM Ethan A Merritt wrote: > On Wednesday, 21 October 2015 11:44:30 PM Tait wrote: > > > > --------------------------- > > > > set xdata time > > > > set timefmt "%s" > > > > > > > > plot "-" using 1:2 with lp > > > > 0 0.0 > > > > 1 0.5 > > > > 2 1.0 > > > > 3 1.5 > > > > EOF > > > > --------------------------- > > I agree there is some sort of bug with "%s". > Right now I have no idea what the issue is, but since the same > behaviour is observed in version 4.6.4 it is a bug that has > been around for at least a couple of years. > I notice that if you put decimal points after the values in the > first data column then the bug isn't triggered. Found it. Fixed in cvs for 5.0, 5.1, and (if anyone cares) 4.6 Ethan |
|
From: Pankaj D. <pan...@gm...> - 2015-10-22 11:51:48
|
Hello, I am new to using GNUPLOT. I have a file that has data related to time instance recorded in a day where certain event occour. I want to analyse that in 10 mins duration (bin) how many occourances of that event have happened in a day (144 bins) (plotting histogram of x axis : time, y axis : frequency of the event) My data is as below i.e. HH:MM:SS secs 10:53:42 39222 11:03:32 39812 11:08:30 40110 11:08:51 40131 11:10:56 40256 11:11:10 40270 11:13:11 40391 11:14:28 40468 My proble is to mark y axis as (HH:MM:SS) insted of mentioning secs (data converted to secs for binng of 10mins). GNUPLOT version is : 4.6 on ubuntu How to do this? Please help -- Pankaj V. Dorlikar |
|
From: Ethan A M. <eam...@gm...> - 2015-10-22 05:10:05
|
On Wednesday, 21 October 2015 11:44:30 PM Tait wrote: > > > --------------------------- > > > set xdata time > > > set timefmt "%s" > > > > > > plot "-" using 1:2 with lp > > > 0 0.0 > > > 1 0.5 > > > 2 1.0 > > > 3 1.5 > > > EOF > > > --------------------------- > > > > ... > > This answer is for gnuplot version 5. > > ... > > 2) If the input is time-in-seconds but the output is some clock time > > (hours:minutes:seconds) then you want the following. Notice there is > > no "set xdata time". > > > > set xtics time format "%H:%M:%S" > > plot '-' using 1:2 with lp > > There's nothing special about 0, 1, 2, 3... it could just as well be > 1445469700 0.0 > 1445469701 0.5 > 1445469702 1.0 > 1445469703 1.5 I agree there is some sort of bug with "%s". Right now I have no idea what the issue is, but since the same behaviour is observed in version 4.6.4 it is a bug that has been around for at least a couple of years. I notice that if you put decimal points after the values in the first data column then the bug isn't triggered. But the larger point is that the commands that are triggering the bug are not necessary in the first place. If you are reading in raw seconds you do not need a time format. > Does this mean "set xdata time" is deprecated? It is no longer necessary for most purposes, but so far as I know it still works as it did since gnuplot version 4.6.4 (I am seeing different output from gnuplot 4.6.3). > Or only deprecated > for the "%s" timefmt? I'm not sure I see why "timefmt '%s'" works > without "set xdata", or "set xdata" works with e.g. "timefmt '%S'", > but the particular combination of xdata and %s breaks. And I'm not > sure it will be clear to other or new users, either. There must be > some principle behind the behavior being what it is, but I don't > see it. Can you explain more? I'll try. Why the old commands were insufficient ====================================== - The time format present in a data file is a property of that file, not of some gnuplot axis. So having a global command like "set timefmt" is useless if you want to read from two files with different formats. - Requiring time to be associated with a particular output axis (e.g. "set xdata time") does not work if you are trying to read a time for some purpose other than an axis coordinate. What if you want to plot something like plot DAT using 1 : (time_in_column(3) > time_in_column(4) ? N : -N) The time values in question are neither x data nor y data. - Relative time values basically didn't work. Negative numbers were interpreted as some date prior to 1-Jan-1970 rather than as a value in seconds relative to time 0. Wrapping (e.g. seconds never exceed 60, hours never exceed 24, etc) may be undesirable. The version 5 syntax ==================== The preferred way to read time data on input is like this: fmt3 = "%m/%d/%y" fmt4 = "%Y %M %d" plot DATA using 1 : (timecolumn(3,fmt3) > timecolumn(4,fmt4) ? N : -N) This does not require that either the x or y axis is being used for time data, and allows different time formats for each column in each file if needed. For convenience if you omit the 2nd parameter to timecolumn() it will default to the current value of "set timefmt" set timefmt "%H:%M:%S" plot DATA using 1 : (timecolumn(3) > timecolumn(4) ? foo : baz) The deprecated "set xdata" command is not relevant in either case. The preferred way to set an output format is like this: set ytics time format "%H:%M:%S" Again the deprecated "set xdata" command is not relevant. The y value may come from a file, they may be calculated, or whatever. This just sets an output format. Version 5 also supports relative times (e.g. "%tH" format), and geographic coordinates "set xtics geo format "%D:%M:%S" for degrees/minutes/seconds wrapping at 360° rather than 24 hours and recognizing E/W formats for +/- values. Maybe some other stuff I'm not recalling at the moment. Backwards compatibility ======================= As you know, we always try to retain backwards compatibility as much as possible. The intent was that the older time commands like "set xdata time" still work, at least to the extent they ever did. Ethan |
|
From: Tait <gnu...@t4...> - 2015-10-21 23:44:43
|
> > --------------------------- > > set xdata time > > set timefmt "%s" > > > > plot "-" using 1:2 with lp > > 0 0.0 > > 1 0.5 > > 2 1.0 > > 3 1.5 > > EOF > > --------------------------- > > ... > This answer is for gnuplot version 5. > ... > 2) If the input is time-in-seconds but the output is some clock time > (hours:minutes:seconds) then you want the following. Notice there is > no "set xdata time". > > set xtics time format "%H:%M:%S" > plot '-' using 1:2 with lp There's nothing special about 0, 1, 2, 3... it could just as well be 1445469700 0.0 1445469701 0.5 1445469702 1.0 1445469703 1.5 Does this mean "set xdata time" is deprecated? Or only deprecated for the "%s" timefmt? I'm not sure I see why "timefmt '%s'" works without "set xdata", or "set xdata" works with e.g. "timefmt '%S'", but the particular combination of xdata and %s breaks. And I'm not sure it will be clear to other or new users, either. There must be some principle behind the behavior being what it is, but I don't see it. Can you explain more? |
|
From: Ethan M. <eam...@gm...> - 2015-10-21 19:25:04
|
On Wed, Oct 21, 2015 at 2:42 AM, <gn...@ze...> wrote:
> Hi Gnuplot-info,
>
> I'm trying to plot data on a relative time scale starting at 0 the input
> is a column of seconds and a column of data.
>
> ---------------------------
> set xdata time
> set timefmt "%s"
>
> plot "-" using 1:2 with lp
> 0 0.0
> 1 0.5
> 2 1.0
> 3 1.5
> EOF
> ---------------------------
>
> can someone explain why I get these results:
I think you are confusing the format of the input data with the format
of the x-axis tics in the final plot. It looks like your input is
just a number (time in seconds I suppose), so no time format is
needed.
This answer is for gnuplot version 5.
Earlier versions had somewhat different options available for handling times.
1) If you want time-in-seconds for both input and output then there is
no need for any special handling, time formats, or any of that.
Seconds are seconds - just some number.
2) If the input is time-in-seconds but the output is some clock time
(hours:minutes:seconds) then you want the following. Notice there is
no "set xdata time".
set xtics time format "%H:%M:%S"
plot '-' using 1:2 with lp
3) If you want a relative time rather than a clock time, then you want
a different format that is new in gnuplot 5. This one will not wrap
at 24hrs and also allows for negative values of relative time. See
"help time_specifiers". Also see the 3rd plot in the demo
http://gnuplot.sourceforge.net/demo_5.0/timedat.html
set xtics time format "%tH:%tM:%tS"
plot '-' using 1:2 with lp
Ethan
|
|
From: Ico <gn...@ze...> - 2015-10-21 16:55:16
|
* On 2015-10-21 18:14:49 +0200, Marek W. Gutowski wrote: > Well, as I can see, one of the formats is not the one intended: > "S" instead of "s" in timefmt, see your own message below. > My own result is attached. Note that this figure was zoomed > out (using CTRL-mouse wheel down); the raw result was > disappointing. The line was straight but x-tics were not all > different - some were repeated. Moreover, the points were > not distributed uniformly (!). Funny behaviour as well. > Maybe we are using incompatible versions of gnuplot? No, it seems we're not, my gnuplot is 4.6 patchlevel 6 > In summary: the timelike data are best graphed when both > input and output are in timelike format, made known to gnuplot > in advance. Otherwise gnuplot may get confused, just like in your case. > Therefore you have two choices: > 1. Modify your input data to be formatted similarly to 0:1 (0 minutes, 1 second), > or > 2. use seconds as units on x-axis, don't bother with time, time units may > be explained then in x-label (set xlabel "(s)" ) Clear. I've already moved to the first option for my case. Still, this is a workaround and not a true solution. Can the behaviour we see be considered a bug and should this be filed somewhere official? -- :wq ^X^Cy^K^X^C^C^C^C |
|
From: Teodoro S. <Teo...@es...> - 2015-10-21 16:09:58
|
Hi all, I am trying to plot a matrix file with gnuplot 5.0.1 for Windows 32 bit using this script: set term png enhanced font "Verdana,10" size 960, 720 set output 'test_ok.png' set view map dfile = 'test_data.txt' set xrange [0:1008] set yrange [0:720] splot dfile matrix with image But if I do not use the Verdana font and I let gnuplot use its default font (set term png enhanced size 960, 720), the following error is displayed: "test_fail.txt", line 7: warning: Number of pixels cannot be factored into integers matching grid. N = 727489 K = 2018 I have googled about this error, and it seems related to errors in the input matrix file, but in my case it is correct, as in the first example it works. Is this a bug in gnuplot? Can anyone give a hint? If you want to reproduce the problem, you can download the matrix file from here: https://www.dropbox.com/s/2lwx1gtfe0w36ef/test_data.7z?dl=0 Thank you, Teo |
|
From: Ico <gn...@ze...> - 2015-10-21 14:40:22
|
* On 2015-10-21 16:23:06 +0200, Marek W. Gutowski wrote:
> "%S" breaks at 60, not 100. You didn't read gnuplot's help, did you?
My apologies if I seem ignorant, but I did read all that before posting,
which is why I was using %s and not %S in the first place. Testing shows
that %S works well up to 99, and not 59 however. The documentation of
timefmt says about %S:
%S second, integer 0--60 on output, (double) on input
Which implies that output is limited from 0 to 60, but input is not.
> Anyway, the time format is tricky, I agree.
It seems, because I still can't get it right.
> Start your commands with
> gnuplot> set xdata time # this is concerns input data
> gnuplot> set format x "%H:%M:%S" # this is for ticks at plot's x axis,
> maybe "%M:%S" will suit you better?
> gnuplot> set timefmt "%s" # lower case, input data format
> Now you may check:
> gnuplot> show format
> gnuplot> show timefmt
> and, if satisfied, proceed with your "plot" command.
> I see a straight line, bingo!
Well, that's funny, I don't! The following snippet still gives me a
crooked line:
http://i.imgur.com/xaEOyPm.jpg
-------------------------
set xdata time
set format x "%M:%S"
set timefmt "%s"
show format
show timefmt
plot "-" using 1:2 with lp
1 0.5
2 1
3 1.5
4 2
5 2.5
6 3
EOT
---------------------------
Output of 'show format' and 'show timefmt'
tic format is:
x-axis: "%M:%S"
y-axis: "% g"
x2-axis: "% g"
y2-axis: "% g"
z-axis: "% g"
cb-axis: "% g"
r-axis: "% g"
read format for time on x axis is "%S"
read format for time on t axis is "%S"
read format for time on u axis is "%S"
--
:wq
^X^Cy^K^X^C^C^C^C
|
|
From: Ico <gn...@ze...> - 2015-10-21 12:58:28
|
Hi Marek, * On 2015-10-21 14:43:02 +0200, Marek W. Gutowski wrote: > Your commands before plotting should be: > > set xdata time > set timefmt x "%S" > set format x "%S" > 1. note "S" (uppercase, not lowercase) Tried %S as well, but this breaks down as soon as the time in seconds exceeds 100: http://i.imgur.com/aUVNb2a.png So I must still be doing something wrong? > 2. note information about time format both for data AND for plot Actually I want the X axis to show time in [HH]:MM:SS format, which is the reason to choose 'xdata time' at first. So: - input time is seconds starting at 0 - output is time in 'human friendly' notation [HH]:MM:SS ------------------------- set xdata time set timefmt "%S" set format x "%S" plot "-" using 1:2 with lp 1 0.5 2 1 3 1.5 4 2 97 48.5 98 49 99 49.5 100 50 101 50.5 EOT ------------------------- -- :wq ^X^Cy^K^X^C^C^C^C |
|
From: <gn...@ze...> - 2015-10-21 10:01:49
|
Hi Gnuplot-info, I'm trying to plot data on a relative time scale starting at 0 the input is a column of seconds and a column of data. --------------------------- set xdata time set timefmt "%s" plot "-" using 1:2 with lp 0 0.0 1 0.5 2 1.0 3 1.5 EOF --------------------------- can someone explain why I get these results: http://i.imgur.com/lBmk5di.png The data should be a straight line, but gnuplot seems to have a problem dividing the X asis when using time. Thank you, -- :wq ^X^Cy^K^X^C^C^C^C |
|
From: sfeam <sf...@us...> - 2015-10-11 18:00:11
|
On Sunday, 11 October 2015 12:02:47 PM Jon wrote: > I did replot after changing these settings, but don't see any change, which > surprises me. > > Thanks for further help, my gnuplot version is 4.2 patch 6, is this too old > a version? Yes. That is too old (Sept 2009). In that version the x11 terminal did not support control of aspect ratios. Ethan > Sincerely, > Jon > > > > > > > Ethan > > > > > > > > > Sincerely, > > > > > Jon > > > > > > > > > > > > > > > On Thu, Oct 8, 2015 at 12:20 PM, sfeam <sf...@us...> > > wrote: > > > > > > > > > > > On Thursday, 08 October 2015 01:33:36 AM Jon wrote: > > > > > > > > > > > > > Thanks, I tried to plot the data attached with the following > > > > > > > > > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > > > > > set view 0,0 > > > > > > > > > > > > > splot 'aaa' u 1:2:3 > > > > > > > > > > > > > > > > > > > > > > > > > > but cannot get a square shape on the xy plane, any cure for it? > > > > > > > > > > > > > > > > > > > > > > > > But you didn't draw a square. > > > > > > > > > > > > As is clearly visible in the figure you attached, you drew a > > > > > > > > > > > > rectangle that is 2 units by 1 unit. > > > > > > > > > > > > > > > > > > > > > > > > The "set view equal xyz" command makes sure that the unit length > > > > > > > > > > > > is the same on all axes. I.e. the aspect ratio is 1. > > > > > > > > > > > > But it's still up to you to draw something with the right dimensions. > > > > > > > > > > > > > > > > > > > > > > > > Ethan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Both data and what I got is attached. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 6, 2015 at 10:06 AM, sfeam <eam...@gm...> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have been fighting with it for some time and would like to > > know a > > > > > > > > > > > > > > > > > > > > > > > > > > > > > solution. I want the 3D plot to be shown with a cube with actual > > > > > > equal > > > > > > > > > > > > > > > > > > > > > > > > > > > > > length of x,y,z. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
|
From: Jon <dev...@gm...> - 2015-10-11 16:02:53
|
On Sun, Oct 11, 2015 at 11:31 AM, sfeam <sf...@us...> wrote: > On Sunday, 11 October 2015 11:14:31 AM Jon wrote: > > > Thanks for your response. I did have points on x axis twice that of y > axis, > > > but x,y range are the same, both from -1 to 1. > > > > So if you had filled both x and y it would have been a square, right? > > Isn't that what you wanted? > Yes, this is what I would like to achieve. If you think you can achieve the effect I am after, could you please send back your plot based on my input data? > > > Would set view care about how many points along each axis or it only > cares > > > about the values to be plotted? > > > > Neither. "set view" cares about the coordinate system itself, > > regardless of what points you do or do not plot. > > > > "set view equal xyz" gives you an orthogonal coordinate system so > > that a line segment from [a,b,c] to [a,b,c+1] has the same apparent > > length as one from [d,e,f] to [d+1,e,f] and so on. > > > BTW, why would the following two commands > > > > > > set term x11 size 10,600 > > > > > > set term x11 size 600,600 > > > > > > have no control on the output on the screen? > > > > > > Can anybody comment on that? > > > > It controls the size of the next x11 plot window you open. > > It does not change what is already on the screen. > I did replot after changing these settings, but don't see any change, which surprises me. Thanks for further help, my gnuplot version is 4.2 patch 6, is this too old a version? Sincerely, Jon > > > Ethan > > > > > Sincerely, > > > Jon > > > > > > > > > On Thu, Oct 8, 2015 at 12:20 PM, sfeam <sf...@us...> > wrote: > > > > > > > On Thursday, 08 October 2015 01:33:36 AM Jon wrote: > > > > > > > > > Thanks, I tried to plot the data attached with the following > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > set view 0,0 > > > > > > > > > splot 'aaa' u 1:2:3 > > > > > > > > > > > > > > > > > > but cannot get a square shape on the xy plane, any cure for it? > > > > > > > > > > > > > > > > But you didn't draw a square. > > > > > > > > As is clearly visible in the figure you attached, you drew a > > > > > > > > rectangle that is 2 units by 1 unit. > > > > > > > > > > > > > > > > The "set view equal xyz" command makes sure that the unit length > > > > > > > > is the same on all axes. I.e. the aspect ratio is 1. > > > > > > > > But it's still up to you to draw something with the right dimensions. > > > > > > > > > > > > > > > > Ethan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Both data and what I got is attached. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 6, 2015 at 10:06 AM, sfeam <eam...@gm...> wrote: > > > > > > > > > > > > > > > > > > > On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > > > > > > > > > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have been fighting with it for some time and would like to > know a > > > > > > > > > > > > > > > > > > > > > solution. I want the 3D plot to be shown with a cube with actual > > > > equal > > > > > > > > > > > > > > > > > > > > > length of x,y,z. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
|
From: sfeam <sf...@us...> - 2015-10-11 15:32:30
|
On Sunday, 11 October 2015 11:14:31 AM Jon wrote: > Thanks for your response. I did have points on x axis twice that of y axis, > but x,y range are the same, both from -1 to 1. So if you had filled both x and y it would have been a square, right? Isn't that what you wanted? > Would set view care about how many points along each axis or it only cares > about the values to be plotted? Neither. "set view" cares about the coordinate system itself, regardless of what points you do or do not plot. "set view equal xyz" gives you an orthogonal coordinate system so that a line segment from [a,b,c] to [a,b,c+1] has the same apparent length as one from [d,e,f] to [d+1,e,f] and so on. > BTW, why would the following two commands > > set term x11 size 10,600 > > set term x11 size 600,600 > > have no control on the output on the screen? > > Can anybody comment on that? It controls the size of the next x11 plot window you open. It does not change what is already on the screen. Ethan > Sincerely, > Jon > > > On Thu, Oct 8, 2015 at 12:20 PM, sfeam <sf...@us...> wrote: > > > On Thursday, 08 October 2015 01:33:36 AM Jon wrote: > > > > > Thanks, I tried to plot the data attached with the following > > > > > > > > > > set view equal xyz > > > > > set view 0,0 > > > > > splot 'aaa' u 1:2:3 > > > > > > > > > > but cannot get a square shape on the xy plane, any cure for it? > > > > > > > > But you didn't draw a square. > > > > As is clearly visible in the figure you attached, you drew a > > > > rectangle that is 2 units by 1 unit. > > > > > > > > The "set view equal xyz" command makes sure that the unit length > > > > is the same on all axes. I.e. the aspect ratio is 1. > > > > But it's still up to you to draw something with the right dimensions. > > > > > > > > Ethan > > > > > > > > > > > > > > > > > > > > > > > > > > Both data and what I got is attached. > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 6, 2015 at 10:06 AM, sfeam <eam...@gm...> wrote: > > > > > > > > > > > On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > > > > > > > > > > > > > I have been fighting with it for some time and would like to know a > > > > > > > > > > > > > solution. I want the 3D plot to be shown with a cube with actual > > equal > > > > > > > > > > > > > length of x,y,z. > > > > > > > > > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
|
From: Jon <dev...@gm...> - 2015-10-11 15:14:38
|
Thanks for your response. I did have points on x axis twice that of y axis, but x,y range are the same, both from -1 to 1. Would set view care about how many points along each axis or it only cares about the values to be plotted? BTW, why would the following two commands set term x11 size 10,600 set term x11 size 600,600 have no control on the output on the screen? Can anybody comment on that? Sincerely, Jon On Thu, Oct 8, 2015 at 12:20 PM, sfeam <sf...@us...> wrote: > On Thursday, 08 October 2015 01:33:36 AM Jon wrote: > > > Thanks, I tried to plot the data attached with the following > > > > > > set view equal xyz > > > set view 0,0 > > > splot 'aaa' u 1:2:3 > > > > > > but cannot get a square shape on the xy plane, any cure for it? > > > > But you didn't draw a square. > > As is clearly visible in the figure you attached, you drew a > > rectangle that is 2 units by 1 unit. > > > > The "set view equal xyz" command makes sure that the unit length > > is the same on all axes. I.e. the aspect ratio is 1. > > But it's still up to you to draw something with the right dimensions. > > > > Ethan > > > > > > > > > > > > > > Both data and what I got is attached. > > > > > > > > > > > > > > > On Tue, Oct 6, 2015 at 10:06 AM, sfeam <eam...@gm...> wrote: > > > > > > > On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > > > > > I have been fighting with it for some time and would like to know a > > > > > > > > > solution. I want the 3D plot to be shown with a cube with actual > equal > > > > > > > > > length of x,y,z. > > > > > > > > > > > > > > > > set view equal xyz > > > > > > > > > > > > > > > > > > > > > > > |
|
From: sfeam <sf...@us...> - 2015-10-08 16:22:29
|
On Thursday, 08 October 2015 01:33:36 AM Jon wrote: > Thanks, I tried to plot the data attached with the following > > set view equal xyz > set view 0,0 > splot 'aaa' u 1:2:3 > > but cannot get a square shape on the xy plane, any cure for it? But you didn't draw a square. As is clearly visible in the figure you attached, you drew a rectangle that is 2 units by 1 unit. The "set view equal xyz" command makes sure that the unit length is the same on all axes. I.e. the aspect ratio is 1. But it's still up to you to draw something with the right dimensions. Ethan > > Both data and what I got is attached. > > > > > On Tue, Oct 6, 2015 at 10:06 AM, sfeam <eam...@gm...> wrote: > > > On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > > > > > Hi Guys, > > > > > > > > > > I have been fighting with it for some time and would like to know a > > > > > solution. I want the 3D plot to be shown with a cube with actual equal > > > > > length of x,y,z. > > > > > > > > set view equal xyz > > > > > > > > > > |
|
From: sfeam <eam...@gm...> - 2015-10-06 15:06:43
|
On Tuesday, 06 October 2015 09:51:44 AM Jon wrote: > Hi Guys, > > I have been fighting with it for some time and would like to know a > solution. I want the 3D plot to be shown with a cube with actual equal > length of x,y,z. set view equal xyz |
|
From: Jon <dev...@gm...> - 2015-10-06 14:51:50
|
Hi Guys, I have been fighting with it for some time and would like to know a solution. I want the 3D plot to be shown with a cube with actual equal length of x,y,z. Thanks, Sincerely, Jon |
|
From: Jon <dev...@gm...> - 2015-10-06 14:44:31
|
Thanks, it seems I confused about index and every. Sincerely, Jon On Tue, Oct 6, 2015 at 1:44 AM, Hans-Bernhard Bröker <HBB...@t-...> wrote: > Am 05.10.2015 um 19:12 schrieb Jon: > >> I had supposed I understood the concept of block, but it turned out I >> cannot make the following file correctly read in by the command plot. >> > > The problem is that you have too many blank lines in your data. The > separation between blocks to be referenced by `every' is _one_ blank line, > not six. > > Multiple consecutive blank lines create the separation used by "index". > |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2015-10-06 06:45:16
|
Am 05.10.2015 um 19:12 schrieb Jon: > I had supposed I understood the concept of block, but it turned out I > cannot make the following file correctly read in by the command plot. The problem is that you have too many blank lines in your data. The separation between blocks to be referenced by `every' is _one_ blank line, not six. Multiple consecutive blank lines create the separation used by "index". |
|
From: Jon <dev...@gm...> - 2015-10-05 17:12:36
|
Hi guys,
I had supposed I understood the concept of block, but it turned out I
cannot make the following file correctly read in by the command plot.
Thanks for your timely help,
Sincerely,
Jon
========================
The script is
p [0:] 'DY_SLICE_HIST_1' \
u 1:2 ev :::1::1 w lp, \
0 w l lt 0 noti
========================
The error message is:
Warning: empty y range [0:0], adjusting to [-1:1]
=========================
The data file is:
0.500000 10.000000
1.000000 10.000000
1.500000 10.000000
2.000000 10.000000
2.500000 10.000000
3.000000 10.000000
3.500000 10.000000
4.000000 10.000000
4.500000 10.000000
5.000000 10.000000
5.500000 10.000000
6.000000 -150.869613
6.500000 -18.160266
7.000000 0.000000
7.500000 0.000000
8.000000 0.000000
8.500000 72.597283
9.000000 0.000000
9.500000 -30.330369
10.000000 -10.665059
10.500000 0.000000
11.000000 -104.420593
11.500000 324.913103
12.000000 0.000000
0.500000 10.000000
1.000000 10.000000
1.500000 10.000000
2.000000 10.000000
2.500000 10.000000
3.000000 10.000000
3.500000 10.000000
4.000000 10.000000
4.500000 10.000000
5.000000 10.000000
5.500000 10.000000
6.000000 -12.549764
6.500000 65.940683
7.000000 0.000000
7.500000 0.000000
8.000000 23.792985
8.500000 196.251685
9.000000 0.000000
9.500000 -33.030966
10.000000 49.334910
10.500000 0.000000
11.000000 -39.118330
11.500000 19.649621
12.000000 11.086108
|
|
From: m_marina_cm <m_m...@ho...> - 2015-09-10 13:45:44
|
-------- Missatge original -------- De: MARINA CORBELLA MORATO <mar...@ub...> Data: 10/09/2015 9:42 (GMT-05:00) A: gnu...@li... Assumpte: Fitting output data of a fortran script by modifying input of the script Hi everyone! I'm totally new in gnuplot and the thing is that I'm trying to fit an spectra that can be deconvoluted in 8 functions. But the data that I want to fit must be processed before the fitting, so I made a fortran program to process it. Is there any way with gnuplot to fit the output data of my program but modifying the input data iteratively? Thank you! |