[feedgnuplot] 25/42: y2-axis curves no longer have a thicker line by default

Dima Kogan dkogan-guest at alioth.debian.org
Sun Oct 20 08:04:07 UTC 2013


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to tag v1.25
in repository feedgnuplot.

commit 99369d1542d281502ef5571595e7bc308c50e7d5
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat Oct 19 16:08:13 2013 -0700

    y2-axis curves no longer have a thicker line by default
    
    This was causing an issue where gnuplot would complain if a points-only
    --curvestyle was plotted on the y2 axis. This is because --linewidth makes no
    sense for a points-only curve
---
 bin/feedgnuplot |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index c89315e..3fe20e9 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -499,7 +499,7 @@ sub mainThread
     {
       foreach (@{$options{y2}})
       {
-        addCurveOption($_, 'axes x1y2 linewidth 3');
+        addCurveOption($_, 'axes x1y2');
       }
     }
 
@@ -1304,7 +1304,14 @@ z-axis label applies I<only> to 3d plots.
 
 Plot the data specified by this curve ID on the y2 axis. Without --dataid, the
 ID is just an ordered 0-based index. Does not apply to 3d plots. Can be passed
-multiple times, or passed a comma-separated list
+multiple times, or passed a comma-separated list. By default the y2-axis curves
+look the same as the y-axis ones. I.e. the viewer of the resulting plot has to
+be told which is which via an axes label, legend, etc. Prior to version 1.25 of
+feedgnuplot the curves plotted on the y2 axis were drawn with a thicker line.
+This is no longer the case, but that behavior can be brought back by passing
+something like
+
+ --y2 curveid --curvestyle curveid 'linewidth 3'
 
 =item
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git



More information about the debian-science-commits mailing list