From: Thomas on
Hi everyone. I've been working on a GUI, but I've encountered a somewhat mysterious glitch. I have a single figure with multiple axes on it. The overall setup is rather complicated, but the pertinent details are as follows:

One of the sets of axes displays a bar-graph which I want to be transparent. (I actually originally was using a plotyy(... ,'bar') and wanted to see two data sets simultaneously; hence the need for transparency. However, the problem remains even if I just use a simple 'bar' command.)

Two other sets of axes contain images displayed via imagesc() with many points overlaid on top via plot().

Here's the mysterious behavior: When I change the bar graph to be transparent (using either alpha(...) or set(...'facealpha'), the points in the other sets of axes immediately act as if clipping has been turned off. The underlying image, however, remains normal. I've queried every object, but they all report that clipping is set to on, and remain unchanged even if I try explicitly resetting clipping to on. Even if I turn the transparency off, the points remain broken (i.e. not clipping) even if I redraw them and the underlying picture. The only way I can restore things to normal is to reload the datafile from which the images and points are taken, effectively resetting the entire GUI.

I've been trying to figure this out for quite a while now, but I haven't been able to find anything similar to this, so I thought I'd finally ask around. I apologize in advance if this has already been asked. I'd really appreciate any ideas or insight that any of you have. Thanks!

Tom