Skip to content

Commit c561d75

Browse files
committed
update users guide
svn path=/trunk/matplotlib/; revision=485
1 parent 8fda0f5 commit c561d75

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

INSTALL

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ WINDOWS
7878

7979
With a standard python + Numeric/numarray + matplotlib, the
8080
following backends should work on windows: agg, tkagg, ps, svg. If
81-
you want others, eg a wx, wxarr, gtk or gtkagg, you'll need to
81+
you want others, eg a wx, wxagg, gtk or gtkagg, you'll need to
8282
install the requisite GUI toolkits. This is fairly easy, as both
8383
wxpython and pygtk come with windows friendly installers. The
8484
latter includes an additional requirement of the GTK runtime.

TODO

+4-2
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@
479479

480480
-- embedding_in_wx3 seems broken with numeric
481481

482-
-- add new connect to API_CHANGES
482+
-- DONE add new connect to API_CHANGES
483483

484484
-- port new toolbar to embedding examples
485485

@@ -531,4 +531,6 @@ ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; c
531531

532532
-- DONE scatter demo2 whacked
533533

534-
-- fail intelligently when matplotlib data is not found
534+
-- fail intelligently when matplotlib data is not found
535+
536+
-- \cal{B} doesn't parse in s = r'$\cal{R}\prod_{i=\alpha\cal{B}}^\infty a_i\rm{sin}(2 \pi f x_i)$'

examples/psd_demo.py

+6-10
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,16 @@
88
nse = randn(len(t))
99
r = exp(-t/0.05)
1010

11-
cnse = convolve(nse, r, mode=2)*dt
11+
cnse = conv(nse, r)*dt
1212
cnse = cnse[:len(t)]
1313
s = 0.1*sin(2*pi*t) + cnse
1414

15-
figure(1)
15+
subplot(211)
1616
plot(t,s)
17-
18-
figure(2)
17+
subplot(212)
1918
psd(s, 512, 1/dt)
2019

21-
#savefig('psd_demo.png')
2220
show()
23-
24-
2521
"""
2622
% compare with matlab
2723
dt = 0.01;
@@ -31,10 +27,10 @@
3127
cnse = conv(nse, r)*dt;
3228
cnse = cnse(1:length(t));
3329
s = 0.1*sin(2*pi*t) + cnse;
34-
figure(1)
35-
plot(t,s)
3630
37-
figure(2)
31+
subplot(211)
32+
plot(t,s)
33+
subplot(212)
3834
psd(s, 512, 1/dt)
3935
4036
"""

0 commit comments

Comments
 (0)