Am Mittwoch, 3. Juli 2013, 20:02:30 schrieb Florian Lindner:
> Hello!
>
> I have that snipped to create a plot:
>
> import matplotlib.pyplot as plt
> size = (6.1, 3.5)
> fig = plt.figure(figsize=size)
> plt.xlabel("$x/l_F$")
>
> it's being saved as
Hello!
I have that snipped to create a plot:
import matplotlib.pyplot as plt
size = (6.1, 3.5)
fig = plt.figure(figsize=size)
plt.xlabel("$x/l_F$")
it's being saved as eps for latex. At the size given the "F" from l_F is
truncated just a little bit. It works well if I change y-size to 3.6 but t
Hello!
I try to use a background image in my plot:
import matplotlib.pyplot as plt
im = plt.imread("WTunnel.png")
plt.xlim([-3,4])
plt.ylim([-0.01,0.05])
plt.plot(some stuff)
plt.imshow(im, aspect="auto", extent=(-5, 4, -0.01, 0.05))
This works more or less.
As far as I understand the extent ar
Hello,
I want to plot a simple vector arrow with a specified starting point and end
point (or direction and length).
I've found
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.quiver
but I don't see a way to set the length of the vector.
Though discussions about this t
Hello,
my matter is a bit difficult to explain for me, I hope you get the picture.
I want to (line) plot pressure and temperatur at different stations in an
aircraft engine. The stations are labeled like 0, 1, 2, 22, 23, 3, ... (order
is like that). Stations are on the y-axis and should be plot
Am Freitag, 29. Januar 2010 21:00:04 schrieb Sebastian Busch:
> Florian Lindner wrote:
> > Hello,
> >
> > I try to use LaTeX in my plot
> >
> > flor...@horus:~> cat .matplotlib/matplotlibrc
> > text.usetex: true
> >
> > My p
Hello,
I try to use LaTeX in my plot. I follow the instructions from
http://www.scipy.org/Cookbook/Matplotlib/UsingTex
flor...@horus:~> cat .matplotlib/matplotlibrc
text.usetex: true
My plotting code looks like:
Ma = arange(1.0, 5.0, 0.01)
Ts = [T(i) for i in Ma] # BTW: Is there a way
Hello,
all tutorials I've found so far are about the stateful pylab API.
Since I've never worked with Matlab and grew up with doing things in
an OOP way using the pylab interface feels very unnatural for me.
Are there any tutorials to matplotlib that utilise the more pythonic
API? Just some