mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
custom settings are now set AFTER all our internal ones
Thus the custom settings take precedence
This commit is contained in:
parent
6f091d1cf2
commit
5758865246
@ -720,11 +720,6 @@ sub mainThread
|
|||||||
print(PIPE "set xdata time\n");
|
print(PIPE "set xdata time\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
# add the extra global options
|
|
||||||
print(PIPE "$_\n") foreach (@{$options{extracmds}});
|
|
||||||
print(PIPE "set $_\n") foreach (@{$options{set}});
|
|
||||||
print(PIPE "unset $_\n") foreach (@{$options{unset}});
|
|
||||||
|
|
||||||
# set up histograms
|
# set up histograms
|
||||||
$options{binwidth} ||= 1; # if no binwidth given, set it to 1
|
$options{binwidth} ||= 1; # if no binwidth given, set it to 1
|
||||||
print PIPE
|
print PIPE
|
||||||
@ -747,6 +742,11 @@ sub mainThread
|
|||||||
sendRangeCommand( "zrange", $options{zmin}, $options{zmax} );
|
sendRangeCommand( "zrange", $options{zmin}, $options{zmax} );
|
||||||
sendRangeCommand( "cbrange", $options{zmin}, $options{zmax} ) if($options{colormap});
|
sendRangeCommand( "cbrange", $options{zmin}, $options{zmax} ) if($options{colormap});
|
||||||
|
|
||||||
|
# add the extra global options
|
||||||
|
print(PIPE "$_\n") foreach (@{$options{extracmds}});
|
||||||
|
print(PIPE "set $_\n") foreach (@{$options{set}});
|
||||||
|
print(PIPE "unset $_\n") foreach (@{$options{unset}});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user