Thomas Robitaille wrote:
>>> It looks like rotation/translation should be easy to do with
>>> Affine2D, so I tried using it, but I can't seem to get it to work as
>>> expected - here is an example of how I am using it:
>>
>> Based on a quick look at image.py and _image.cpp, it appears that
>> th
On Fri, Mar 13, 2009 at 5:18 PM, per freem wrote:
> hi all,
>
> what's the most efficient / preferred python way of parsing tab separated
> data into arrays? for example if i have a file containing two columns one
> corresponding to names the other numbers:
>
> col1\t col 2
> joe\t 1
>> It looks like rotation/translation should be easy to do with
>> Affine2D, so I tried using it, but I can't seem to get it to work
>> as expected - here is an example of how I am using it:
>
> Based on a quick look at image.py and _image.cpp, it appears that
> there is a low-level capabilit
Thomas Robitaille wrote:
> It looks like rotation/translation should be easy to do with Affine2D,
> so I tried using it, but I can't seem to get it to work as expected -
> here is an example of how I am using it:
Based on a quick look at image.py and _image.cpp, it appears that there
is a low-l
per freem wrote:
> hi all,
>
> what's the most efficient / preferred python way of parsing tab
> separated data into arrays? for example if i have a file containing two
Check out the python csv module. Documentation at
http://docs.python.org/library/csv.html
JLS
-
Jeff Whitaker wrote:
> Jeff Whitaker wrote:
>> Timothée Lecomte wrote:
>>> Dear all,
>>>
>>> I am using matplotlib with a great pleasure, and I enjoy its
>>> capabilities.
>>> I have recently attended a conference where the invited speaker
>>> showed great visualizations of arrays from both exper
hi all,
what's the most efficient / preferred python way of parsing tab separated
data into arrays? for example if i have a file containing two columns one
corresponding to names the other numbers:
col1\t col 2
joe\t 12.3
jane \t 155.0
i'd like to parse into an array() such that i
hi all,
i'm trying to generate a very simple plot, where only the left y axis and
the bottom x axis are present. i.e. there is no top x axis or right y
axis... this is the default for many plotting packages. in matlab, one can
do this as follows:
>> x = rand(1,100);
>> hist(x)
>> set(gca, 'Box',
Thanks to both of you for your help! I had spotted the transform
argument in imshow, but didn't manage to find any information about
how to use it. The Affine2D method looks like it will help, so I
should be all set now.
Thanks!
Thomas
On Mar 13, 2009, at 5:20 PM, Andrew Straw wrote:
> Er
It looks like rotation/translation should be easy to do with Affine2D,
so I tried using it, but I can't seem to get it to work as expected -
here is an example of how I am using it:
import numpy as np
from matplotlib.pyplot import *
from matplotlib.transforms import Affine2D
im = np.random.ra
Eric Firing wrote:
> Thomas Robitaille wrote:
>> Hello,
>>
>> I was wondering whether there is a way to rotate a grayscale/
>> colorscale when using imshow.
>>
>> I have been using PGPLOT (a fortran/c plotting library) for many years
>> now, and the equivalent to imshow is called PGGRAY (or PGIM
Jeff Whitaker wrote:
Timothée Lecomte wrote:
Dear all,
I am using matplotlib with a great pleasure, and I enjoy its
capabilities.
I have recently attended a conference where the invited speaker
showed great visualizations of arrays from both experiments and
simulations. His plots were basica
Thomas Robitaille wrote:
> Hello,
>
> I was wondering whether there is a way to rotate a grayscale/
> colorscale when using imshow.
>
> I have been using PGPLOT (a fortran/c plotting library) for many years
> now, and the equivalent to imshow is called PGGRAY (or PGIMAG). One of
> the argume
Hello,
I was wondering whether there is a way to rotate a grayscale/
colorscale when using imshow.
I have been using PGPLOT (a fortran/c plotting library) for many years
now, and the equivalent to imshow is called PGGRAY (or PGIMAG). One of
the arguments this function takes is a 6-element ar
Timothée Lecomte wrote:
Dear all,
I am using matplotlib with a great pleasure, and I enjoy its capabilities.
I have recently attended a conference where the invited speaker showed
great visualizations of arrays from both experiments and simulations.
His plots were basically looking like those
James Boyle wrote:
> Jeff,
>
> This is something I have noticed recently. If I set lon_0 = 180. using
> the robin projection , the parallels from 0 to 180 are drawn thicker
> than those from 180 to 360.
> Perhaps the 0 to 180 are drawn twice - with some small offset - due
> some wraparound probl
I am using matplotlib's object-oriented API to dynamically generate some
graphs served by a web site. The web site is built with Django and I have
generally followed the cookbook example I found here:
http://www.scipy.org/Cookbook/Matplotlib/Django for serving matplotlib
figures under Django. Spe
Dear all,
I am using matplotlib with a great pleasure, and I enjoy its capabilities.
I have recently attended a conference where the invited speaker showed
great visualizations of arrays from both experiments and simulations.
His plots were basically looking like those produced by imshow, that i
18 matches
Mail list logo