Skip to content
This repository
  • 4 commits
  • 5 files changed
  • 0 comments
  • 1 contributor
2  README.pod
Source Rendered
@@ -337,6 +337,8 @@ As an example, if line 3 of the input is "0 9 1 20"
337 337
   --dump               Instead of printing to gnuplot, print to STDOUT. For
338 338
                        debugging.
339 339
 
  340
+  --geometry           If using X11, specifies the size, position of the plot window
  341
+
340 342
 =head1 ACKNOWLEDGEMENT
341 343
 
342 344
 This program is originally based on the driveGnuPlots.pl script from
9  bin/feedgnuplot
@@ -102,7 +102,8 @@ sub interpretCommandline
102 102
              'title=s', 'xlen=f', 'ymin=f', 'ymax=f', 'xmin=f', 'xmax=f', 'y2min=f', 'y2max=f',
103 103
              'zmin=f', 'zmax=f', 'y2=s@', 'curvestyle=s{2}', 'curvestyleall=s', 'extracmds=s@',
104 104
              'size=s', 'square!', 'square_xy!', 'hardcopy=s', 'maxcurves=i', 'monotonic!',
105  
-             'extraValuesPerPoint=i', 'help', 'dump') or pod2usage(1);
  105
+             'extraValuesPerPoint=i', 'help', 'dump',
  106
+             'geometry=s') or pod2usage(1);
106 107
 
107 108
   # handle various cmdline-option errors
108 109
   if ( $options->{help} )
@@ -252,7 +253,9 @@ sub mainThread
252 253
     }
253 254
     else
254 255
     {
255  
-      open PIPE, "|gnuplot $dopersist" or die "Can't initialize gnuplot\n";
  256
+      my $geometry = defined $options{geometry} ?
  257
+        "-geometry $options{geometry}" : '';
  258
+      open PIPE, "|gnuplot $geometry $dopersist" or die "Can't initialize gnuplot\n";
256 259
     }
257 260
     autoflush PIPE 1;
258 261
 
@@ -961,6 +964,8 @@ As an example, if line 3 of the input is "0 9 1 20"
961 964
   --dump               Instead of printing to gnuplot, print to STDOUT. For
962 965
                        debugging.
963 966
 
  967
+  --geometry           If using X11, specifies the size, position of the plot window
  968
+
964 969
 =head1 ACKNOWLEDGEMENT
965 970
 
966 971
 This program is originally based on the driveGnuPlots.pl script from
1  completions/bash/feedgnuplot
@@ -35,5 +35,6 @@ complete -W                                     \
35 35
     --monotonic                                 \
36 36
     --extraValuesPerPoint                       \
37 37
     --dump                                      \
  38
+    --geometry                                  \
38 39
     --curvestyle                                \
39 40
     --legend' feedgnuplot
1  completions/zsh/_feedgnuplot
@@ -36,5 +36,6 @@ _arguments -S
36 36
     '(--3d)--monotonic[Resets plot if an X in the past is seen]'                        \
37 37
     '--extraValuesPerPoint[How many extra values are given for each data point]:'       \
38 38
     '--dump[Instead of printing to gnuplot, print to STDOUT]'                           \
  39
+    '--geometry[The X11 geometry string]:geometry string:'                              \
39 40
     '*--curvestyle[Additional styles for a curve]:curve id: :style:'                    \
40 41
     '*--legend[Legend for a curve]:curve id: :legend:'
10  debian/changelog
... ...
@@ -1,9 +1,15 @@
  1
+feedgnuplot (1.19) unstable; urgency=low
  2
+
  3
+  * added --geometry option to specify plot dimensions
  4
+
  5
+ -- Dima Kogan <dima@secretsauce.net>  Sat, 11 Feb 2012 21:04:42 -0800
  6
+
1 7
 feedgnuplot (1.18) unstable; urgency=low
2 8
 
3 9
   * data-ids can now include characters such as -. Any non-whitespace
4 10
     works
5 11
 
6  
- -- Dima Kogan <dkogan@secretsauce.net>  Tue, 27 Dec 2011 16:47:36 -0800
  12
+ -- Dima Kogan <dima@secretsauce.net>  Tue, 27 Dec 2011 16:47:36 -0800
7 13
 
8 14
 feedgnuplot (1.17) unstable; urgency=low
9 15
 
@@ -14,7 +20,7 @@ feedgnuplot (1.17) unstable; urgency=low
14 20
   [ Hermann Schwarting ]
15 21
   * add build dependency libtest-script-run-perl
16 22
 
17  
- -- Dima Kogan <dkogan@secretsauce.net>  Sun, 20 Nov 2011 19:17:22 -0800
  23
+ -- Dima Kogan <dima@secretsauce.net>  Sun, 20 Nov 2011 19:17:22 -0800
18 24
 
19 25
 feedgnuplot (1.16) unstable; urgency=low
20 26
 

No commit comments for this range

Something went wrong with that request. Please try again.