mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
minor streamlining
This commit is contained in:
parent
e4f3122d3f
commit
139f89e145
@ -486,9 +486,9 @@ sub plotStoredData
|
||||
{
|
||||
# send each point to gnuplot. Ignore the first "point" since it's the
|
||||
# curve options
|
||||
for my $elem (@{$buf}[1..$#$buf]) {
|
||||
my ($x, $y) = @$elem;
|
||||
print PIPE "$x $y\n";
|
||||
for my $elem (@{$buf}[1..$#$buf])
|
||||
{
|
||||
print PIPE "@$elem\n";
|
||||
}
|
||||
print PIPE "e\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user