Thanks JJ!
It does, and you are exactly right, letting the legend "grow" downward while
holding the value of the lower left corner doesn't make sense.. I tried
calculating an offset, but the patch is a much nicer fix!
Soren
On Thu, Feb 26, 2009 at 9:27 PM, Jae-Joon Lee wrote:
> On Thu, Feb 26,
I made a little more progress, but i'm not sure i'm doing this the right way.
Suggestions?
from pylab import *
import numpy as np
#generate random temperature data
snp=[]
for i in range(0,65):
snp.append(np.random.randint(35,122))
#hide the labels. I don't want them.
rc('xtick', labelsize=0
Haibao Tang writes:
> Any ideas?
Yes, image clipping was unimplemented in the pdf backend. I added an
implementation (both on the trunk and on the 0.98.5 branch) that at
least gets this example and the dolphin right - please test it if you
have some other use case.
--
Jouni K. Seppänen
http://
On Thu, Feb 26, 2009 at 4:51 AM, Søren Nielsen
wrote:
> I've tried placing a legend using the loc = (x,y) .. and the legend is moved
> where I want it. the problem is, when I add new lines to the plot.. the
> legend grows, but upwards.. so the lower left point of the legend box is
> constant.. but
Hi,
If I have a figure:
h = pp.figure(num=14)
What is the best way to check to see if Figure 14 exists? I'm writing a
function that adds plots to a figure window. I want the function to
check if the figure exists, and if so, turn off autoscaling (using
Eric's suggested axes.set_autoscale_on(F
Hi, i'm wondering if there is an easy way to fill the background in a polar
graph with a specific color. If I were making a pie graph, it'd be
something like: pie([70,20,10]), where the first 70% is green, the next 20,
yellow, and the last 10, red. I've been experimenting with polar graphs
usin
Aaron R> wrote:
> I have an app which adds data to a plot. Everything is working, but
> when I add data to a plot that was zoomed in, it switches the display
> to a zoomed out view.
>
> def addData(self, xdata, ydata):
> # Need to save off current zoom level before adding new plot data
Just a follow-up: I managed to interpolate this problem away...
interpolated = []
iinds = []
for i in range(len(stockData.rinds)-1):
interpolated.append(s[stockData.rinds[i]])
iinds.append(stockData.inds[i])
interpolated.append((s[stockData.rinds[i]]*3.
I have an app which adds data to a plot. Everything is working, but
when I add data to a plot that was zoomed in, it switches the display
to a zoomed out view.
Here's a code snippet:
class MyPlotFrame(Frame):
def __init__(self):
Frame.__init__(self,None,-1,
See
http://matplotlib.sourceforge.net/examples/pylab_examples/image_clip_path.html
... and click on pdf
Any ideas?
Haibao
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the
Hi,
I've tried placing a legend using the loc = (x,y) .. and the legend is moved
where I want it. the problem is, when I add new lines to the plot.. the
legend grows, but upwards.. so the lower left point of the legend box is
constant.. but that's not the logical way for a legend box to grow..
sho
11 matches
Mail list logo