From: John H. <jdh...@ac...> - 2004-06-15 02:03:17
|
>>>>> "Flavio" == Flavio Codeco Coelho <fcc...@fi...> writes: Flavio> Hi, This subject has already come up before and John Flavio> suggested using Flavio> f = figure(1, frameon=False) Flavio> for a totally transparent background which works fine as Flavio> an optional argumento to subplot in the matlab interface Flavio> subplot(111, frameon=False) Flavio> I want to know what would be the equivalent to Flavio> f._figurePatch.set_alpha(0.0) Flavio> for the matlab interface, since subplot does not have a Flavio> _figurePatch atribute. I'm not sure exactly what you are asking. Axes and Subplot don't have a _figurePatch, but they do have an _axesPatch, which as you note you can turn off by using frameon=False. If you want to set it's alpha, do ax = subplot(111) frame = ax.get_frame() frame.set_alpha(0.0) Is this what you are looking for? JDH |