Hi everyone,
I am trying to make a color-map which will respond to the range of values in
the data itself. That is - I want to take one of the mpl colormaps and use
parts of it, depending on the range of the data.
In particular, I am interested in using the plt.cm.RdYlBu_r colormap. If the
data h
Greetings everyone,
This year, there will be two days of tutorials (June 28th and 29th) before the
main SciPy 2010 conference. Each of the two tutorial tracks (intro, advanced)
will have a 3-4 hour morning and afternoon session both days, for a total of 4
intro sessions and 4 advanced sessions.
T
2010/3/26 timothee cezard :
> does it make sense to use something like
> plt.bar(bins, nb_per_bin, width=(max(bins)-min(bins)) / (1.5*len(bins)))
I think that should work, although you should use (max(bins) -
min(bins) / 1.5 / (len(bins) - 1), but I would suggest:
bounds = {some N + 1 array}
cent
On Fri, Mar 26, 2010 at 12:42 PM, konstellationen wrote:
>
> >>You can try:
>
> >>xticklabels = getp(gca(), 'xticklabels')
> >>yticklabels = getp(gca(), 'yticklabels')
> >>setp(xticklabels, fontsize=14, weight='bold')
> >>setp(yticklabels, fontsize=14, weight='bold')
>
> I've tried this, but sinc
Hi,
Does the box have multiple python versions installed, and are you sure that
apache is using the
same version and/or site packages as when you run it from the command line ?
Regards,
Rune V. Sjøen
On Fri, Mar 26, 2010 at 8:07 PM, Ken Dere wrote:
> Hi,
>
> I am trying to import pylab into an
I was not aware of color cycles, but it looks like this is the way to
go about solving my problem.
Below is an example that actually works.
--
import pylab as P
mu, sigma = 200, 25
x0 = mu + sigma*P.randn(1)
x1 = mu + sigma*P.randn(7000)
x2 = mu + sigma*P.ran
Hi,
I am trying to import pylab into an application running under an Apache wsgi
server. The error I get is that if it tries to import matplotlib.cbook.
The application can import numpy, scipy etc just fine.
the error message is that matplotlib has no module cbook.
I can import matplotlib OK
>>You can try:
>>xticklabels = getp(gca(), 'xticklabels')
>>yticklabels = getp(gca(), 'yticklabels')
>>setp(xticklabels, fontsize=14, weight='bold')
>>setp(yticklabels, fontsize=14, weight='bold')
I've tried this, but since I've set rc('text', usetex=True), the ticklabels
are only responsive to
I need help finding the right path to accomplish some custom "visual masking"
and corresponding array-mask construction:
For much of what I need, scikits.timeseries initially sounded useful but
either I misunderstand how to use it, or it just can't do most of what I want,
which is:
1: create
Hello,
pylab.rcParams['path.simplify'] = false
did the job. Thank you very much!
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune appl
In the extended histogram demo:
http://matplotlib.sourceforge.net/examples/pylab_examples/histogram_demo_extended.html?highlight=codex%20hist
Multiple data are shown in parallel with different colors, using a
single hist command. These colors seem to be automatically chosen,
however, and I cannot
This may be the fault of the known bug in path simplification.
If you set the rcParam "path.simplify" to False does that resolve it?
(If that's the case, this bug should be fixed in the next release).
Mike
On 03/26/2010 11:12 AM, Gökhan Sever wrote:
On Fri, Mar 26, 2010 at 3:23 AM, Ruben Mo
On Fri, Mar 26, 2010 at 3:23 AM, Ruben Moor wrote:
> Hello,
>
> I use the following plot command
>
> plot(tdata, vdata, '.-')
>
> with an unexpected result (s. attached png). Some points are not
> connected. If I plot with linestyle '-' you can't even see them.
> Is that a known issue ? What do I
On Fri, Mar 26, 2010 at 3:06 AM, konstellationen
wrote:
> Hi, I am making plots for a publication using matplotlib which requires the
> use of heavy fonts. I am rendering text in the graph with Latex, which has a
> limited capability to make fonts more heavy. I partially solved the problem
> using
* The problem is universally seen on WinXP, WinVista and Ubuntu 9.10.
* print matplotlib.__version__ = 0.99.1
* mpl was obtained from pythonxy on Windows and EPD on Linux
* no customizations to matplotlibrc
The attached example shows a square picture with equal settings for X and Y
axes. While the
Thanks Friedrich,
I though the width was calculated on the fly.
does it make sense to use something like
plt.bar(bins, nb_per_bin, width=(max(bins)-min(bins)) / (1.5*len(bins)))
If I want something more generic
Tim
Friedrich Romstedt wrote:
> You must give a proper :param width: argument:
>
>
Hello,
I use the following plot command
plot(tdata, vdata, '.-')
with an unexpected result (s. attached png). Some points are not
connected. If I plot with linestyle '-' you can't even see them.
Is that a known issue ? What do I do wrong ?
<>--
Hi,
I am making plots for a publication using matplotlib which requires the use
of heavy fonts. I am rendering text in the graph with Latex, which has a
limited capability to make fonts more heavy. I partially solved the problem
using the \boldmath Latex command for the axis-labels and text insi
18 matches
Mail list logo