Hi Craig
I am doing multiple line plots in one plot and get the error stream if I
set "binary => 1" along with other plot options. This is only on Linux
with Gnuplot 4.4. I have a Gnuplot 4.6 setup on Linux and Windows that
has no problems with the same code.
The errors are available at http://pastebin.com/WPwxxSXB or also
attached here as a text file:
Thanks
Vikas
PDL::Graphics::Gnuplot 2.003 is being used
Using term x11
***************************************************************************
WARNING: Your gnuplot version (4.4) is now deprecated and will not
be supported for long. The earliest recommended version is 4.6.
To silence this warning, set the GNUPLOT_DEPRECATED environment variable.
***************************************************************************
multiplot> plot '-' binary record=(253)
format="%double%double%double%double%double" using 1:2:3:4:5 title "Price"
with financebars linecolor rgb "white " , '-' binary record=(253)
format="%double%double" using 1:2 title "Upper Band(5)" axes x1y1 with lines
linecolor rgb "red " , '-' binary record=(253) format="%double%double"
using 1:2 title "Middle Band(5)" axes x1y1 with lines linecolor rgb "yellow
" , '-' binary record=(253) format="%double%double" using 1:2 title "Lower
Band(5)" axes x1y1 with lines linecolor rgb "pink "
^
Gnuplot: warning: Skipping data file with no valid points
multiplot> plot '-' binary record=(253)
format="%double%double%double%double%double" using 1:2:3:4:5 title "Price"
with financebars linecolor rgb "white " , '-' binary record=(253)
format="%double%double" using 1:2 title "Upper Band(5)" axes x1y1 with lines
linecolor rgb "red " , '-' binary record=(253) format="%double%double"
using 1:2 title "Middle Band(5)" axes x1y1 with lines linecolor rgb "yellow
" , '-' binary record=(253) format="%double%double" using 1:2 title "Lower
Band(5)" axes x1y1 with lines linecolor rgb "pink "
^
Gnuplot: warning: Skipping data file with no valid points
multiplot> plot '-' binary record=(253)
format="%double%double%double%double%double" using 1:2:3:4:5 title "Price"
with financebars linecolor rgb "white " , '-' binary record=(253)
format="%double%double" using 1:2 title "Upper Band(5)" axes x1y1 with lines
linecolor rgb "red " , '-' binary record=(253) format="%double%double"
using 1:2 title "Middle Band(5)" axes x1y1 with lines linecolor rgb "yellow
" , '-' binary record=(253) format="%double%double" using 1:2 title "Lower
Band(5)" axes x1y1 with lines linecolor rgb "pink "
^
Gnuplot: warning: Skipping data file with no valid points
multiplot> plot '-' binary record=(253)
format="%double%double%double%double%double" using 1:2:3:4:5 title "Price"
with financebars linecolor rgb "white " , '-' binary record=(253)
format="%double%double" using 1:2 title "Upper Band(5)" axes x1y1 with lines
linecolor rgb "red " , '-' binary record=(253) format="%double%double"
using 1:2 title "Middle Band(5)" axes x1y1 with lines linecolor rgb "yellow
" , '-' binary record=(253) format="%double%double" using 1:2 title "Lower
Band(5)" axes x1y1 with lines linecolor rgb "pink "
^
Gnuplot: warning: Skipping data file with no valid points
PDL::Graphics::Gnuplot: ERROR: the deprecated pre-v4.6 gnuplot backend issued
an error:
multiplot> plot '-' binary record=(253)
format="%double%double%double%double%double" using 1:2:3:4:5 title "Price"
with financebars linecolor rgb "white " , '-' binary record=(253)
format="%double%double" using 1:2 title "Upper Band(5)" axes x1y1 with lines
linecolor rgb "red " , '-' binary record=(253) format="%double%double"
using 1:2 title "Middle Band(5)" axes x1y1 with lines linecolor rgb "yellow
" , '-' binary record=(253) format="%double%double" using 1:2 title "Lower
Band(5)" axes x1y1 with lines linecolor rgb "pink "
^
line 0: x range is invalid
at ../drzowie-pdl-graphics-gnuplot/lib//PDL/Graphics/Gnuplot.pm line 7433
PDL::Graphics::Gnuplot::_checkpoint('PDL::Graphics::Gnuplot=HASH(0x40e78a0)',
'main', 'HASH(0x40e73f0)') called at
../drzowie-pdl-graphics-gnuplot/lib//PDL/Graphics/Gnuplot.pm line 3250
PDL::Graphics::Gnuplot::plot(undef, undef, 'HASH(0x40e05f8)',
'PDL=SCALAR(0x40a08d8)', 'PDL=SCALAR(0x40e71b0)', 'PDL=SCALAR(0x4093918)',
'PDL=SCALAR(0x40b8b40)', 'PDL=SCALAR(0x4064ee8)', 'HASH(0x40aff40)', ...)
called at /home/vicash/github/financeta/blib/lib/App/financeta/gui.pm line 1985
App::financeta::gui::plot_data_gnuplot('App::financeta::gui=HASH(0x6d9db8)',
'Prima::MainWindow=HASH(0x8928e0)', 'PDL=SCALAR(0x40affa0)', 'AMZN', 'OHLC',
'ARRAY(0x40e44d0)') called at
/home/vicash/github/financeta/blib/lib/App/financeta/gui.pm line 1912
App::financeta::gui::plot_data('App::financeta::gui=HASH(0x6d9db8)',
'Prima::MainWindow=HASH(0x8928e0)', 'PDL=SCALAR(0x40affa0)', 'AMZN', 'OHLC',
'ARRAY(0x40e44d0)') called at
/home/vicash/github/financeta/blib/lib/App/financeta/gui.pm line 1657
App::financeta::gui::load_new_tab('App::financeta::gui=HASH(0x6d9db8)',
'Prima::MainWindow=HASH(0x8928e0)') called at
/home/vicash/github/financeta/blib/lib/App/financeta/gui.pm line 131
App::financeta::gui::__ANON__('Prima::MainWindow=HASH(0x8928e0)',
'security_open', 0) called at
/home/vicash/applications/lib/perl5//x86_64-linux-gnu-thread-multi/Prima.pm
line 93
eval {...} called at
/home/vicash/applications/lib/perl5//x86_64-linux-gnu-thread-multi/Prima.pm
line 93
Prima::run('Prima') called at
/home/vicash/github/financeta/blib/lib/App/financeta/gui.pm line 351
App::financeta::gui::run('App::financeta::gui=HASH(0x6d9db8)') called
at /home/vicash/github/financeta/blib/lib/App/financeta.pm line 41
App::financeta::run('App::financeta', 'debug', 1) called at
./bin/financeta line 14_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl