I have installed MPL 1.2.0 but it's still laggy...
2013/1/18 Paul Hobson
>
> On Thu, Jan 17, 2013 at 8:10 AM, Fabien Lafont wrote:
>
>> Thanks! I have:Qt4Agg
>>
>>
>>
>> 2013/1/17 Benjamin Root
>>
>>>
>>> On Thu, J
Thanks! I have:Qt4Agg
2013/1/17 Benjamin Root
>
> On Thu, Jan 17, 2013 at 8:43 AM, Fabien Lafont wrote:
>
>> What is a backend??? The version number? I'm using Matplotlib 1.1.1
>>
>>
> from pylab im
What is a backend??? The version number? I'm using Matplotlib 1.1.1
2013/1/17 Michael Droettboom
> Which backends are you using on each platform. A difference there is
> the most likely culprit.
>
> Mike
>
>
> On 01/17/2013 08:16 AM, Fabien Lafont wrote:
>
>
Hello everyone,
I've just changed my computer from a old core 2 duo on windows Xp to a
intel Xeon with 12 Gb Ram. I've installed matplotlib but I plot a graph
it's about 10 times slower than windows Xp to pan the axis or move the
graph. Even if I'm plotting something very simple like that:
from p
Actually I want to try to plot something like this picture:
http://physics.aps.org/assets/d88621a594e78eea
With a color for inside and another for outside.
--
Live Security Virtual Conference
Exclusive live event will cov
Actually I had some problems to find the solution on the web.
Finally I've used: matplotlib.rcParams['legend.fontsize'] = 25.0 and it
works well
Fabien
2012/8/31 Mark Lawrence
> On 31/08/2012 14:42, Fabien Lafont wrote:
> > Hello,
> >
> > The questi
Hello,
The question is in the title :)
Cheers!
Fabien
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Di
Hi,
I think I was tired yesterday.
matplotlib.rcParams['xtick.labelsize'] = 20.0 works perfectly also
with xlabel("name", size= 30)
Thanks all,
Fabien
2012/8/30 Mark Lawrence :
> On 30/08/2012 19:00, Fabien Lafont wrote:
>> Actually I just want to do it on that p
Actually I just want to do it on that plot not on all my future plot.
2012/8/30 Fabrice Silva :
> Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit :
>> I just create two vectors from a .txt file and I plot them.
>> I think I have the latest version of matplotlib. I ha
(\Omega)$", size= 30)
grid()
legend()
show()
2012/8/30 Benjamin Root :
>
>
> On Thu, Aug 30, 2012 at 1:38 PM, Fabien Lafont
> wrote:
>>
>> I'm just trying to plot a graph and add a label to each axis of that graph
>> and change the labelsize of the tic
I'm just trying to plot a graph and add a label to each axis of that graph
and change the labelsize of the ticks.
2012/8/30 Damon McDougall
> On Thu, Aug 30, 2012 at 07:28:40PM +0200, Fabien Lafont wrote:
> > Thanks,
> >
> > I've found the problem. I use xla
McDougall
> On Thu, Aug 30, 2012 at 07:06:14PM +0200, Fabien Lafont wrote:
> > I've tried also but it returns an error:
> >
> > matplotlib.rcParams['xticks.labelsize'] = 12.0
> > File "C:\Python27\lib\site-packages\matplotlib\__init__.py", li
Hello,
I want to insert an image in a plot, how can I do?
Fabien
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can
;xticks.labelsize is not a valid rc parameter.See rcParams.keys()
for a list of valid parameters.'
2012/8/30 Damon McDougall
> On Thu, Aug 30, 2012 at 12:04:48PM -0400, Benjamin Root wrote:
> > On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont >wrote:
> >
> > >
t manage to use only label.set_fontsize(16). It looks so
complicated.
2012/8/30 Benjamin Root
>
>
> On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont
> wrote:
>
>> There is no effect...
>>
>>
>> 2012/8/30 Damon McDougall
>>
>>> On Thu, Aug 30,
There is no effect...
2012/8/30 Damon McDougall
> On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote:
> > Hello,
> >
> > Do you know to change the size of the numbers under the axis?
> >
>
> import matplotlib
> matplotlib.rcParams['ax
Hello,
Do you know to change the size of the numbers under the axis?
fabien
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT ma
Hello everyone,
I'm wondering if it's possible to have a matplotlib graph online ? I mean
zoom drag and so on on a plot?
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
Hello everyone,
Is it possible to have automaticaly more than 3 colors when Iplot a graph?
When I plot it put the first in blue the second in green the third in red
and the fourth in blue again. I want to use more colors to differenciate
the curves.
Is it possible?
Fabien
---
2012/7/10 Damon McDougall
> On Tue, Jul 10, 2012 at 08:57:24AM -0400, Benjamin Root wrote:
> > On Tue, Jul 10, 2012 at 7:05 AM, Damon McDougall
> > wrote:
> >
> > > On Tue, Jul 10, 2012 at 12:27:59PM +0200, Fabien Lafont wrote:
> > >
> > > &
Hello everyone,
I try to plot the digamma function of (1/2 + 1/x) but I'm not sure that I'm
plotting the good one.
I've tried:
special.polygamma(0, (1/2 + 1/x))
and
special.polygamma(1, (1/2 + 1/x))
but I don't have the same result as with mathcad.
I've tried to code it like that:
def F(x):
Thx Francesco, it works great!
What for the .T at the end of genfromtxt?
2012/5/29 Francesco Montesano :
> Dear Fabien
>
> 2012/5/29 Fabien Lafont :
>> Hello everyone,
>>
>> I have a problem. I have to look at many plots. Usely I do it like that:
>>
>> f
Hello everyone,
I have a problem. I have to look at many plots. Usely I do it like that:
from pylab import*
X1 = genfromtxt("Myfile.dat", usecols =(0))
Y1 = genfromtxt("Myfile.dat", usecols =(1))
plot(X1,Y1, label ="My curve")
show()
But the problem is when I have many plots I have to copy pa
Hello everyone,
I Have a problem. I have a graph inserted in a PyQt interface and I
want to clear it (When I click on a button).
I initialise the graph like that:
class Graph(FigureCanvas):
def __init__(self,parent):
self.fig = Figure()
self.ax = self.fig.add_subplot(111)
Is it possible to set the extension .pdf as defaut when I save an
image using the matplotlib bar. My coworkers are always saving the
image in png and it's really ugly!
Thx,
Fab
--
Keep Your Developer Skills Current with
The question is inside the title...
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CS
Thanks Daryl, it works!
2012/2/2 Daryl Herzmann :
> On Thu, Feb 2, 2012 at 8:52 AM, Fabien Lafont wrote:
>> I don't manage to put the color of my plot in the argument' list function.
>>
>> Example:
>>
>> def function(color):
>>
>&
I don't manage to put the color of my plot in the argument' list function.
Example:
def function(color):
plot(x,y,'.', color, label = "this is my curve")
function('r')
even if I put function(" 'r' ") it doesn't work.
Any idea?
-
Thx!
2012/2/2 Angus McMorland :
> On 2 February 2012 08:32, Fabien Lafont wrote:
>> Hello!
>>
>> How can I zoom exactly on the same region on two different subplots at
>> the same time. This option is enable when I use plotfile but not if I
>> use plot, and su
Hello!
How can I zoom exactly on the same region on two different subplots at
the same time. This option is enable when I use plotfile but not if I
use plot, and subplots?
Thx!
Fabien
--
Keep Your Developer Skills Curren
Hello,
Do somebody knows how to keep only the x first terms of a numpy 1D array?
like
a = array([8,4,5,7,9])
function(a,2)
>>> [8,4]
--
Try before you buy = See our experts in action!
The most comprehensive online learn
Thanks a lot, I'll try to remove the points using isnan()
2012/1/27 Fabrice Silva :
> What about masked arrays ?
> http://docs.scipy.org/doc/numpy/reference/maskedarray.html
>
>
> --
> Fabrice Silva
>
>
> --
> Try before y
lumn1[i].remove(nan)
column2[i].remove(nan)
to remove these points but it doesn't work
2012/1/27 Benjamin Root :
> On Fri, Jan 27, 2012 at 9:52 AM, Fabien Lafont
> wrote:
>>
>> Sorry, It's an awkward manipulation. I finish the mail
>>
>> 2012/
Sorry, It's an awkward manipulation. I finish the mail
2012/1/27 Fabien Lafont :
> I want to plot something like:
>
>
> X(time) Ypoints
> 0 8
> 1
> 2 7
> 36
> 44
>
I want to plot something like:
X(time)Ypoints
08
1
2 7
3
4
5
6
7
8
9
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for M
Since I use" twiny" the button on the menu which allow color changing, log
scale and so on, doesn't work.
Why? What can I do?
thx, Fabien
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive onli
I'm using an example from Sandro's Tosi book. I've just modified it to
use random data instead cpu_datas.
But the autoscale doesn't work even if I turn
self.ax.set_autoscale_on(True). Do you have an Idea why?
from pylab import *
import random
import sys
from PyQt4 import QtGui
import numpy as
I'm using an example from Sandro's Tosi book. I've just modified it to
use random data instead cpu_datas.
But the autoscale doesn't work even if I turn
self.ax.set_autoscale_on(True). Do you have an Idea why?
from pylab import *
import random
import sys
from PyQt4 import QtGui
import numpy as
I try to plot some data directly from a file but without any sucess so far...
from pylab import *
plotfile("test.txt",(0,1))
My test.txt is in the same folder and it's just
1 2 3
5 2 6
4 5 8
It returns
Traceback (most recent call last):
File "C:\Docume
How can I show the milliseconds with the library time because
time.time is precise (or at least show) up to 0.01 seconds and it
seems it's not possible to print more than seconds... An idea?
I use
time.strftime("%H:%M:%S", gmtime(time.time()))
Fabien
I'm recording live data and I want to record at the same moment the
time (to plot MyData Vs Time). Do you know the bast way to do it
because it exists a lot of different classes for that?
Fabien
--
RSA(R) Conference 2012
lib some x and y data to plot.
>
> from matplotlib import pyplot as plt
> import numpy as np
>
> x = np.linspace(-1.0,1.0)
> test = np.polynomial.Chebyshev((1,2,3))
> y = test(x)
> plt.plot(x,y)
> plt.show()
>
>
>
> On Tue, Jan 10, 2012 at 9:10 AM, Fabien L
I'm trying to plot Chebyshev polynolmials using: numpy.polynomial.Chebyshev:
import math
from numpy import *
from numpy import polynomial as pol
from pylab import *
from scipy import *
from scipy import optimize
import warnings
warnings.simplefilter('ignore', np.RankWarning)
test = pol.Chebyshe
This software can be intersting for you:
http://www.sofastatistics.com/home.php
2011/12/15 Benjamin Root :
>
>
> On Wednesday, December 14, 2011, Jason Grout
> wrote:
>> On 12/14/11 6:33 PM, Justin wrote:
>>
>>> Any suggestions or places to find a gorgeous pie chart, let me know...
>>
>> I'd p
o you can "interrupt"
> the sleeps
> app.lastWindowClosed.connect(instrument.close,
> QtCore.Qt.DirectConnection)
> # You could also call quit "manually" after exec_() returns
> instrument.signal_closing.connect(instrument_thread.quit)
>
> instrumen
Thx Seb!
2011/12/14 Benjamin Root :
>
>
> On Wednesday, December 14, 2011, Fabien Lafont
> wrote:
>> I have a basic problem (I think)
>>
>> I try to fit some data with this function
>>
>> http://docs.scipy.org/doc/numpy/reference/generated/numpy.polynom
I have a basic problem (I think)
I try to fit some data with this function
http://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.Chebyshev.fit.html
But it return an error:
fit = chebyshev.fit(T,R,3)
NameError: name 'chebyshev' is not defined
I don't understand I've imported Numpy
I prefer to use the multi-thread method beacause it's easier for me
and my colaborators to have the entire acquisition process at the same
place. Until then I use a simple one but I hope to use a more complex
one in few weeks ( put different voltages on different devices then
measure many voltages
on't approve this) You can use
> app.processEvents() in your loop (after each sleep maybe) and this will
> pause your function and tell the main event loop to process any queued
> events (like GUI actions/events) which will make your GUI more responsive.
>
> If that doesn't ma
functions aren't inside the while loop and the
> while loop never ends...although this doesn't matter if you don't fix #1
> above.
>
> Hope that made sense.
>
> -Dave
>
>
> On 12/5/11 1:44 PM, matplotlib-users-requ...@lists.sourceforge.net w
> -Dave
>
> On 12/4/2011 9:57 AM, matplotlib-users-requ...@lists.sourceforge.net wrote:
> > 2011/12/2 Daniel Hyams:
> >> > I don't have PyQt installed, so I couldn't test the code, but don't you
> >> > want
> >> > to be using "ex
quot; and not "append", if you are returning a list from your
> two get_info() functions?
>
> On Fri, Dec 2, 2011 at 8:13 AM, Fabien Lafont
> wrote:
>>
>> Hello everyone, I'm trying to plot live data extracting from remote
>> devices (here it's
Hello everyone, I'm trying to plot live data extracting from remote
devices (here it's simulated by get_info1 and 2 the result is always
0.8 or 0.9
I can't understand why it doesnt plot the graph at the end of the
while loop. Does somebody has an idea?
#!/usr/bin/env python
from visa import *
fr
Hello everyone,
I don't understand how works TimerBase.
>From matplotlib import backend_bases
def write(x):
print x
backend_bases.TimerBase._timer_start
backend_bases.TimerBase(1000,write(2))
It returns only "2" one time. Why it doesn't return 2 every second?
Thx in advance,
Fab
Hello everyone,
I've adapted a python code to plot real time data but I don't manage
to have an auto-scale on my graph. I don't understand because I use"
set_autoscale_on(True)"
Do you have an idea?
Here is "my" simplified code:
#!/usr/bin/env python
#from visa import *
from pylab import *
55 matches
Mail list logo