PDLPorters / PDL-Graphics-Gnuplot

Gnuplot-based plotting backend for PDL
https://p3rl.org/PDL::Graphics::Gnuplot
Other
8 stars 7 forks source link

xtics=>[] seems to fail under gnuplot 4.4 #30

Closed drzowie closed 11 years ago

drzowie commented 11 years ago

[From Diab Jerius, under Debian 6, PDL 2.4.11, Perl 5.12.2, Gnuplot 4.4 pl 0]

% GNUPLOT_INTERACTIVE=1 make test PERL_DL_NONLAZY=1 /proj/axaf/ots/pkgs/perl-5.12/x86_64-linux_debian-6.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/manifest.t .. skipped: Author tests not required for installation t/plot.t ...... 1/121 # Testing PDL::Graphics::Gnuplot 1.4b_rc1, Perl 5.012002, /proj/axaf/ots/pkgs/perl-5.12/x86_64-linux_debian-6.0/bin/perl testfile: pdl_graphics_gnuplot_test_pkug4Dj t/plot.t ...... 9/121

Failed test 'xvals plot (xtics=>[]) succeeded'

at t/plot.t line 437.

Failed test 'autogenerated tics work (case 2)'

at t/plot.t line 442.

t/plot.t ...... 82/121 window is type wxt

Is there a display window and does it show a parabola? (Y/n) t/plot.t ...... 86/121 Mouse over the plot window. Are there metrics at bottom that update? (Y/n) t/plot.t ...... 87/121 Try to scroll and zoom the parabola using the scrollbar or (mac) two-fingered scrolling in Y; use SHIFT to scroll in X, CTRL to zoom. Does it work? (Y/n)n t/plot.t ...... 88/121

Failed test 'parabola can be scrolled and zoomed'

at t/plot.t line 487.

Are there error bars in both X and Y, both increasing away from the apex, wider in X than Y? (Y/n) t/plot.t ...... 89/121 Gnuplot warning: empty z range [0:0], adjusting to [-1:1] Do you see a purple-yellow colormap image of a radial target, in 3-D? (Y/n) t/plot.t ...... 91/121 Try to rotate, pan, and zoom the 3-D image. Work OK? (Y/n) t/plot.t ...... 92/121 See a nice 3-D plot of a spiral? (Y/n) t/plot.t ...... 94/121 See the labels with words 'one','two','three','four', and 'five'? (Y/n) t/plot.t ...... 95/121 See a parabola (should be green) with error bar points on it (should be red)? (Y/n) t/plot.t ...... 97/121 See a double helix plot with variable point sizes and variable color? (Y/n) t/plot.t ...... 99/121 You should see a 9x9 rvals image, scaled from -0.5 to 9.0 in X and -0.5 to 8.5 in y. There should be a blank vertical bar 1/2 unit wide at the right side of the image. The other sides of the plot should be flush. Ok? (Y/n)

t/plot.t ...... 101/121 You should see two overlapping rvals images, with lower left pixels centered on (0,0) and (7,4), respectively, and a square root curve suprimposed. The y range should be flush with the top and bottom of the two images. The x range should be set by the image at left and the curve at right, running from -0.5 to 20.0. The curve should end at 19.0. Ok? (Y/n)

t/plot.t ...... 103/121 Gnuplot warning: empty y range [0:0], adjusting to [-1:1]

Looks like you failed 3 tests of 121.

t/plot.t ...... Failed 3/121 subtests (less 2 skipped subtests: 116 okay)

Test Summary Report

t/plot.t (Wstat: 0 Tests: 121 Failed: 3) Failed tests: 80-81, 88 Files=2, Tests=121, 53 wallclock secs ( 0.07 usr 0.01 sys + 1.68 cusr 0.52 csys = 2.28 CPU) Result: FAIL Failed 1/2 test programs. 3/121 subtests failed. make: *\ [test_dynamic] Error 255

drzowie commented 11 years ago

Problem was gnuplot 4.4 not supporting autojustify. Now we don't emit autojustify unless gnuplot version is >= 4.6