Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1188 "aqua" fails to render an image

5.0
closed-works-for-me
nobody
Drivers (161)
5
2013-10-03
2012-11-04
Ben Abbott
No

The commands below render the proper image when using the "qt" or "x11" terminal. The "aqua" terminal produces a blank plot box.

set terminal aqua
set xrange [-5.000000000000000e-01:3.500000000000000e+00] noreverse;
set yrange [-5.000000000000000e-01:4.500000000000000e+00] reverse;
unset key;
unset colorbox;
plot "image.png" binary filetype=png w rgbimage

I'm running Gnuplot 4.6 patchlevel 1 and AquaTerm v1.1.1 (from MacPorts) on MacOS 10.7.5.

Discussion

1 2 > >> (Page 1 of 2)
  • Ben Abbott
    Ben Abbott
    2012-11-04

    png for failing example

     
    Attachments
  • Ethan Merritt
    Ethan Merritt
    2012-11-15

    Does it work any better if you append the keyword "failsafe" to the plot command?
    That should bypass the special purpose driver routine term->image() and instead draw individual colored rectangles. If it works, that isolates the problem to a specific routine.

     
  • Ben Abbott
    Ben Abbott
    2012-11-15

    Ethan, you suggestion worked. Adding "failsafe" results in the expected result

     
  • Ben Abbott
    Ben Abbott
    2013-02-23

    For anyone who comes across this and needs a work around, reverting to gnuplot 4.6.0 works for me.

     
  • Ethan Merritt
    Ethan Merritt
    2013-02-25

    I have reverted the patch in both 4.6 and 4.7.
    At some point it would be nice if someone either confirmed that clipping of images does work in aquaterm or sent me a replacement patch fixing it.

     
  • Mojca Miklavec
    Mojca Miklavec
    2013-02-25

    Here's where the fun begins. I can confirm that the example doesn't work on gnuplot 4.6.1 and AquaTerm from MacPorts. However, it does work if I compile the CVS version before reverting the patch, using exactly the same AquaTerm Framework and application (from MacPorts). That is totally confusing and I cannot explain it yet.

    Tiny request: can the bug ticket please be left open until the clipping problem is solved? If nothing else, with the latest CVS the following fails to work properly under all circumstances:

    set xrange [0:3] noreverse;
    set yrange [0:4] reverse;
    unset key;
    unset colorbox;
    plot "image.png" binary filetype=png w rgbimage
    
     
  • Ben Abbott
    Ben Abbott
    2013-02-25

    Macports is an convenient package manager for debugging these sort of compatibility problems. I tried using gnuplot 4.6.1 with AquaTerm 1.0.1 (bug persists).

    sudo port activate gnuplot @4.6.1_0+aquaterm+luaterm+pangocairo+qt+x11
    sudo port activate aquaterm @1.0.1_5
    

    I also tried gnuplot 4.6.0 with AquaTerm 1.1.1 (bug is not there)

    sudo port activate gnuplot @4.6.0_2+aquaterm+luaterm+pangocairo+qt+x11
    sudo port activate aquaterm @1.1.1_0
    

    I don't think the problem can be with the MacPorts port file since the problem is also present with Fink. However, the MacPorts portfile for Aquaterm 1.1.1 is at the link below.

    https://trac.macports.org/browser/trunk/dports/aqua/aquaterm/Portfile

     
  • Ethan Merritt
    Ethan Merritt
    2013-10-03

    • status: open --> closed-works-for-me
    • Group: --> 5.0
     
1 2 > >> (Page 1 of 2)