Am 19.10.2012 23:26, schrieb Damon McDougall:
> Correct me if I'm wrong, but I don't even think you need them. I think
> the default cmap behaviour is to normalise to the min and max of the
> data.
yes, default cmap behaviour will normalise to the min and max of the
data.
--
thanks for help,
finally I found the following solution
elmar
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
N = 200
x = np.linspace(0,1,N)
y = np.random.randn(N)
z = np.random.randn(N)*2+5
cm = mpl.cm.get_cmap('RdYlBu')
sc = plt.scatter(x, y, c=z,
Hi,
is there a way to adjust the marker color in a xy-plot in relation to
the value of a third parameter. Something as the following - not working
- example 1.
Example 2 is working but rather slow for large arrays.
cheers
Elmar
# example 1
import matplotlib.pyplot as plt
x = [1,2,3,4]
y
Am 28.07.2012 21:46, schrieb Christoph Gohlke:
> On 7/28/2012 12:29 PM, elmar werling wrote:
>> Hi,
>>
>> just installed matplotlib by doing
>>
>> git clone https://github.com/matplotlib/matplotlib
>> cd matplotlib
>> python3 setup.py build
>>
Hi,
just installed matplotlib by doing
git clone https://github.com/matplotlib/matplotlib
cd matplotlib
python3 setup.py build
sudo python3 setup.py install
When I import matplotlib.pyplot I get the following error message.
Any help is wellcome
Elmar
Python 3.2.1 (default, Jul 18 2011, 16
yeap, thanks a lot.
after installing ffmpeg everything is working smoothly.
On 29.12.2011 12:12, Fabrice Silva wrote:
> It seems that the Animation.save method assume that ffmpeg is installed,
> as there is no cmd_gen keyword argument for this method.
>
> As a quick and dirty fix, you may chan
Hi,
running the "AnimatedImage.py" I get the appended error message.
What's wrong?
Cheers
Elmar
In [5]: run AnimatedImage.py
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in
Hi,
could not found anything like plot_ternary() in the matplotlib
documentation. Is there an easy to use method to plot data points and
lines in a ternary plot using matplotlib?
Any hint is wellcome
Elmar
--
RSA(R
same for x,y and x,z quiver plots.
>
> Any ideas for matplotib 3d? Thanks!
>
> John Gibson
have a look at "Volumetric Slice Plot" in the tutorial of Easyviz
(http://code.google.com/p/scitools/)
Elmar
-