From: Eric F. <ef...@ha...> - 2012-08-24 05:44:47
|
On 2012/08/23 6:41 PM, Fernando Perez wrote: > Hi Eric, > > On Thu, Aug 23, 2012 at 7:56 PM, Eric Firing <ef...@ha...> wrote: >> I'm not sure I understand what you are getting at, but I don't think there >> should be any interface changes for plot or for their log variants. > > I probably phrased my question poorly. I'm just wondering, how would > one use the proposed stackplot function to obtain a stacked plot but > that used log axes (x, y or both)? One would follow the stackplot call with calls to xscale('log') and/or yscale('log'). This works fine for the x-axis (if x values are positive), but when the y-axis is log, the bottom region is not filled, presumably because it is trying to fill down to zero. I haven't looked at the code, so I don't know whether there is some way of improving this behavior without the stackplot call knowing beforehand that it will be dealing with a log axis. Eric > > Cheers, > > f > |