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: LouisPhilippe <lou...@gm...> - 2013-04-15 20:14:05
|
Hi everyone I have been trying to make a combination of a stacked and a clustered histogram. The end result should look something like this: <http://gnuplot.10905.n7.nabble.com/file/n17285/eimIntegrated.jpeg> But the difference being that the bars should be grouped together in pairs, preferably over the same point on the x axis. The point of this graph is to compare estimates versus actual values. (E <--> A) The x-axis representing time. I have tried searching for something that could achieve this but I have found no answer so far, all help is much appreciated. If something is unclear about what I am asking please tell me and I will try to make it clearer. Kind regards LP -- View this message in context: http://gnuplot.10905.n7.nabble.com/Combination-of-cluster-and-stacked-histogram-tp17285.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thor A. <ta...@to...> - 2013-04-15 11:10:07
|
On Fri, Apr 12, 2013 at 08:56:12AM -0700, howudodat wrote: > Also, I have posted one of the source data files at > http://www.earthbest.com/wf.csv.zip According to 'help plot matrix' your data format is in an in-between state, i.e. it is uniform but includes frequency in the first column. So in order to plot it, you need to do a little pre-processing. To convert the data to a uniform format the first column should be removed, this can be done by a program called 'cut': -- >8 -- set datafile separator comma set view map splot '< cut -d, -f2- wf.csv' matrix with image -- >8 -- I've used 'map' and 'with image' because these use less memory. It's bit more involved, but you can also convert the data to the non-uniform format by adding the y-values as the first row, the sequence can be generated by 'seq': -- >8 -- set datafile separator comma set view map splot '< seq -s, 602; cat wf.csv' nonuniform matrix with image -- >8 -- -- best regards Thor Andreassen |
|
From: Peter C. <pe...@ho...> - 2013-04-12 16:03:51
|
I tried that and end up getting no data to show up in the plot (and it
appears to be 2d)
gnuplot> set view map
gnuplot> set datafile separator ","
gnuplot> unset ytics
gnuplot> set xrange[1:600]
gnuplot> set yrange[*:*]
gnuplot> set cbrange [-200:0]
gnuplot> splot 'wf.csv' matrix with image
GNUPLOT (plot_image): Image grid must be at least 2 x 2.
And a flat 2d image was shown with no data plotted
tried again with:
gnuplot> set yrange[1:8192]
gnuplot> splot 'wf.csv' matrix with image
warning: No usable data in this plot to auto-scale axis range
z axis range undefined or overflow
Peter
On 4/12/2013 8:16 AM, walter harms wrote:
> i am not sure but maybe this can help you.
> i use gnuplot to visualize spectra. they are organized
> like value|value|value|.... all rows are the same length.
> my gnuplot file look like that:
>
> set view map
> set datafile separator "|"
> set palette rgbformulae 22,13,-31
> unset ytics
> set xrange [0:500]
> set yrange [*:*]
> set cbrange [0:100]
> splot "coinz" matrix with image
>
>
|
|
From: howudodat <pe...@ho...> - 2013-04-12 15:56:21
|
Also, I have posted one of the source data files at http://www.earthbest.com/wf.csv.zip Peter -- View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268p17275.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: walter h. <wh...@bf...> - 2013-04-12 15:36:53
|
Am 12.04.2013 15:57, schrieb howudodat: > I have used the following commands ( I didn't use the autotitle because the > first row doesn't actually exist in the data file): > gnuplot> set datafile separator "," > gnuplot> set grid x y z > gnuplot> set hidden3d > gnuplot> splot for [sec=1:600] 1:(sec):(column(sec+1)) 'wf.csv' with impulse > lc palette > Warning: empty z range [1:1], adjusting to [0.99:1.01] > > > gnuplot> splot for [sec=1:600] 1:(sec):(column(sec+1)) 'wf.csv' with impulse > lc palette > ^ > ';' expected > > gnuplot> > > and the resulting image is: > <http://gnuplot.10905.n7.nabble.com/file/n17271/chart1.png> > i am not sure but maybe this can help you. i use gnuplot to visualize spectra. they are organized like value|value|value|.... all rows are the same length. my gnuplot file look like that: set view map set datafile separator "|" set palette rgbformulae 22,13,-31 unset ytics set xrange [0:500] set yrange [*:*] set cbrange [0:100] splot "coinz" matrix with image |
|
From: howudodat <pe...@ho...> - 2013-04-12 15:31:44
|
I think I might be missing a range, but not sure where to put it, here is
what I get now:
gnuplot> splot for [sec=1:600] 'wf.csv' using 1:(sec):(column(sec+1)) with
impulse lc palette
warning: No usable data in this plot to auto-scale axis range
repeats (I'm guessing 8192 times)
All points x value undefined
My x range should be from 135000000 to 160000000
My y range should be from 1 to 600
My z range should be around -120 to -60
Peter
--
View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268p17273.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Ethan A M. <EAM...@gm...> - 2013-04-12 15:13:08
|
On Friday, 12 April 2013, howudodat wrote: > I have used the following commands ( I didn't use the autotitle because the > first row doesn't actually exist in the data file): > gnuplot> set datafile separator "," > gnuplot> set grid x y z > gnuplot> set hidden3d > gnuplot> splot for [sec=1:600] 1:(sec):(column(sec+1)) 'wf.csv' with impulse > lc palette > Warning: empty z range [1:1], adjusting to [0.99:1.01] > > > gnuplot> splot for [sec=1:600] 1:(sec):(column(sec+1)) 'wf.csv' with impulse > lc palette > ^ > ';' expected Sorry, sorry. I don't know what I was thinking of. Here it is again, tested on some actual data this time: splot for [sec=1:600] 'wf.csv' using 1:(sec):(column(sec+1)) with impulse lc palette Ethan -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |
|
From: howudodat <pe...@ho...> - 2013-04-12 13:57:50
|
I have used the following commands ( I didn't use the autotitle because the
first row doesn't actually exist in the data file):
gnuplot> set datafile separator ","
gnuplot> set grid x y z
gnuplot> set hidden3d
gnuplot> splot for [sec=1:600] 1:(sec):(column(sec+1)) 'wf.csv' with impulse
lc palette
Warning: empty z range [1:1], adjusting to [0.99:1.01]
gnuplot> splot for [sec=1:600] 1:(sec):(column(sec+1)) 'wf.csv' with impulse
lc palette
^
';' expected
gnuplot>
and the resulting image is:
<http://gnuplot.10905.n7.nabble.com/file/n17271/chart1.png>
--
View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268p17271.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Ethan A M. <EAM...@gm...> - 2013-04-12 02:28:15
|
On Thursday, 11 April 2013, howudodat wrote: > I am trying to make a waterfall / cascade plot of csv data. The data is > 8192 rows of data x 600 columns of time. The first column is a frequency > label, the first row is shown below but doesn't actually exist in the data > file, neither do the spaces, they are shown just for ease of reading. > > Frequency, Sec1, Sec2, Sec3...Sec600 > 1e8, -95, -90, -92 > 1.1e8, -100, -101, -103 > ... > > The data represents 600 seconds of fft data. I would like the plot to look > something like the attached image. The x axis should be the columns of data > (time), the y axis should be each row (frequency). The z axis is intensity > and I'm hoping can be displayed both in height as well as color. General solution (no matrix treatment): set datafile separator "," set autotitle columnheader # read a row of titles unset key # but don't use it for anything set grid x y z set hidden3d splot for [sec=1:600] 1:(sec):(column(sec+1)) with impulse lc palette You may want to adjust the linewidth of the impulses, the palette coloring scheme, etc. There's probably a way to read it as a matrix also, but I'm less sure of the syntax off the top of my head. Ethan > I can control the input data if needed to remove the first column, but then > I would need to be able to specify the start/ stop range of the labels > > <http://gnuplot.10905.n7.nabble.com/file/n17268/test.png> > > > > -- > View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |
|
From: Ethan A M. <EAM...@gm...> - 2013-04-12 02:28:14
|
On Thursday, 11 April 2013, Ethan A Merritt wrote: > On Thursday, 11 April 2013, howudodat wrote: > > I am trying to make a waterfall / cascade plot of csv data. The data is > > 8192 rows of data x 600 columns of time. The first column is a frequency > > label, the first row is shown below but doesn't actually exist in the data > > file, neither do the spaces, they are shown just for ease of reading. > > > > Frequency, Sec1, Sec2, Sec3...Sec600 > > 1e8, -95, -90, -92 > > 1.1e8, -100, -101, -103 > > ... > > > > The data represents 600 seconds of fft data. I would like the plot to look > > something like the attached image. The x axis should be the columns of data > > (time), the y axis should be each row (frequency). The z axis is intensity > > and I'm hoping can be displayed both in height as well as color. > > General solution (no matrix treatment): > > set datafile separator "," > set autotitle columnheader # read a row of titles Oops. Make that set key autotitle columnheader Ethan > unset key # but don't use it for anything > set grid x y z > set hidden3d > splot for [sec=1:600] 1:(sec):(column(sec+1)) with impulse lc palette > > You may want to adjust the linewidth of the impulses, > the palette coloring scheme, etc. > > There's probably a way to read it as a matrix also, > but I'm less sure of the syntax off the top of my head. > > > > Ethan > > > > I can control the input data if needed to remove the first column, but then > > I would need to be able to specify the start/ stop range of the labels > > > > <http://gnuplot.10905.n7.nabble.com/file/n17268/test.png> > > > > > > > > -- > > View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268.html > > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > > Precog is a next-generation analytics platform capable of advanced > > analytics on semi-structured data. The platform includes APIs for building > > apps and a phenomenal toolset for data science. Developers can use > > our toolset for easy data analysis & visualization. Get a free account! > > http://www2.precog.com/precogplatform/slashdotnewsletter > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |
|
From: howudodat <pe...@ho...> - 2013-04-12 01:31:46
|
I am trying to make a waterfall / cascade plot of csv data. The data is 8192 rows of data x 600 columns of time. The first column is a frequency label, the first row is shown below but doesn't actually exist in the data file, neither do the spaces, they are shown just for ease of reading. Frequency, Sec1, Sec2, Sec3...Sec600 1e8, -95, -90, -92 1.1e8, -100, -101, -103 ... The data represents 600 seconds of fft data. I would like the plot to look something like the attached image. The x axis should be the columns of data (time), the y axis should be each row (frequency). The z axis is intensity and I'm hoping can be displayed both in height as well as color. I can control the input data if needed to remove the first column, but then I would need to be able to specify the start/ stop range of the labels <http://gnuplot.10905.n7.nabble.com/file/n17268/test.png> -- View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Theo <th...@gm...> - 2013-04-11 18:04:10
|
what about an offset? ...with labels offset 1,1 # that's a fixed offset plot FILENAME using 3:4:1 notitle with labels offset 1,1 , '' using 3:4 title "ring points" with points ps 3 lw 5 pt 1 lt 7 or with the sgn(x) function dx = 20 # x-offset dy = 100 # y-offset plot FILENAME using ($3+sgn($3)*dx):($4+sgn($4)*dy):1 notitle with labels, '' using 3:4 title "ring points" with points ps 3 lw 5 pt 1 lt 7 |
|
From: Theo <th...@gm...> - 2013-04-11 11:12:14
|
Hi Aneesh, is there a reason why you use parametric plot? The following example: x1 = 1 # first point y1 = 3 x2 = 2 # second point y2 = 5 c = 0.5 # noise level f(x) = (y2-y1)/(x2-x1)*x + y2 - x2*(y2-y1)/(x2-x1) + c*(rand(0)-0.5) plot [x1:x2] f(x) gives me a 'noisy' line between the two points. Is it that what you looked for? Theo. |
|
From: <ma...@my...> - 2013-04-11 08:22:49
|
> try to replace 2 by 2.0, 1 by 1.0 etc. as you intend to work with floating > point numbers here. Hope this helps, Thanks. That worked. Kicking myself for not spotting that :-( Regards, mas |
|
From: <ma...@my...> - 2013-04-11 07:45:37
|
I have the following code:
f(x) = -1 + (2/x)*(((1-((2/3)*x**2))*exp(-x)) + \
((1+x)*exp(-2*x))) /\
(1 + ((1+x+((1/3)*x**2))*exp(-x)))
set samples 500
set xrange [0.1:6]
set yrange [-1.2:0]
plot f(x)
The plot is not as expected (see attachment g1.png). But,if I use the same
expression, compute the values externally and then plot those values, the
graph is as expected (attachment g2.png).
Any pointers would be helpful.
Regards,
mas |
|
From: Theo <th...@gm...> - 2013-04-11 03:35:29
|
Thank you, Bernhard.
The code gives an error message:
Read 1 points
No data to fit
"Test.gp", line 186: error during fit
However, with adding an additional data point it works:
fit f(x0) '-' via x0
0.5
0.5
E
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-04-10 19:27:53
|
On 10.04.2013 19:46, Theo wrote:
> Now, I now would like to know what is x if y = f(x) = 0.5 and place it
> as a label. The problem is that the above function can not be simply
> rewritten as inverse function x = g(y)
>
> At least as an approximation, how could I extract x?
> Can I use the fitting capability of gnuplot to do that? I don't see how
> to do it. Any ideas?
This might work (didn't try):
fit f(x0,T1,T2,T3,R1,R2,R3) '-' via x0
0.5
E
|
|
From: Theo <th...@gm...> - 2013-04-10 17:47:13
|
Hi all, I have a function e.g. like f(x,T1,T2,T3,R1,R2,R3) = R1*exp(-x/T1) + R2*exp(-x/T2) + R3*exp(-x/T3) When using fit f(x,T1,T2,T3,R1,R2,R3) 'FileName.dat' using 1:2 via T1,T2,T3,R1,R2,R3 I nicely get the best fitting constants T1,T2,T3,R1,R2,R3 Now, I now would like to know what is x if y = f(x) = 0.5 and place it as a label. The problem is that the above function can not be simply rewritten as inverse function x = g(y) At least as an approximation, how could I extract x? Can I use the fitting capability of gnuplot to do that? I don't see how to do it. Any ideas? Thanks, Theo. |
|
From: Amir S. <ami...@gm...> - 2013-04-08 10:43:59
|
Hi all, I am trying to plot a crown of 72 points with labels reporting the name of the point. The data file is structured like this: #ID x y z P01 1272.5113 -0.1213 1298.4915 P02 1272.5609 -113.2659 1293.49 P03 1272.6138 -225.5753 1278.7028 P04 1272.655 -336.1809 1254.1747 P05 1272.7575 -444.2176 1220.1453 I would like to have the label with ID of the points outside the crown. I have thought of a ternary operator: plot FILENAME using 3:4:1 notitle with labels at ($3>=0 ? $3+10 : $3-10),($4>=0 ? $4+10 : $4-10), \ FILENAME using 3:4 title "ring points" with points ps 3 lw 5 pt 1 lt 7 But it doesn't work. Where I am doing wrong? Thank you Amir |
|
From: aorakis <kyr...@li...> - 2013-04-04 02:28:48
|
Hello, I need some help getting a wireframe for my data in a 3D phase diagram. Using these commands: I can get this: <http://gnuplot.10905.n7.nabble.com/file/n17237/Screen_Shot_2013-04-04_at_3.08.08_PM.png> I want to be able to get a mesh or contour like the first few graphs from this link http://www.packtpub.com/article/3d-plot-using-gnuplot. I have tried using pm3d and dgrid3d, but no such luck. Any help would be greatly appreciated. Also, I can't seem to move the graph around with the mouse, any advice on that would be primo. I am using Mac OSX, terminal type set to 'Aqua'. Cheers -- View this message in context: http://gnuplot.10905.n7.nabble.com/Plotting-a-3D-Phase-Diagram-with-a-Wireframe-tp17237.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Aneesh C. <ach...@gm...> - 2013-03-29 12:01:55
|
Hi, I'm new to this forum. I have a question related to gnuplot which I would appreciate help with. I'm trying to generate dummy data. This dummy data is in the form of data points lying on a straight line, but with "noise" i.e the points are randomly lying on either side on the original line so that when I plot it, there are many spikes and dips. This is to represent a "noisy" sensor reading. So far, I generated the original line using parametric plots like set parametric x(t) = a + b*(t) y(t) = c + d*(t) plot [0:2*pi] x(t), y(t) [please excuse any syntax error since I'm reproducing the code offhand ] where a,b,c,d were calculated from the two points x1,y1 and x2,y2 the line is connecting. I then try to generate some random points using x(t) and y(t) above so that the points somewhat represent the original line set parametric x2(t) = a + b*(t) * rand(0) y2(t) = c + d*(t) * rand(0) plot [0:2*pi] x2(t), y2(t) No matter what configuration of rand() I try, the random points generated either just form another perfect line , or the points are just concentrated near one end of the original line. I would like something like this plot: http://research.stlouisfed.org/fred2/graph/fredgraph.png?graph_id=82216 where the red line is the original line and the blue line the "noisy" values. Would appreciate if someone could help me out. Thanks. |
|
From: hang <she...@pk...> - 2013-03-29 09:00:40
|
I set my linestyle in this way set linetype 1 lt 2 lw 7 lc 0 The linetype 2 should be a long dash type, but as the linewidth being set to 7 in order to show it more clearly, the long dash was very uncomfortable, the other type are ever worse, like this: <http://gnuplot.10905.n7.nabble.com/file/n17221/test.jpg> How can I solve this without decreasing the lw ? Any suggestion would be appreciated! -- View this message in context: http://gnuplot.10905.n7.nabble.com/Linetype-become-dim-as-linewidth-large-tp17221.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Baptiste <bap...@er...> - 2013-03-29 08:35:41
|
Hi all,
I am a new user of Gnuplot, and I would like to draw a Heat Map.
My original data are a 41x41 matrix where each line and row represent a
country and the value of the matrix are numeric value.
Such as:
Country1 Country2 …. CountryN
Country1 Z11 Z12 ….. Z1N
Country2 Z21 Z22 ….. Z2N
…
CountryN ZN1 ZN2 ….. ZNN
I have already succeed in some steps but I still have some problems.
Here, what I have already done:
cd '/dir/'
set xrange [0.5:41.5]
set yrange [0.5:41.5] reverse
set xtics ("AUS" 1,"AUT" 2,"BEL" 3,"BGR" 4,"BRA" 5,"CAN" 6,"CHN" 7,"CYP"
8,"CZE" 9,"DEU" 10,"DNK" 11,"ESP" 12,"EST" 13,"FIN" 14,"FRA" 15,"GBR"
16,"GRC" 17,"HUN" 18,"IDN" 19,"IND" 20,"IRL" 21,"ITA" 22,"JPN" 23,"KOR"
24,"LTU" 25,"LUX" 26,"LVA" 27,"MEX" 28,"MLT" 29,"NLD" 30,"POL" 31,"PRT"
32,"ROM" 33,"RUS" 34,"SVK" 35,"SVN" 36,"SWE" 37,"TUR" 38,"TWN" 39,"USA"
40,"RoW" 41)
set ytics ("AUS" 1,"AUT" 2,"BEL" 3,"BGR" 4,"BRA" 5,"CAN" 6,"CHN" 7,"CYP"
8,"CZE" 9,"DEU" 10,"DNK" 11,"ESP" 12,"EST" 13,"FIN" 14,"FRA" 15,"GBR"
16,"GRC" 17,"HUN" 18,"IDN" 19,"IND" 20,"IRL" 21,"ITA" 22,"JPN" 23,"KOR"
24,"LTU" 25,"LUX" 26,"LVA" 27,"MEX" 28,"MLT" 29,"NLD" 30,"POL" 31,"PRT"
32,"ROM" 33,"RUS" 34,"SVK" 35,"SVN" 36,"SWE" 37,"TUR" 38,"TWN" 39,"USA"
40,"RoW" 41)
set datafile separator ";"
set pm3d map
set view map
splot '/file/.csv' matrix with image
But, I have two problems:
1) In the output file (below), it misses the first line and row of the
matrix, and the mapping between the content of the matrix (Zx,y) and the
countries is then shifted from one line and one row.
2) I would like to defined intervals for the palette colour according to the
value of the records. For instance, if the value of Zx,y is inferior to 1 so
in green, if Zx,y between 1 and 2 so in white, etc…
I have tried several things but these problems remain.
Thanks in advance
<http://gnuplot.10905.n7.nabble.com/file/n17220/EMCONS_96.png>
PS: Sorry for the English, I am French.
--
View this message in context: http://gnuplot.10905.n7.nabble.com/Heat-map-line-and-row-shift-problem-tp17220.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Ethan A M. <EAM...@gm...> - 2013-03-29 01:53:08
|
On Thursday, 28 March 2013, Paul Wagner wrote: > Hello, > > how can I plot a function and vary its color within the plot? What do you want the color to depend on? > The only solution I've come up with is to write the x and y values to a file and > read it back using 'linecolor rgb variable'. Is there a more elegant > way, without writing a file? set xrange [XMIN:XMAX] plot '+' using 1:(f($1)):(color($1)) lc rgb variable where f(x) is the function you want to plot and color(x) returns the color you want it to have. |
|
From: Paul W. <pau...@gm...> - 2013-03-29 01:00:54
|
Hello, how can I plot a function and vary its color within the plot? The only solution I've come up with is to write the x and y values to a file and read it back using 'linecolor rgb variable'. Is there a more elegant way, without writing a file? Thanks, Paul |