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: Hans-Bernhard B. <HBB...@t-...> - 2015-03-13 23:08:43
|
Am 13.03.2015 um 22:39 schrieb Matthew Clay: >Is it possible to use a logarithmically-spaced point > interval, so that points will become evenly spaced in the x direction on > a logarithmic x axis? No. Because the point interval is expressed in terms of point _count_, not x axis _value_. I.e. if you want log-spaced points, you'll have to prepare a log-spaced data set. |
|
From: Matthew C. <mp...@gm...> - 2015-03-13 22:44:52
|
John, Thanks for the reply. To be clear, I am not referring to the tics on the x-axis, but the points on a linespoints curve in the graph. Specifically, I want to be able to set the point interval for the points on the line in an exponential fashion, rather than a linear option for "point interval". In other words, if I have have 1000 (x,y) points to plot, I would like a linespoints curve with point markers at (x1,y1), (x10,y10), (x100,y100), (x1000,y1000).Is it possible to do that? Thanks, Matthew On 03/13/2015 06:34 PM, BBands wrote: > Sure, see 'help set xtics' > > "The implicit <start>, <incr>, <end> form specifies that a series of tics will > be plotted on the axis between the values <start> and <end> with an increment > of <incr>. If <end> is not given, it is assumed to be infinity. The > increment may be negative. If neither <start> nor <end> is given, <start> is > assumed to be negative infinity, <end> is assumed to be positive infinity, > and the tics will be drawn at integral multiples of <incr>. If the axis is > logarithmic, the increment will be used as a multiplicative factor." > > John > > On Fri, Mar 13, 2015 at 2:39 PM, Matthew Clay <mp...@gm...> wrote: >> Hi, >> >> I am using the epslatex terminal available in gnuplot for making plots. >> I am plotting data on a linear y axis and logarithmic x axis. I would >> like to plot the data with linespoints so the different curves can >> easily be differentiated from one another. Specifying the point interval >> option, however, does not look very good on a logarithmic x axis, >> because for large x values you essentially get many points overlapping >> each other. Is it possible to use a logarithmically-spaced point >> interval, so that points will become evenly spaced in the x direction on >> a logarithmic x axis? To give an example, instead of point every 10 >> units (which will become very crowded for x > 100), can I place the >> points at x=1,10,100,1000,10000? -- Matthew Clay Graduate Student Aerospace Engineering Georgia Institute of Technology mp...@gm... or 205.212.4027 |
|
From: Matthew C. <mp...@gm...> - 2015-03-13 21:39:21
|
Hi, I am using the epslatex terminal available in gnuplot for making plots. I am plotting data on a linear y axis and logarithmic x axis. I would like to plot the data with linespoints so the different curves can easily be differentiated from one another. Specifying the point interval option, however, does not look very good on a logarithmic x axis, because for large x values you essentially get many points overlapping each other. Is it possible to use a logarithmically-spaced point interval, so that points will become evenly spaced in the x direction on a logarithmic x axis? To give an example, instead of point every 10 units (which will become very crowded for x > 100), can I place the points at x=1,10,100,1000,10000? Thanks, Matthew |
|
From: David L. <da...@la...> - 2015-03-09 23:14:46
|
On Tue, 10 Mar 2015, Dave Horsfall wrote: > On Mon, 9 Mar 2015, David Lang wrote: > >> linecount = "`cut -f 1 -d '|' site_summary.data |uniq| sed s/$/' '/ |wc -l`" > > Just a minor point: "uniq" works best with sorted input (or use "sort > -u"). And why are you appending a blank to each line? both items are leftovers from prior work. if I didn't have the wc at the end of this and just output the first element on each line, gnuplot would disregard the newline and run them all together into one string, adding a space on the end of each line avoids this. In my case, the data is already sorted by the SQL, so I wouldn't need to sort it again (although in the case of creating the pie charts, it's only one line per datacenter, so the uniq and the sed are not needed. As I said, leftovers from prior work) David Lang |
|
From: David L. <da...@la...> - 2015-03-09 22:11:31
|
Doing some more digging, I'm finding that the colors used for the key legend are
not the colors used for the linetype definitions that are used to make the graph
I changed the lines to
set linetype 1 lc "purple" lw 5 pt 3 ps 3
set linetype 2 lc "green" lw 5 pt 3 ps 3
set linetype 3 lc "yellow" lw 5 pt 3 ps 3
set linetype 4 lc "blue" lw 5 pt 3 ps 3
set linetype 5 lc "orange" lw 5 pt 3 ps 3
set linetype 6 lc "red" lw 5 pt 3 ps 3
set linetype 7 lc "brown" lw 5 pt 3 ps 3
set linetype 8 lc "gold" lw 5 pt 3 ps 3
set linetype 9 lc "cyan" lw 5 pt 3 ps 3
set multiplot
plot for [i=4:6] "site_summary.data" u (x+column(0)*250):(y):(r):(360*(sum
[col=4:(i-1)] column(col))/(sum [col=4:6] column(col))):(360*(sum [col=4:i]
column(col))/(sum [col=4:6] column(col))):(i) title columnhead(i) with circles
lc var
and while the pie segments are blue, orange, and red. the legend colors are
brown, gold, gold
so why is the key showing different color codes than what was used to make the
graphs
and why is color 8 used twice?
David Lang
On Mon, 9 Mar 2015, David Lang wrote:
> I'm using the following script to generate pie charts for each line in a file.
> The problem is that the legend at the bottom ends up just having three solid
> black circles instead of colored circles.
>
> I'm using gnuplot v5.0 (compiled from source)
>
> What can I do to fix this?
>
>
> linecount = "`cut -f 1 -d '|' site_summary.data |uniq| sed s/$/' '/ |wc -l`"
> sitecount = value("linecount")-1
> set term svg size (sitecount * 250),300 dynamic noenhanced
> unset tics
> unset border
> unset colorbox
> set key autotitle columnheader
> set key center bottom horizontal samplen 5
> set xrange [-(125*sitecount):(125*sitecount)]
> set yrange [-150:150]
> set angles degree
> x=0
> y=0
> r=100.0
> set datafile separator "|"
> set style fill transparent solid 1.0 noborder
> set linetype 1 lc "green" lw 5 pt 3 ps 3
> set linetype 2 lc "blue" lw 5 pt 3 ps 3
> set linetype 3 lc "orange" lw 5 pt 3 ps 3
> set linetype 4 lc "red" lw 5 pt 3 ps 3
> set multiplot
>
> plot for [i=4:6] "site_summary.data" u (x+(column(0)-1)*250):(y):(r):(360*(sum [col=4:(i-1)] column(col))/(sum [col=4:6] column(col))):(360*(sum [col=4:i] column(col))/(sum [col=4:6] column(col))):(i-2) title columnhead(i) with circles lc var
> plot for [i=4:6] "" u (x+(column(0)-1)*250+(r*1.1)*cos(360*((sum [col=4:(i-1)] column(col))+ column(i)/2.0)/(sum [col=4:6] column(col)))):(y+(r*1.1)*sin(360*((sum [col=4:(i-1)] column(col))+ column(i)/2.0)/(sum [col=4:6] column(col)))):i with labels notitle
> plot "" skip 1 u (x+(column(0)-1)*250):(y+(r*1.5)):1 with labels notitle
> plot "" skip 1 u (x+(column(0)-1)*250):(y+(r*1.3)):(gprintf("~%.0f systems",$3)) with labels notitle
>
>
> example data
>
> Site|Date|Systems|Moderate|Severe|Critical
> Corp|2015-03-01|700|9000|2000|500
> DC1|2015-03-01|500|6000|400|60
> DC1|2015-03-01|300|5000|300|50
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Dave H. <da...@ho...> - 2015-03-09 22:09:11
|
On Mon, 9 Mar 2015, David Lang wrote: > linecount = "`cut -f 1 -d '|' site_summary.data |uniq| sed s/$/' '/ |wc -l`" Just a minor point: "uniq" works best with sorted input (or use "sort -u"). And why are you appending a blank to each line? -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: David L. <da...@la...> - 2015-03-09 19:01:56
|
I'm using the following script to generate pie charts for each line in a file.
The problem is that the legend at the bottom ends up just having three solid
black circles instead of colored circles.
I'm using gnuplot v5.0 (compiled from source)
What can I do to fix this?
linecount = "`cut -f 1 -d '|' site_summary.data |uniq| sed s/$/' '/ |wc -l`"
sitecount = value("linecount")-1
set term svg size (sitecount * 250),300 dynamic noenhanced
unset tics
unset border
unset colorbox
set key autotitle columnheader
set key center bottom horizontal samplen 5
set xrange [-(125*sitecount):(125*sitecount)]
set yrange [-150:150]
set angles degree
x=0
y=0
r=100.0
set datafile separator "|"
set style fill transparent solid 1.0 noborder
set linetype 1 lc "green" lw 5 pt 3 ps 3
set linetype 2 lc "blue" lw 5 pt 3 ps 3
set linetype 3 lc "orange" lw 5 pt 3 ps 3
set linetype 4 lc "red" lw 5 pt 3 ps 3
set multiplot
plot for [i=4:6] "site_summary.data" u (x+(column(0)-1)*250):(y):(r):(360*(sum [col=4:(i-1)] column(col))/(sum [col=4:6] column(col))):(360*(sum [col=4:i] column(col))/(sum [col=4:6] column(col))):(i-2) title columnhead(i) with circles lc var
plot for [i=4:6] "" u (x+(column(0)-1)*250+(r*1.1)*cos(360*((sum [col=4:(i-1)] column(col))+ column(i)/2.0)/(sum [col=4:6] column(col)))):(y+(r*1.1)*sin(360*((sum [col=4:(i-1)] column(col))+ column(i)/2.0)/(sum [col=4:6] column(col)))):i with labels notitle
plot "" skip 1 u (x+(column(0)-1)*250):(y+(r*1.5)):1 with labels notitle
plot "" skip 1 u (x+(column(0)-1)*250):(y+(r*1.3)):(gprintf("~%.0f systems",$3)) with labels notitle
example data
Site|Date|Systems|Moderate|Severe|Critical
Corp|2015-03-01|700|9000|2000|500
DC1|2015-03-01|500|6000|400|60
DC1|2015-03-01|300|5000|300|50
|
|
From: Ethan A M. <eam...@gm...> - 2015-03-07 23:20:38
|
On Sunday, 08 March 2015 03:16:39 AM Dave Horsfall wrote: > Mac OS/X, Yosemite 10.10.2. > > Is there a guide to what changed in Gnuplot 5? I was wondering why my > default colours changed e.g. "lt 1" used to be red, and is now a sort of > purple. > > I discovered this after restarting the Mac; I had changed the order of > plots on one graph, restarted the Mac following a network problem, plotted > an unrelated graph, and noticed it. In the meantime I must've done quite > a few updates to Macports, whilst keeping a Gnuplot window open all the > while (silly me). > > I didn't know I was running Gnuplot 5.0.0 until just now, when I went to > confirm the version (I think it used to be 4.6.5 or something). > > Comparing the result of "test" with an old one that I'd printed (and > laminated), there's a few small differences such as points now being black > instead of the line colour and pattern fill "9" has disappeared, but the > colours have changed somewhat, for no apparent good reason. > > As a result I know have to change *all* of my scripts, except in those > cases where I was using RGB colours. > > So, what little surprises may I expect in 5.0? Version 5 is different in a lot of ways. Hence the bump in major version from 4.* to 5.0 Read the Release Notes, the "What's New" section in the User Manual, etc. All this and more available to browse on http://gnuplot.sourceforge.net |
|
From: Dave H. <da...@ho...> - 2015-03-07 18:39:24
|
Could it be made to show the version of Gnuplot, so that the various outputs can be readily compared? -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Dave H. <da...@ho...> - 2015-03-07 16:16:51
|
Mac OS/X, Yosemite 10.10.2. Is there a guide to what changed in Gnuplot 5? I was wondering why my default colours changed e.g. "lt 1" used to be red, and is now a sort of purple. I discovered this after restarting the Mac; I had changed the order of plots on one graph, restarted the Mac following a network problem, plotted an unrelated graph, and noticed it. In the meantime I must've done quite a few updates to Macports, whilst keeping a Gnuplot window open all the while (silly me). I didn't know I was running Gnuplot 5.0.0 until just now, when I went to confirm the version (I think it used to be 4.6.5 or something). Comparing the result of "test" with an old one that I'd printed (and laminated), there's a few small differences such as points now being black instead of the line colour and pattern fill "9" has disappeared, but the colours have changed somewhat, for no apparent good reason. As a result I know have to change *all* of my scripts, except in those cases where I was using RGB colours. So, what little surprises may I expect in 5.0? -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Philipp K. J. <ja...@ie...> - 2015-03-05 15:30:04
|
I am having difficulties understanding the precise meaning of the "error" facility within the fit command. Can someone clarify? 1) The documentation mentions three "keywords": zerror yerror error z Are the synonyms? Or are there semantic differences? Is "error z" a fixed phrase, or is it also possible to have "error x" or something like that? 2) In the demos I found an example using "xyerror", which is not mentioned in the docs. What does that do? How does weighting the x-values enter into the calculation of the error (=SSR)? 3) What does the presence of zerror actually tell me (or gnuplot)? Is it correct to say that WITH "zerror" the last entry in the "using" spec is interpreted as the error column, whereas with "noerror", the last column is interpreted as the "y-value", and errors (=weights) are set equal to 1? Are there exceptions to this rule? |
|
From: BBands <bb...@gm...> - 2015-03-04 18:10:09
|
Interger division: Try (1/4.0)*x**4.
John
On Wed, Mar 4, 2015 at 8:49 AM, Wolfgang Schwanzer
<wol...@go...> wrote:
> Dear all!
>
>
>
> I'm a gnuplot novice and I'm really confused at the moment.
>
> Why is 0.25*x**4 not the same as (1/4)*x**4?
|
|
From: Dave H. <da...@ho...> - 2015-03-04 18:09:46
|
On Wed, 4 Mar 2015, Wolfgang Schwanzer wrote: > Why is 0.25*x**4 not the same as (1/4)*x**4? Because (1/4) evaluates to zero? -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Wolfgang S. <wol...@go...> - 2015-03-04 16:49:37
|
Dear all! I'm a gnuplot novice and I'm really confused at the moment. Why is 0.25*x**4 not the same as (1/4)*x**4? Please help. Thanks Wolfgang |
|
From: Dave H. <da...@ho...> - 2015-02-20 21:48:22
|
Gnuplot 4.6.6 on Yosemite 10.10.2 Not sure if this is a Gnuplot/Aqua/Mac issue, so... Plotting a graph (to an Aqua window) and using "Save As...", the window itself waltzes across the screen, diagonally, by about half a cm, each time. When it hits the opposite corner it resets :-) Even quitting and restarting it remembers where it left off (I've just tried it), so perhaps it isn't a Gnuplot issue after all? Anyone else see this? It's mildly annoying. -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: theozh <th...@gm...> - 2015-02-13 07:05:13
|
sorry, again... not "lc" but "tc" was missing... set label 1 "Text1" tc lt 1 ... is correct. |
|
From: theozh <th...@gm...> - 2015-02-13 06:58:20
|
just for completeness... correction: for labels "lc" was missing set label 1 "Text1" lc lt 1 ... |
|
From: theozh <th...@gm...> - 2015-02-13 04:11:28
|
aah... so easy... ok, spending an "lt 1" for each label and defining lt 1 beforehand and in case of change just redefining that single line. set linetype lc rgb "rgb" # or whatever set label 1 "Text1" lt 1 set label 2 "Text2" lt 1 ... set label n "TextN" lt 1 Thanks! > 'set linetype' is your friend. > > Details at 'help set linetype' > > John > |
|
From: BBands <bb...@gm...> - 2015-02-12 15:40:01
|
'set linetype' is your friend.
Details at 'help set linetype'
John
On Thu, Feb 12, 2015 at 1:10 AM, theozh <th...@gm...> wrote:
> a simple question...
>
> I haven't yet found a way to change e.g. the default textcolor (or other
> properties) of labels (or other objects).
|
|
From: theozh <th...@gm...> - 2015-02-12 09:10:30
|
a simple question... I haven't yet found a way to change e.g. the default textcolor (or other properties) of labels (or other objects). For example, the standard textcolor is black, so if you type: set label 1 "Text1" tc rgb "red" set label 2 "Text2" ... set label n "TextN" Text2 to "TextN" will be in black. OK, fine, it seems if you want n labels in red you have to specify each time the color for each label. I was hoping that there is something like: set textcolor rgb "red" # from now on all labels are in red or set style label tc rgb "red" set label 1 "Text1" set label 2 "Text2" ... set label n "TextN" Which would make it easier to change the color at once of all following labels or objects by simply change a single line of code. Is there another simple way to do that? |
|
From: Kevin K. <kk...@gm...> - 2015-02-10 20:27:14
|
Thanks for the tips. I was able to get a plot with both data points and hypertext labels on the plot but with only data points visible in the legend using a command of this form: plot <filename> using 1:2 title <title> w points, <filename> using 1:2:3 notitle w labels hypertext point lc rgb #FFFFFFFF note that I made the points associated with the hypertext labels transparent. I did this because I did not want to see visible points on the graph associated with the hypertext labels (that's what the first plot statement is for - to create the actual visible data points on the graph), yet the hypertext labels apparently don't work unless there is an actual point on the graph associated with the label via the "point" statement that follows "w labels hypertext". I tried setting the hypertext point size to 0 and also tried using nopoint, but these prevented the labels from showing up. Kevin On Sun, Feb 8, 2015 at 6:56 PM, Ethan A Merritt <EAM...@gm...> wrote: > On Tuesday, 03 February 2015 05:37:50 PM Kevin Klein wrote: > > I am trying to use Gnuplot 5's hypertext labels in conjunction with > > multiple datasets on the same plot and am finding that when I add the > > hypertext labels it removes the identifying color markings in my key. > > > > The following works fine and produces a plot with a legend/key in the > upper > > right with a blue box next to v5 and a green box next to v6: > > > > set term svg size 600,400 dynamic mousing name "test" > > set output "test.svg" > > plot "data_file.txt" using 1:2 title 'v5' w point pt 5 lc rgb 'blue', > > "data_file.txt" using 4:5 title 'v6' w point pt 5 lc rgb 'green' > > > > Now I want to recreate the same plot with some hypertext labels: > > > > set term svg size 600,400 dynamic mousing name "test" > > set output "test.svg" > > plot "data_file.txt" using 1:2:3 title 'v5' w labels hypertext point pt 5 > > lc rgb 'blue', "data_file.txt" using 4:5:6 title 'v6' w labels hypertext > > point pt 5 lc rgb 'green' > > > > The plot is created and the hypertext labels appear when I mouse over the > > data points, but my legend/key in the upper right no longer contains a > blue > > and green box next to the dataset titles. It is just blank white where > the > > two separate color points should be. Why is this happening? > > > Each plot style places a corresponding symbol in the key together with > its title. "with lines" places a line, "with boxes" places a box, > "with points" places a point, and so on. "with labels" does not place > a separate symbol because its primary feauture text and the corresponding > title already representes text. > > So your plot "with points" showed a point in the key. > Your plot "with labels" did not. Hypertext is actually not relevant here. > > Having said that, I am sympathetic to the idea that a plot using > "with labels point pointtype 7 lc 'green'" could place a filled green > circle next to the plot title just as it does next to each label in > the plot itself. I suggest you add that as a Feature Request on the > issues tracker on the project's SourceForge page. > > Meanwhile you could use the approach in the hypertext demo > http://gnuplot.sourceforge.net/demo_svg_5.0/hypertext.html > The data is plotted twice, once "with points" and then again > "with labels hypertext". The demo doesn't use a key, but if you > enable the key then the "with points" plot will be represented > by a corresponding point sample in the key. > > Ethan > > > > > > > > > Here are the contents of data_file.txt: > > > > 150 1 x1 185 1 x1 > > 105 1 x2 140 1 x2 > > 140 1 x3 180 1 x3 > > |
|
From: Elias A. <eli...@gm...> - 2015-02-10 07:52:44
|
On 02/09/2015 09:15 PM, Ethan Merritt wrote: > Ah, sorry, so what I really misunderstood was your statement "I do see > the difference with and without antialiasing". I thought you meant > you saw the same asymmetry with and without antialiasing. Now that I read it again I have to agree that sentence was not very well written. > But I am mystified about the asymmetry in the x11 screenshot. I can't > reproduce that. I only see it on one of the two machines I tried, although the setup is more or less the same (same configure options, “same” OS). If there is anything you want me to try on that machine, just ask. On the other hand, for me this problem is actually not severe. It does not affect my ability to read the plots, and for production quality plots I will use the pdf or png terminals anyway. Elias |
|
From: theozh <th...@gm...> - 2015-02-09 21:09:51
|
Dear gnuplot experts, if I have for example a 10x10 matrix like: 0.005 0.383 0.666 0.947 1.258 1.618 1.959 2.185 2.250 2.180 0.153 0.860 1.875 2.945 3.915 4.680 5.048 4.982 4.614 4.139 0.217 1.251 2.932 4.764 6.179 6.880 6.819 6.250 5.533 4.879 0.271 1.619 3.837 6.069 7.347 7.533 6.963 6.145 5.396 4.827 0.320 1.897 4.345 6.407 7.147 6.848 6.117 5.385 4.830 4.459 0.346 1.962 4.201 5.708 5.961 5.523 4.932 4.447 4.134 3.985 0.326 1.756 3.502 4.473 4.521 4.186 3.821 3.570 3.467 3.484 0.273 1.371 2.582 3.184 3.212 3.041 2.873 2.800 2.833 2.952 0.201 0.964 1.750 2.149 2.205 2.153 2.114 2.151 2.263 2.448 0.134 0.633 1.141 1.423 1.504 1.517 1.556 1.644 1.792 1.997 I thought it should be possible to draw a "topological" map with contour lines. Searching the web I found this description: http://stackoverflow.com/questions/20977368/filled-contour-plot-with-constant-color-between-contour-lines My gnuplot code: reset set contour base set cntrparam level 10 unset surface set table "Matrix3c.dat" splot "Matrix3.dat" matrix w l unset table set palette maxcolors 10 plot "Matrix3.dat" matrix with image, "Matrix3c.dat" w l lc rgb "black" Since in my case it is not a continous function but a matrix of 10x10 datapoints I still get a pattern of 10x10 color squares instead of uniform color areas between the contour lines. Do I have to interpolate and blow up the 10x10 matrix e.g. to a 100x100 matrix or are there better ways which I do not see? Thanks for any hints, Theo. |
|
From: Ethan M. <eam...@gm...> - 2015-02-09 20:15:35
|
Ah, sorry, so what I really misunderstood was your statement "I do see the difference with and without antialiasing". I thought you meant you saw the same asymmetry with and without antialiasing. So I take it we now agree that the problem is with qt's antialiasing. But I am mystified about the asymmetry in the x11 screenshot. I can't reproduce that. On Mon, Feb 9, 2015 at 10:51 AM, Elias Assmann <eli...@gm...> wrote: > On 02/09/2015 06:34 PM, Ethan A Merritt wrote: >> >> On Monday, 09 February 2015 01:24:00 PM Elias Assmann wrote: >>> >>> I now managed to compile gnuplot 5 against Qt5 on my laptop (the second >>> machine I referred to), and I do see the difference with and without >>> antialiasing. >> >> >> Maybe I'm still not understanding fully what you mean by asymmetric. >> Here is an enlargement of your attached screenshot qt_no-antialias.png. >> To my eye the '+' and '*' symbols for point types 1 and 2 look >> perfectly symmetric. > > > Please look at ‘qt_antialias.png’ instead. You will see that the ‘+’s are > symmetric, but the ‘x’s are not (in the +, x, and * markers). > > > Elias > |
|
From: Elias A. <eli...@gm...> - 2015-02-09 18:51:57
|
On 02/09/2015 06:34 PM, Ethan A Merritt wrote: > On Monday, 09 February 2015 01:24:00 PM Elias Assmann wrote: >> I now managed to compile gnuplot 5 against Qt5 on my laptop (the second >> machine I referred to), and I do see the difference with and without >> antialiasing. > > Maybe I'm still not understanding fully what you mean by asymmetric. > Here is an enlargement of your attached screenshot qt_no-antialias.png. > To my eye the '+' and '*' symbols for point types 1 and 2 look > perfectly symmetric. Please look at ‘qt_antialias.png’ instead. You will see that the ‘+’s are symmetric, but the ‘x’s are not (in the +, x, and * markers). Elias |