Hello everyone,
if I read a column file like this (simplified to integers):
0 1 2 3
1 2 3 4
2 3 4 5
3 4 5 6
with: data = np.loadtxt(fileName), why can't I use a for loop inside
ipython (started with -pylab option) to plot each of the Line2D objects and
then draw them on the plot? I am using
Thank you very much, you helped me a great deal. The video tutorials are great.
I'm going through the stuff you sent and things seem to become clearer
Tomislav
- Original Message -
From: John Hunter
Sent: 04/11/10 04:19 PM
To: tomislav_ma...@gmx.com
Subject: Re: [Matplotlib-users
Hi everyone,
can someone help me to plot a polygon in matplotlib?
I have been reading about the axes.patches.Polygon class and I have defined the
Polygon object that has a preset lw and points. How do I plot it?
I'm confused because the Axes documentation states that this class holds most
of
:18 PM
To: tomislav_ma...@gmx.com
Subject: Re: [Matplotlib-users] figure: centering data and plot.svg borders
Maybe:
from matplotlib import pyplot as plt
figureOne = plt.figure()
axesOne = figureOne.add_axes([0, 0, 1, 1])
axesOne.plot([-1, 1], [-2, 2])
axesOne.plot([-2, 2], [-1, 1
Hi everyone,
Is there a straightforward way for me to ensure that my data is
centered: allways present on the figure? I'm plotting the results
from complicated geometrical calculations and I need high dpi
so that I can debug the code. I've recorded the session in a log
file and I've modified
Hello everyone,
I'm using matplotlib for plotting data results from numerical simulations that
involve a lot of geometric calculations.
I did read the tutorial, but I haven't been able to figure out the proper way
to set the axis aspect ratio to 1 when
numerical data is plotted.
Here is
Thanks a lot! This worked like a charm. I'll need to dig into matplotlib a lot
later,
but now I have truckloads of bugs in my code to deal with, this will speed me up
significantly.
Thank you again,
Tomislav
- Original Message -
From: phob...@geosyntec.com
Sent: 03/15/10 05:40 PM
To:
Thanks! :D
Thank you very much. The ipython -pylab is working great!
Tomislav
P.S.
Enjoy the Hawaiian sunshine... :D I'm freezing in Munich, Germany...
- Original Message -
From: Eric Firing
Sent: 03/15/10 07:59 PM
To: tomislav_ma...@gmx.com
Subject: Re: [Matplotlib-users] figure