[Matplotlib-users] plot with drop shadow

2008-12-01 Thread Nate
Is there a way to plot lines with drop shadows? Thanks, Nate - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread John Hunter
On Mon, Dec 1, 2008 at 9:17 AM, Nate [EMAIL PROTECTED] wrote: Is there a way to plot lines with drop shadows? Nothing built-in -- but you can fake it:: import matplotlib.pyplot as plt import numpy as np t = np.arange(0.0, 2.0, 0.01) s = np.sin(2*np.pi*t) fig =

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread twentypoundtrout
John Hunter-4 wrote: On Mon, Dec 1, 2008 at 9:17 AM, Nate [EMAIL PROTECTED] wrote: Is there a way to plot lines with drop shadows? Nothing built-in -- but you can fake it:: import matplotlib.pyplot as plt import numpy as np t = np.arange(0.0, 2.0, 0.01) s =

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread Mike Hearne
Along similar lines, has anyone figured out a way to have a drop shadow effect for text on a plot? twentypoundtrout [EMAIL PROTECTED] 12/01/08 01:43 PM To matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] plot with drop shadow John Hunter-4 wrote: On Mon

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread Alan G Isaac
Mike Hearne wrote: Along similar lines, has anyone figured out a way to have a drop shadow effect for text on a plot? Out of curiosity, what is the payoff (in communication or aesthetics) of such a thing? Thanks, Alan Isaac

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread John Hunter
On Mon, Dec 1, 2008 at 2:43 PM, twentypoundtrout [EMAIL PROTECTED] wrote: So there is no way to say plot a line. Grab that image. Apply a standard SVG filter (like Gaussian). And overlay the blur? I do not know the PIL well enough to know if this is feasible. You can do this using an

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread twentypoundtrout
Alan G Isaac wrote: Mike Hearne wrote: Along similar lines, has anyone figured out a way to have a drop shadow effect for text on a plot? Out of curiosity, what is the payoff (in communication or aesthetics) of such a thing? I don't think that it communicates any more

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread Mike Hearne
PROTECTED] 12/01/08 02:25 PM To matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] plot with drop shadow Mike Hearne wrote: Along similar lines, has anyone figured out a way to have a drop shadow effect for text on a plot? Out of curiosity, what is the payoff

Re: [Matplotlib-users] plot with drop shadow

2008-12-01 Thread Alan G Isaac
On 12/1/2008 7:27 PM Mike Hearne apparently wrote: The long answer is: I have a map with a varying background. I'd like to be able to create a white drop-shadow behind darker text, so that the text can stand out reasonably clearly against most colored backgrounds. OK. I can imagine