hello,
I have a function, which I am plotting. I want to add a line positioned
at, say, the mean of the function, so I want to do plot([x,x],[y0,y1]).
In order to get y0, and y1, my brute force trial and error browsing of
the API lead me to :
To produce a batch of pdfs, I'm using:
close ()
figure (1, figsize=(11,8))
...
savefig (open (whatever, 'w'))
Works, but causes my display to flash, I think each time either close() or
figure() is called (not sure which). Any better way?
Neal Becker [EMAIL PROTECTED] writes:
To produce a batch of pdfs, I'm using:
[...]
Works, but causes my display to flash, I think each time either close() or
figure() is called (not sure which). Any better way?
To avoid opening a window at all, use a non-interactive backend by
putting
Johann Cohen-Tanugi
[EMAIL PROTECTED] writes:
I have a function, which I am plotting. I want to add a line positioned
at, say, the mean of the function, so I want to do plot([x,x],[y0,y1]).
Try axvline(x).
--
Jouni K. Seppänen
http://www.iki.fi/jks
Hi,
I had a look through the archives but couldn't find an answer to this.
Using the tkagg backend (agg is fine) I get a segmentation fault
doing a simple plot.
gdb returns the following:
362 Point* ll_api() {return _ll;}
Current language: auto; currently c++
(gdb) bt
#0 0xb6fc1bac in
I have a simple window to open a file that the data is then used to make a
graph:
The code for that part is:
=code
window = Tkinter.Tk()
#window.withdraw() -- not sure what this does
window.title('hello world')
w = Tkinter.Label(window,text=hello, again)
w.pack
I have an example of fitting distributions to bus arrival times using
'R' that may be helpful. I wanted to calculate the latest time I could
arrive at the bus stop and have a better than 95% chance of catching
the bus. I tend to use R and Scipy whereever each is strongest.