This is an archival dump of old wiki content --- see scipy.org for current material

Results 51 - 75 of 76 results out of about 490 pages. (0.17 seconds)

Cookbook/Matplotlib/MulticoloredLine . . . 1 match
...'), norm=plt.Normalize(0, 10)) lc.set_array(t) lc.set_linewidth(3) plt.gca().add_collection(lc) plt.xlim(-1, 1) plt.ylim(-1, 1) plt.show() }}} ---- CategoryCookbookMatplotlib...

2.8k - rev: 6 (current) last modified: 2015-10-24 17:48:23

Cookbook/Matplotlib/Matplotlib_and_Zope . . . 1 match
...external method in ZMI (e.g. Id -> mplchart, module name -> mpl, function name -> chart). 3. Click the Test tab and you should see the sine plot. ---- CategoryCookbookMatplotlib...

1.5k - rev: 4 (current) last modified: 2015-10-24 17:48:23

Cookbook/Matplotlib/Maps . . . 1 match
...and vectors over map projections. Examples that illustrate this and more can be found in the examples directory of the basemap source distribution. ---- CategoryCookbookMatplotlib...

4.0k - rev: 14 (current) last modified: 2015-10-24 17:48:24

Cookbook/Matplotlib/Loading_a_colormap_dynamically . . . 1 match
...rm[i],g[i],g[i]]) blue.append([xNorm[i],b[i],b[i]]) colorDict = {"red":red, "green":green, "blue":blue} return (colorDict) }}} ---- CategoryCookbookMatplotlib...

2.3k - rev: 2 (current) last modified: 2015-10-24 17:48:24

Cookbook/Matplotlib/LoadImage . . . 1 match
...~slippens/drupal/scipy_unscaledimsave ) * there was another (more direct) method suggested by http://jehiah.cz/archive/creating-images-with-numpy ---- CategoryCookbookMatplotlib...

1.7k - rev: 12 (current) last modified: 2015-10-24 17:48:24

Cookbook/Matplotlib/LaTeX_Examples . . . 1 match
...asterized}}} option (which is silently ignored). Some other plot elements do however. I am looking into a solution for this. -- MichaelMcNeilForbes CategoryCookbookMatplotlib...

9.4k - rev: 19 (current) last modified: 2015-10-24 17:48:23

Cookbook/Matplotlib/Interactive_Plotting . . . 1 match
..._wx2.py example script, and can then access the {{{mode}}} attribute of that object (self.toolbar.mode in that case) in your click handling method. ---- CategoryCookbookMatplotlib...

5.1k - rev: 6 (current) last modified: 2015-10-24 17:48:24

Cookbook/Matplotlib/Gridding_irregularly_spaced_data . . . 1 match
... Bin') plt.colorbar() }}} The binned data: {{attachment:bin_small.png}} Raw data superimposed on top of binned data: {{attachment:raw_small.png}} ---- CategoryCookbookMatplotlib...

9.4k - rev: 27 (current) last modified: 2015-10-24 17:48:26

Cookbook/Matplotlib/EmbeddingInWx . . . 1 match
.... For plots with many points, the redrawing can take some time, so it is best to only redraw when the figure is released. Have a read of the code. ---- CategoryCookbookMatplotlib...

3.1k - rev: 3 (current) last modified: 2015-10-24 17:48:23

Cookbook/Matplotlib/Django . . . 1 match
... with ".png". You can create an entry in your urls.py like this: {{{ ... (r'^charts/simple.png$', 'myapp.views.charts.simple'), ... }}} ---- CategoryCookbookMatplotlib...

1.5k - rev: 8 (current) last modified: 2015-10-24 17:48:25

Cookbook/Matplotlib/DeletingAnExistingDataSeries . . . 1 match
...>, <matplotlib.lines.Line2D instance at 0x427ce9ac>] >>> del ax.lines[1] >>> P.show() }}} which will plot three lines, and then delete the second. ---- CategoryCookbookMatplotlib...

0.9k - rev: 2 (current) last modified: 2015-10-24 17:48:24

Cookbook/Matplotlib/CompilingMatPlotLibOnSolaris10 . . . 1 match
...95191 * http://mail.python.org/pipermail/patches/2005-June/017820.html * http://mail.python.org/pipermail/python-bugs-list/2005-November/030900.html CategoryCookbookMatplotlib...

2.5k - rev: 6 (current) last modified: 2015-10-24 17:48:23

