Thank you for your solutions. However, with my dataset it did not work out
with the following code:
import numpy as np
import matplotlib.pyplot as plt
with open('in.small.txt') as f:
data = list(int(no.rstrip()) for no in f)
mean = np.mean(data)
print 'mean', mean
std = np.std(data)
print 'std',
On 11/03/12 14:19, Goyo wrote:
> El día 11 de marzo de 2012 11:31, gsal escribió:
>>
>> I am not quite sure what you are asking, but, can you simply just add your
>> own attribute to the window objects? Python is friendly that way, you know?
>> It's dynamic.
>
> There are some dialogs not accesi
Is it possible to draw an arrow with a dashed line?
I tried using a fancy arrow patch and set the linestyle:
#~~~
import matplotlib.pyplot as plt
fix, ax = plt.subplots()
ax.set_xlim((-1,5))
ax.set_ylim((-5,3))
ax.annotate('simple', xy=(2., -1), xycoords='data',
xytext=(100, 60), t
How to Get symmetric plotting in pylab
i tried this code:
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 10 20:33:32 2012
@author: fajar
"""
from numpy import linspace, meshgrid, array
import matplotlib.pyplot as pl
import matplotlib.ticker as tc
from scipy.integrate import odeint
#
El día 11 de marzo de 2012 11:31, gsal escribió:
>
> I am not quite sure what you are asking, but, can you simply just add your
> own attribute to the window objects? Python is friendly that way, you know?
> It's dynamic.
There are some dialogs not accesible using the mpl api. The save
dialogs s
El día 11 de marzo de 2012 12:08, todd rme escribió:
> I am interested in making a python GUI that includes an axis. Qt's
> python bindings offers most of the GUI elements I need, and Qt
> designer provides a great graphical design tool for making python user
> interfaces. However, I notice that
On Sun, Mar 11, 2012 at 2:06 PM, Mike Kaufman wrote:
> On 3/11/12 8:14 AM, cgraves wrote:
>
>>
>> Hi, here is an example script which places minor ticks with 2 per major
>> tick
>> (minor tick spacing is "fractional" of major tick spacing with relative
>> interval of 1/2):
>>
>> from pylab import
On 3/11/12 8:14 AM, cgraves wrote:
>
> Hi, here is an example script which places minor ticks with 2 per major tick
> (minor tick spacing is "fractional" of major tick spacing with relative
> interval of 1/2):
>
> from pylab import *
> fig=figure()
> ax=subplot(111)
> ax.autoscale(tight=True)
> plo
Hi, here is an example script which places minor ticks with 2 per major tick
(minor tick spacing is "fractional" of major tick spacing with relative
interval of 1/2):
from pylab import *
fig=figure()
ax=subplot(111)
ax.autoscale(tight=True)
plot([1,2,4],[1,2,3])
x_ticks_maj_spacing =
float(abs(a
I am interested in making a python GUI that includes an axis. Qt's
python bindings offers most of the GUI elements I need, and Qt
designer provides a great graphical design tool for making python user
interfaces. However, I notice that matplotlib is not integrated with
Qt Designer. Qt Designer a
I am not quite sure what you are asking, but, can you simply just add your
own attribute to the window objects? Python is friendly that way, you know?
It's dynamic.
--
View this message in context:
http://old.nabble.com/Set-various-parameters-of-a-plot-window.-tp33479160p33480317.html
Sent fro
Don't have a solution; I was just wondering if you have tried something else,
like using ipython instead of IDLE. ipython may be better suited for
threading and working with pylab, etc.
--
View this message in context:
http://old.nabble.com/Runtime-error-with-matplotlib-in-IDLE-tp33478456p3348
12 matches
Mail list logo