would be great! Maybe you could submit it to matplotlib's github.
On Sat, Dec 31, 2011 at 2:23 AM, fdu.xia...@gmail.com
wrote:
> Dear all,
>
> I couldn't find a function to plot venn diagram with python, so I
> written one for my daily use (with a lot inspirations from the internet
> and R). Hope
OK - it turns out I can reproduce it in a simple ipython session using ipython
--pylab=qt.
I set up an image plot as follows:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.image import NonUniformImage
x=y=np.linspace(0,2*np.pi,101)
X,Y=np.meshgrid(x,y)
z=sin(X)*sin(Y)
ax=
Andrea Gavana continues to struggle with his parallel lines:
> I managed to get *almost* there, but there still is a small glitch. I
> attach a self-evident sample, which generates data very similar to the
> real ones I have and shows the two "parallel" curves to the main one.
>
> You will notice t
On Friday, February 17, 2012, Ray Osborn wrote:
> I am embedding a matplotlib canvas in a Pyside GUI and wanted to attach a
> slider to adjust the color scale of a 2D plot made using NonUnitformImage.
> I am connecting the slider value to im.set_clim([vmin,vmax]). I have got my
> axis sliders to w
I am embedding a matplotlib canvas in a Pyside GUI and wanted to attach a
slider to adjust the color scale of a 2D plot made using NonUnitformImage. I am
connecting the slider value to im.set_clim([vmin,vmax]). I have got my axis
sliders to work, but the intensity slider only adjusts the colorba
Hello Jerzy & All,
On 14 February 2012 17:55, Jerzy Karczmarczuk wrote:
> Andrea, I believe that if you find ONE good visual aspect ratio,
> according to your figure size, that should do. Yo know your
> figsize, and if you know all in your axes([bot,lft,wid, height]), that
> this visual ratio shou
Francois Lemery :
> Hi Python World!
>
> I currently have a 2D array: A[i][j] which I can plot very nicely
> using the contourf function. However, in this plot, the axes span
> from (0, i) and (0, j).
> I would like to multiply each axes by a scaling constant- thereby
> turning the array element v
Hi,
Sorry for not giving sufficient detail.
I open an HDF5 file and then read some EArray into a regular array:
a = f.root
MySource = a.myLineSource[:,:,1] # the dimensions of my source
are (x, t) = (50, 15000) 50 corresponds to 50 gridpoints where I have
recorded an electric field. and 15,0
Hi François,
Why would it be a waste to multiply the values in an array by the scaling
factors?
Can you provide an example of your code so everybody can get a better idea
of what you're doing now?
Thanks,
Alexa
On Fri, Feb 17, 2012 at 9:07 AM, Francois Lemery
wrote:
> Hi Python World!
>
> I cu
Hi Python World!
I currently have a 2D array: A[i][j] which I can plot very nicely
using the contourf function. However, in this plot, the axes span
from (0, i) and (0, j).
I would like to multiply each axes by a scaling constant- thereby
turning the array element values into physical quantities
Hi all,
I am new to Mpl, and I am making a 4x4 subplot now.
I wish to offset (downwards) the locations of the tick labels on the Y-axis of
one subplot.
Actually, I just want to offset one particular tick label but its also okay if
its a small (and equal) offset for the tick labels.
Can you plea
Hi all,
I had the same problem and I implemented a small library for manipulating SVG
figures (for example, matplotlib-generated). It is on github:
https://github.com/btel/svg_utils
There is also a related blog post:
http://neuroscience.telenczuk.pl/?p=331
The library does NOT allow to import
On 02/15/2012 03:10 PM, Alexa Villaume wrote:
> Hi Eric,
>
> Thanks for your help, I'm still really new to python and matplotlib.
> I've got my labels defined but now I'm having another problem with the
> formatting.
>
> I'm doing -
>
> CS1.level=[14.07, 14.27]
>
> plt.clabel(CS1,CS1.level[::2],inl
Hi,
if the import filetype is not restricted to svg, you can use PyX to
place vector eps figures into other eps figures. I used this in a two
step approach (first create the plot with matplotlib and store is as eps
and second, use PyX to combine the plot with a vector figure) in a
single scrip
14 matches
Mail list logo