in reply to GnuPlot plot2d plots only last pushed value to the dataset object array.!!?
Just a guess, but does it improve matters if you declare @tempa as my inside the loop? eg.
my @tempa=splice(@rfevma2437,0,11);If @tempa is not local to the loop it doesn't go out of scope and so your references to it may be being overwritten each time through the loop.
(Added note: Even if this doesn't fix the problem, it's still good practice to limit the scope of such variables. I'd also suggest calling it something slightly more meaningful like @yvals perhaps.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: GnuPlot plot2d plots only last pushed value to the dataset object array.!!?
by goutham (Initiate) on Jun 16, 2015 at 15:26 UTC |