The navigation toolbar is ugly ;-)
I would like to change the icons, let's say for the 'home' position.
How can I do that?
--
E
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applicatio
.vbox)
def getFigure(self):
return self.fig
def draw(self):
self.canvas.draw()
A special thanks to the pyqtgraph maintainer
http://luke.campagnola.me/code/pyqtgraph/
____
From: Emmanuel Mayssat
To: Emmanuel Mayssat ; Eric Firing ;
"matplotlib-u
Although this work, I lose the position of the axes.
How can I reposition the axes2 which was at 221 in fig2, to 221 in fig1 ?
From: Emmanuel Mayssat
To: Eric Firing ; "matplotlib-users@lists.sourceforge.net"
Sent: Monday, April 2, 2012 3:20 PM
S
e.axes)
does not do anything either
How can I remove my axes from the figure?
--
Emmanuel
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resol
independently of fig1
PS: I want to use my axes2 as an object to sent to my Qt widget (a blank
figure/canvas)
--
Emmanuel
From: Eric Firing
To: matplotlib-users@lists.sourceforge.net
Sent: Sunday, April 1, 2012 1:36 PM
Subject: Re: [Matplotlib-users] assigning a plot
would like to do something like this
my_ax = Axes(...)
my_ax.plot(x,y)
ax = my_ax
or
my_ax.set_figure(fig)
How can I create the axes/plot object independently from the figure?
Better yet, how can I assign an axe to a figure?
--
Emmanuel
'Axis [0,1]')
axarr[1,0].plot(x, y**2)
axarr[1,0].set_title('Axis [1,0]')
axarr[1,1].scatter(x, y**2)
axarr[1,1].set_title('Axis [1,1]')
--
Emmanuel
From: Emmanuel Mayssat
To: matplotlib
Cc: "matplotlib-users@lists.sourceforge.n
Hello,
I am programming using POO (object programming)
I cannot find a way to create a plot as an object
In concept, I would like to do something like
"""
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure
self.figure = Figure
Hello,
I am programming using POO (object programming)
I cannot find a way to create a plot as an object
In concept, I would like to do something like
"""
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure
self.figure = Figure
ax.plot(x, y, 'o-', mew=0)
w.show()
sys.exit(app.exec_())
Any hint would be appreciate.
Cheers.
Joe
--
RICHARD Georges-Emmanuel
Electronic and Computer Engineer
perspective.electro...@gmail.com
Dear Werner, I tested your script here here with python 2.5, matplotlib
0.91.1 and wxpython 2.8.7.1 using regular installation (not enthought).
If I replace :
from wx import *
by
import wx
(and make the necessary modification)
The program starts well!
(the button does not work but the problem is
Yes, I think strpdate2num is based on dateutil.parser.parse thast's why I
tried dayfirst=True which is used with dateutil.parser.parse.
It would be funny if from a list of string, it could be automatically try to
decide between day/month/year, month/day/year format... (it´s a joke)
--
)[1],datedayfirst.split ('/')[0])
I was lookigng for sometinh like that :
datestr2num(a,dayfirst=True)
or
datestr2num(a,fmt="%d/%m/%Y")
On Dec 11, 2007 11:16 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> On Dec 11, 2007 6:00 AM, Emmanuel <[EMAIL PROTECTED]> wrote:
&g
Hi,
I've a little problem with date conversion. I have a csv file which looks
like :
"Data","Valor"
"15/01/2007"," 6,700012000"
"12/01/2007"," 6,659903000"
"11/01/2007"," 6,701586000"
I try to get date using function strpdate2num in load doing this :
from pylab import datestr2num, load
def comma
Hi,
I've a little problem with date conversion. I have a csv file which looks
like :
"Data","Valor"
"15/01/2007"," 6,700012000"
"12/01/2007"," 6,659903000"
"11/01/2007"," 6,701586000"
I try to get date using function strpdate2num in load doing this :
from pylab import datestr2num, load
def comm
With the setup you provided. I could get py2exe to make an exe of the
simple_plot.py from simple_plot_wxagg of py2exe examples.
When I tried this on another python prog, I remarked that if I comment the
following line :
import matplotlib.backends.backend_wxagg
the exe created by py2exe crash and
Hi,
I got the setup.py given by Werner in an old thread (message from april 4th
2007). I putted code thereafter.
I installed matplotlib 0.90.1/ python 2.5 on windows XP
When I run the setup, it make an exception when using
matplotlib.get_py2exe_datafiles() :
--> 13 mpdir, mpfiles = matplotlib.g
Hi,
I got the setup.py given by Werner in an old thread (message from april 4th
2007). I putted code thereafter.
I installed matplotlib 0.90.1/ python 2.5 on windows XP
When I run the setup, it make an exception when using
matplotlib.get_py2exe_datafiles() :
--> 13 mpdir, mpfiles = matplotlib.g
Hi,
I didn't find any tip for preparation of simple black and white 2D plot,
especially for nice output in eps for publication.
Any suggestions are welcome.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Expres
Hi,
I can plot only one time in windows. The second time, the window appears
without the tools and when I click on the windows it become white and
freezes. Here is a code :
from pylab import *
x=arange(5)
y=x*x
plot(x,y)
show()
plot(x,y)
show()
---
With gnuplot one can do a plot like that :
http://www.deqnotes.net/gnuplot/images/impulses.png
It is using option "with impulse".
Is there an equivalent in matplotlib?
-
This SF.net email is sponsored by DB2 Express
Download
In http://matplotlib.sourceforge.net/tutorial.html
the following link is brocken :
http://matplotlib.sourceforge.net/pylab.html#-rc
(in "Customizing matplotlib" part)
therefore, it is difficult to get information about rc...
Hi again,
I'm getting some partial results with the script subplot_test.py in
attachement. It has though 2 problems :
- the set_aspect(0.333*Dx/Dy) seems to occupy on ly 1/3 of its allowed
space. Is it a bug ?
- the last 2 columns are empty but belong to the figure, this means unwanted
empty spa
Maybe you could be more precise, it's difficult to guess!
Maybe you just want to do something similar to the anim.py example?
Maybe you want to build an bigger application, you should look at embedding
in wxpython... cf wxmpl...
For data acquisition on the serial, maybe
http://pyserial.sourcefor
Hi,
I'd like to know if it is possible to control size of subplots let say
control the ratio between x and y axis in length units (not in units of x
and y). For example, I'd like to plot 2 graphics with one rectangular ratio
y:x 1:3 and the second squared 1:1.
example :
import pylab
x = pylab.
*.pyd,library.zip,wxmsw26u_vc_enthought.dll
Files in lib\matplotib are *.afm,*.ppm,*.svg
Files in matplotib are the same as in lib\matplotib
FIles in prog are MSVCR71.dll,python24.dll,w9xpopen.exe,wx_embed.exe
On 4/8/07, Emmanuel <[EMAIL PROTECTED]> wrote:
Can I post also in that
Can I post also in that thread or should I open a new one?
I'm also trying the first Werner F. Bruhin example. I saved the setup.py and
the example in embedding_in_wx4.py then I run
python.exe setup.py py2exe bdist
When looking for dll, it fails claiming:
Error: wxmsw26u_vc_enthought.dll : No
I tried directly the setup.py, it does not work with wxcursor_demo.py
My first try was modifying the following in the setup.py :
#mpldata = glob.glob(r'C:\Python24\share\matplotlib\*')
mpldata=[]
for di in allsubdirs(r'C:\Python24\Lib\site-packages\matplotlib'):
ti=di+'*.py*'
mpldata=mp
Le lundi 25 décembre 2006 16:00, Allan Noriel Estrella a écrit :
> Has anyone tried freezing matplotlib embedded in a wx app (using py2ece,
> cx_freeze or pyinstaller)? The setup.py in the FAQ seems to be outdated. I
> want to freeze the embedding_in_wx.py in the examples. Do you have any
> suggest
Le Vendredi 17 Novembre 2006 21:37, vous avez écrit :
> 1) you seem to have posted this three times -- we really only need it once.
Sorry, I've problem with my email, I didn't receive the mail so I thought it
wasn't send! (sourceforge seems not to like gmail emails)
> 2) I'd recommend wx MPL, it
Hi,
I didn't get the way to embed a plot where I wish it to be, for example
inside a panel or a sizer?
I did the following :
I create a panel panel_4 which is where I'd like to get the plot, I create a
sizer sizer_8 in it and try to load the plot but the plot does not show. I
don't know how to
Hi,
I didn't get the way to embed a plot where I wish it to be, for example
inside a panel or a sizer?
I did the following :
I create a panel panel_4 which is where I'd like to get the plot, I create a
sizer sizer_8 in it and try to load the plot but the plot does not show. I
don't know how to s
Hi,
I didn't get the way to embed a plot where I wish it to be, for example
inside a panel or a sizer?
I did the following :
I create a panel panel_4 which is where I'd like to get the plot, I create a
sizer sizer_8 in it and try to load the plot but the plot does not show. I
don't know how to s
Le Vendredi 10 Novembre 2006 00:50, vous avez écrit :
> > "John" == John Hunter <[EMAIL PROTECTED]> writes:
>
> John> It's not about wx or wxpython, it's a matplotlib issue.
>
> Let me add some color to that statement -- when I took a look at your
> screenshot, I realized you are using the
Hi,
(I'm sending again because email was probably filtered?)
I have problem with xlabel and ylabel when embedding in wx. See snapshot :
http://emmanuelfavrenicolin.free.fr/Public/Divers/Snapshots1/wx_snap.png
I put a test code which is based on dynamic_demo_wx.py, adding only the 3
lines :
I have problem with xlabel and ylabel when embedding in wx. See snapshot :
http://emmanuelfavrenicolin.free.fr/Public/Divers/Snapshots1/wx_snap.png
I put a test code which is based on dynamic_demo_wx.py, adding only the 3
lines :
a.set_title('Title')
a.set_xlabel('Xaxis [u.a.]')
I'm trying to run a program that plot experimental datas during measurement (to check if experiment is okay). I started doing directly measuring one point and plotting it import matplotlibmatplotlib.use('TkAgg')
...from pylab import *...ion()while cond: measure() plot(X[-1:],Y[-1:],"o") #plot
37 matches
Mail list logo