Cookbook/Matplotlib/Common_Errors . . . 1 match
...w(img, vmin=0, vmax=1, cmap=cm.gray, interpolation={{{nearest}}}). This also sets the color map to grays, and to use square blocks for the elements. ---- CategoryCookbookMatplotlib...

0.6k - rev: 2 (current) last modified: 2015-10-24 17:48:26

Cookbook/Matplotlib/Animations . . . 1 match
...ly implement the required methods, I am making them available to the users to manage themselves but am not assuming them in the axes drawing code. ---- CategoryCookbookMatplotlib...

11.2k - rev: 9 (current) last modified: 2015-10-24 17:48:24

Cookbook/Matplotlib/AdjustingImageSize . . . 1 match
...pylab.imshow(X1, aspect='preserve') axis2 = apply(pylab.axes, size2) pylab.imshow(X2, aspect='preserve') return axes1, axes2, figure }}} ---- . CategoryCookbookMatplotlib...

4.6k - rev: 6 (current) last modified: 2015-10-24 17:48:26

Cookbook/LoktaVolterraTutorial . . . 1 match
...of foxes') p.ylim(1, ymax) p.xlim(1, xmax) p.title('IF contours') f3.savefig('rabbits_and_foxes_3.png') p.show() }}} {{attachment:rabbits_and_foxes_3v2.png}} ---- CategoryCookbook...

8.6k - rev: 17 (current) last modified: 2015-10-24 17:48:23

Cookbook/KalmanFiltering . . . 1 match
...s[valid_iter],label='a priori error estimate') pylab.xlabel('Iteration') pylab.ylabel('$(Voltage)^2$') pylab.setp(pylab.gca(),'ylim',[0,.01]) pylab.show() }}} ---- CategoryCookbook...

2.2k - rev: 3 (current) last modified: 2015-10-24 17:48:23

Cookbook/KDTree . . . 1 match
...s" % t1-t0 #import profile # using Python's profiler is not useful if you are #profile.run('test()') # running the parallel search. }}} ---- CategoryCookbook...

11.0k - rev: 25 (current) last modified: 2015-10-24 17:48:23

Cookbook/Finding_Convex_Hull . . . 1 match
...n(pts) k += 1 return n.asarray(pts) if __name__ == "__main__": points = n.random.random_sample((2,40)) hull_pts = convex_hull(points) }}} ---- CategoryCookbook...

3.2k - rev: 3 (current) last modified: 2015-10-24 17:48:23

Cookbook/Data_Acquisition_with_PyUL . . . 1 match
...turned up the frequency on the function generator to 480 Hz. You can see, indeed, that's what the {{{psd()}}} function tells us: {{attachment:example4.png}} ---- CategoryCookbook...

5.3k - rev: 5 (current) last modified: 2015-10-24 17:48:23

Cookbook/Data_Acquisition_with_NIDAQmx . . . 1 match
... mythread = WaveformThread( x, 250 ) # start playing waveform mythread.start() # wait 5 seconds then stop time.sleep( 5 ) mythread.stop() }}} CategoryCookbook...

7.3k - rev: 8 (current) last modified: 2015-10-24 17:48:23

Cookbook/CommTheory . . . 1 match
...B, BER,'-s') plt.grid(True) plt.legend(('analytical','simulation')) plt.xlabel('Eb/No (dB)') plt.ylabel('BER') plt.show() }}} {{attachment:BPSK_BER.PNG}} ---- . CategoryCookbook...

3.5k - rev: 5 (current) last modified: 2015-10-24 17:48:25

Cookbook/C_Extensions . . . 1 match
...|newbie for writing numpy/scipy extensions]] * [[http://thread.gmane.org/gmane.comp.python.numeric.general/5234/focus=5234|Array data and struct alignment]] ---- CategoryCookbook...

5.6k - rev: 20 (current) last modified: 2015-10-24 17:48:25

Cookbook/BuildingArrays . . . 1 match
...urn a.repeat(y, axis=0).repeat(x, axis=1) >>> enlarge(a, x=2, y=2) array([[0, 0, 1, 1], [0, 0, 1, 1], [2, 2, 3, 3], [2, 2, 3, 3]]) }}} ---- . CategoryCookbook...

9.6k - rev: 30 (current) last modified: 2015-10-24 17:48:23

Cookbook/ArrayStruct_and_Pyrex . . . 1 match
...ct__}}} interface. (The shared memory stuff has only been tested on linux, but the rest should work anywhere.) = See also = * [[Cookbook/Pyrex_and_NumPy]] ---- CategoryCookbook...

4.2k - rev: 10 (current) last modified: 2015-10-24 17:48:23

Previous 1 2 3 4 Next