Hello Micheal,
Do existing matplotlib-users subscribers need to re-subscribe on the new
list , or have our emails rolled over to the new list?
Steve
On 01/08/15 03:07, Michael Droettboom wrote:
Due to recent technical problems and changes in policy on SourceForge,
we have decided to move t
(-1,1,20))
> ax.set_yticks(np.arange(-1,1,20), minor=True)
>
> ax.minorticks_on()
> ax.grid('on')
> plt.show()
>
>
>
>> And if you meant 'grid', I guess
>>
>> ax.grid('on')
>>
>> should be added.
>>
>&g
ax.grid('on')
plt.show()
> And if you meant 'grid', I guess
>
> ax.grid('on')
>
> should be added.
>
> * Youngung Jeong, ì ìì
*
>
> On Mon, Jun 1, 2015 at 4:38 PM, Sterling Smith
> wrote:
>
>> Stephen,
&
I only see that you added "plt.show()", but neither the grid or the axis
labels are showing up.
> Here is what I see with a couple of things modified ?
> did you expect something else ?
>
> from matplotlib.backends.backend_pdf import PdfPages
> import matplotlib.pyplot as plt
> import numpy as np
I am having an issue with the grid not appearing that I cannot figure out.
Can anyone help? Thanks. --StephenB
from matplotlib.backends.backend_pdf import PdfPages
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
x = np.linspace(0,10,50)
y = np.si
Hi,
I was wanting to use dual scales on my plot and was just running the example
code from
http://matplotlib.org/examples/api/fahrenheit_celsius_scales.html
I subsequently changed the function Tc to read
def Tc(Tf):
return Tf
Fully expecting the two scales to track each other perfectly
Call 'figure()' for each plot.
see: http://matplotlib.org/api/pyplot_api.html
matplotlib.pyplot.figure(/num=None/, /figsize=None/, /dpi=None/,
/facecolor=None/, /edgecolor=None/, /frameon=True/, /FigureClass='matplotlib.figure.Figure'>/, /**kwargs/)
Creates a new figure.
Parameter
Sorry, for the repeated emails/noise.
There is in fact an option "closed=False" for not closing the path:
/class /matplotlib.collections.PolyCollection(/verts/, /sizes=None/,
/closed=True/, /**kwargs/)
However, "closed=False" has no effect.
Steve.
L.
Steve.
On 21/11/12 08:38, Stephen Gibson wrote:
Unfortunately, as you state, "edgecolors='none'" also wipes the
(x,y) data line.
I tried adding an additional "erase" zero line, with "edgecolors='none'"
for each slice, but it seems the ret
a some intermediate point.
An additional blank (x[0], 0.0) to (x[-1], 0.0) does not overlap the
baseline.
If I can determine the baseline path (coordinates) this procedure
may work.
Thanks, for your input.
Steve.
On 21/11/12 04:04, Benjamin Root wrote:
On Tue, Nov 20, 2012 at 12:55 AM
I want to plot a series of (x,y) datasets similar to the
polygon plot tutorial example (add_collection3d),
but with a transparent facecolor and no baseline.
Setting alpha=0.0 in the tutorial example (below)
achieves the transparency, but the baseline remains.
Is there a way to remove the baselin
individual plotting commands.
This worked fine when everything was in one gigantic module, but I am at a loss
for why it has stopped working once I put everything into submodules.
Thanks for your help,
Stephen D. Webb
Associate Research Scientist
Tech-X Corporation
http://www.txcorp.com
e: sw
On 28/09/2011 4:32 PM, Klonuo Umom wrote:
Please consider:
plot([1, 2, 3, 4], label='line 1')
twinx()
plot([11, 12, 11, 14], label='line 2')
legend()
will draw only label for 'line 2'
plot([1, 2, 3, 4], label='line 1')
legend()
twinx()
plot([11, 12, 11, 14], la
= processFile('ltspice.data')
# convert to numpy arrays for use with matplotlib
freq = np.asarray(processed.freq)
magnitude1 = np.asarray(processed.magnitude1)
magnitude2 = np.asarray(processed.magnitude2)
magnitude3 = np.asarray(processe
On 14/09/2010 8:18 AM, Carlos Grohmann wrote:
> Many thanks, that helper.
>
> After some more problems with scipy, I got a working EXE.
>
> PyQt4 is still in the library, though. Eating almost 15Mb... Now all I
> have to do is to find out how to remove it..
>
>
> cheers
>
> Carlos
>
Have you rea
be working ok.
So sorry for all the trouble, but thanks for your time!
All the best,Stephen
From: obsessiv...@hotmail.com
To: friedrichromst...@gmail.com
CC: matplotlib-users@lists.sourceforge.net
Subject: RE: [Matplotlib-users] installation of matplotlib on OS X 10.5 with
python.org Python 2.6
On 9/08/2010 9:19 AM, Wayne Watson wrote:
> See Subject. I use matplotlib, scipy, numpy and possibly one other
> module. If I go to the control panel, I only see numpy listed. Why? I
> use a search and find only numpy and Python itself. How can matplotlib
> and scipy be uninstalled?
>
In my Win7
gt;
/usr/lib/libxml2.dylib (for architecture i386):Mach-O dynamically>
linked shared library i386> /usr/lib/libxml2.dylib (for architecture ppc7400):
Mach-O dynamically> linked shared library ppcmine gives
only:/opt/local/lib/libxml2.2.dylib: Mach-O dynamically linked sha
On 14/07/2010 23:32, Eric Firing wrote:
> On 07/14/2010 11:41 AM, Stephen Evans wrote:
>
>> Hi,
>>
>> While testing Psyco V2 to see if it would offer any speed improvements I
>> tried it with some applications using matplotlib. Exceptions were raised
>> th
or: command 'c++' failed with exit status 1
> > collect2: ld returned 1 exit status
>
> It doesn't tell which arch it's missing. I'm a bit confused about
> this "missing architectur
>>> import numpy
>>> numpy.version.version
'1.4.1'
>>> import matplotlib
>>> matplotlib.__version__
'0.99.3'
Psyco V2 is available from: http://codespeak.net/svn/psyco/v2/dist/
Should numpy.min()/numpy.amin() be
word) so I could not download and
install RPy2 and other modules (easily), so I decided to build up
from individual components...
Any advice you can provide on
helping me complete the matplotlib installation? I think after this I
will have
Hi Mike,
I tried to run it on windows.
Got error
D:\download\python>demo_axes_grid.py
Traceback (most recent call last):
File "D:\download\python\demo_axes_grid.py", line 2, in
from demo_image import get_demo_image
ImportError: No module named demo_image
Went looking on examples page an
>> However if I am zoomed in on my graph looking at detail, then click the
>> radio button, the scatter plot forces the graph to resize to once again
>> show the overall intial view (zoomed out).
>>
> Try using:
>
> axes.set_autoscale_on(False)
>
Thank you very much, this does exactly w
Hi,
I have an application that draws a line plot of a spectrum. When the
spectrum is collected different gains and filters may be used for each
data point (which I have also collected). I am looking at artefacts in
the spectrum and trying to correlate them with things such as the gain
and fi
On 23/04/2010 10:30 AM, williamol...@comcast.net wrote:
I use pylab.plot(x,y) for exploring or debugging some functions or
subroutines.
I would like to cycle through 2 or more plot windows, in a simple way
that won't force me to entangle the code in bothersome ways. But I
can't seem to get mor
Hi,
Sorry haven't used ipython, so not sure if there is another/better
ipython way.
Attached is how I solved it in normal python.
I added a "next line" button to the graph, and set the ydata for the
line each time the button is pushed.
There is a couple of set_ylim lines commented out, depe
C M wrote:
> On Tue, Feb 23, 2010 at 7:00 PM, Mathew Yeates wrote:
>
>> Hi
>> I am using gtk and displaying a plot in a FigureCanvas. In response to an
>> event, I want to update the plot with new data.
>>
>> e.g.
>> self.fig = Figure(figsize=(5,5), dpi=100)
>> self.ax = fig.add_subplot(111)
>>
David Goldsmith wrote:
> I've searched and searched the online docs...please help.
>
> DG
>
If I understand your question correctly you probably need to look at
http://matplotlib.sourceforge.net/api/ticker_api.html#tick-formatting
ax.xaxis.set_major_formatter( xmajorFormatter )
ax.xaxis.set_min
Hi Alastair,
I don't have clue why yours doesn't work.
however I changed the following line in the update function
data[20]=data[20]+0.5
to
data = np.random.randn(100)
And it started updating the display, with new data each update.
maybe changing a single point is not seen as a big enough chan
Hi Jon,
To clarify, I think you need to read Christoph Gohlke original message
(7/7/2009) to me to put my response into context:
> Hi Steve,
>
> matplotlib-0.98.5.3.win32-py2.6.exe was compiled without support for GTK.
>
> If you don't mind trying, I have a build of the matplotlib trunk
> availa
Hi Christoph,
Sorry for my delay to get back to you.
The svn version seems to work fine with GTK support, at least my
application had no problems running
The versions I tested with are as follows:
python version: 2.6.0 final 0
numpy version: 1.3.0
matplotlib version: 0.98.6svn
g
Hi,
I just downloaded matplotlib-0.98.5.3.win32-py2.6.exe from sourceforge.
I have an existing Application that works fine with
python : 2.5.4 final 0
pyGTK: 2.12.1
GTK+ : 2.14.7
numpy: 1.2.1
matplotlib : 0.98.5.2
Now I am trying the same App on
python version
Why don't you perform a histogram on the data that produced that
boxplot, .. seeing the shape of that histogram may answer your own
question. Is it skewed or normal distribution?
Gökhan SEVER wrote:
> Hello,
>
> I construct my boxplots (shown in this figure:
> http://img204.imageshack.us/img20
Hi Fernando,
> So, I want to plot a line, but controlling the labels on the tickers
> of the x axis. For instance, if I'm plotting (1000, 5), (2000, 10),
> (3000, 10), the ticks on the x axis might show 1000 2000 3000
>or 1 2 3x1e3. I want to control it, set it to
Hi Lubos,
Lubos Vrbka wrote:
>> 1. Would it be possible to do only shallow copy of the arrays that are
>> being plotted so that on redrawing the figure, chanes in the datasets
>> would be picked up automatically? If not, is Line2D.set_data(...) the
>> right approach?
>>
> isn't this the way h
Hi Sunzen,
I also get similar results as you. - always have
'extremely zoomed' means I pick a corner of your staircase, and zoom in
on the corner multiple times, each time no bigger than the cross hairs
of the cursor.
If I don't get the blocked out triangles I get the data changing direction
Hi Olusina,
I guess you have specific reason to prefer to use python2.4 and not
install matplotlib into python2.5
I also have 2 versions installed on my computer, .. only one will work
directly from the command line, the first one found on the path.
however whenever I want to run a test agains
Hi Rich,
bit confused what your asking.
are you looking for the pylab API savefig
http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-savefig
or you asking how to convert your variable+.png into a filename?
is your variable a number?, string?
for count in range(3):
count = count +1
Thanks for the background Barry.
I was asking because I have a bit of image processing/analysis code
(numpy/mpl/pil) that I would like to build a GUI front-end for. As I
am a recent convert to the osx world, I thought it would be very slick
to be able to do this with the xcode/IB tools. Since this
I was just wondering what the status of the CocoaAgg backend is since
there is not much info available.
Can it be used interactively w/ipython?
Can it be used to embed mpl in a cocoa app and take advantage of all
the xcode/interface builder stuff in OS X?
Thanks-
-stephen
and pythonmac
version is how it's linked against Tcl/Tk?
Just for my edification, why can't the egg version be linked
against/include a different Tcl/Tk?
Thanks-
-stephen
-
SF.Net email is sponsored by: The Future o
I just started playing with the CocoaAgg backend in mpl 0.90.1
w/pyobjc 1.4 and matplotlib uses the 'backend' line in the rc file
just fine. However, it doesn't seem to work well in interactive mode
using ipython 0.8.1 (control is not returned to the shell after
plotting).
-st
ading unless there are some OS X conflicts I'm unaware of.
If I use the eggs, what's the best way to safely uninstall the
pythonmac package? Just delete the relevant site-packages durectory?
Thanks-
-stephen
-
I don't know if I dreamed it or was real, but I recall seeing somewhere
that it was possible to add a control to the navigation bar, but now
cannot seem to find any reference to this.
Is is possible to add a control to the navigation bar? (I want to add a
drop down box)
I am using pyGtk, can
See below for Antonio Gonzalez solution (last year) that I have started
using and happy with it
Neil M wrote:
> Hello,
>
> Is it possible to plot two histograms on the same axis without having
> the bars on top of each other.
>
> I'm trying to determine how similar a distribution of activity is
Hi Joshua,
As you can see from the attached graph, there is a break the in graph
somewhere around 7 AM or so. This is the data I am graphing for that red
line:
"2007-10-09 00:00:00",0.015
"2007-10-09 01:00:00",0.015
"2007-10-09 02:00:00",0.014
"2007-10-09 03:00:00",0.012
"2007-10-09 04:00:00
the wrong place or I can fool Basemap by adjusting the axes bounds
later. However, if I do this some of the coastline isn't plotted because
Basemap decides it isn't on the map.
Cheers,
Stephen.
-
This SF.ne
Hi,
being a newbie myself, .. I don't know if I'm misguiding you. But do
wonder if you looked at the scatter command
see scatter_demo2.py on
http://matplotlib.sourceforge.net/screenshots.html for an example
It *seems* like it already does what you are trying to do?, maybe I'm
missing something
I'd like to make a text instance italic, but this doesn't seem to be working:
t = text(15.e3, -70, "25 kHz")
t.set_color('r')
t.set_style('italic')
Stephen
-
This SF.net email
I didn't see this in the examples. Can I have a figure title and titles
for subplots too? Can someone post a quick sample? Thanks.
Stephen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the
Hi John,
This is absolutely fantastic, does everything I want, 1/2 hr after
getting to work, I had it up and running in my application.
I do have a question though.
I had not seen mention of SpanSelector before in documentation.
And I do feel confusion about where to find the best documentation
Hi,
I have 2 graphs on one figure.
Graph one - subplot(2,1,1)velocities vs ( Time or SampleIndex)
depending in input args
Graph two - subplot(2,1,2) psd() - power spectrum to help us find the
resonances in velocities
As system goes through a number of different states, the resonances
c
e set legend size? Thanks.
Stephen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sou
One more question:
What impact does disabling the "accelerator" have? Will this slow down
plotting in some situations?
-stephen
On 4/12/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
> Stephen Uhlhorn wrote:
> > Just to be clear, the installation order is:
> >
Just to be clear, the installation order is:
1) install python2.5 from macpython.
2) remove wxagg.so
3) install wxpython frim macpython
4) install numpy/mpl from macpython
Correct?
-stephen
On 4/12/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
> Stephen Uhlhorn wrote:
> &g
Do I need to manually remove _wxagg.so in order to use the new packages?
Thanks Chris!
-stephen
On 4/11/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've got the MPL 0.90.0 installer on pythonmac working OK with:
>
> Python2.5
> wxPython2.8
mpl v 0.87, wx 2.6. and python 2.4 on my ppc mac.
-stephen
On 4/5/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
> Simson Garfinkel wrote:
> > I'm embarrassed to ask that I'm having trouble building/installing
> > matplotlib on an intel Mac.
>
> Don't be
Creating a 'simplified' example (not really) to demonstrate the problem
Zoom in on one of the constant speed movements.(upper graph)
psd (lower graph) will still be showing spectrum of whole data file.
click 'n release any mouse button in the upper graph, and only then
will the lower graph re
I have two plots.
first one is velocity data from servo controller (freq) - plant
reciprocates back and forth so we got turn data in there as well
second one is psd (power spectral density) so we can see where we got
resonances etc.
When we zoom in on on section of first plot (say the forwar
Trying to get resize event to work, but either I don't understand the
definition of when resize_event should work, or it's broken.
for example
===
from matplotlib import pylab , numerix
def GotResizeEvent( event ):
print 'Resize event detected'
def GotDrawEvent( event
Thanks. Ipython worked like a charm. Are there any plans of putting
ipython up with the other macpython packages? It seems like it's a
pretty important piece of the mac/mpl puzzle.
-stephen
On 2/6/07, George Nurser <[EMAIL PROTECTED]> wrote:
>
> I had the same problem. Eithe
one string, eg US/Central or
Europe/Paris
#datapath : /home/jdhunter/mpldata
Is this a misconfigured rc file? Or, should I be using ipython to
handle the gui stuff?
If I use ipython, what's the best way to install? From source? Python egg?
scipy site.
-stephen
On 2/5/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
> Stephen:
>
> Russell E Owen wrote:
> > It's up. Bob Ippolito put it up shortly after he got back from vacation.
>
> So this should work, with the Python, numpy, wxPython2.6.3 that are a
Sorry for the forward... I wanted to make sure this made it to the list.
-- Forwarded message --
From: Stephen Uhlhorn <[EMAIL PROTECTED]>
Date: Feb 4, 2007 8:02 AM
Subject: Re: [Matplotlib-users] matplotlib can't find pygtk during build
To: Christopher Barker <[E
libpng, et al, but it
can't find pygtk. How can I modify matplotlib, or how should I
install pygtk so the it builds correctly?
Thanks-
-stephen
-
Using Tomcat but need to do more? Need to support web services, security?
Has anyone else noticed a problem when saving an image (png) on windows.
Hard to describe, .. but it seems that if there is lots of data to plot
and window size too big, or maximized, it cannot save the full plot
data stopping half way. (plot look fine on window). Interesting
reducing th
Thank you Pierre,
I've taken a while to get around to it, but this code worked a treat,
and taught me a little about how I can override things in matplotlib
Thanks
Steve
Pierre GM wrote:
>> One thing I cannot work out is the axis number presentation.
>> Cannot find any documentation about how t
Have a lot of data, and when looking at full view I'd like no markers,
but when zoom in to see individual points I'd like to place markers on
the graph.
Planing on attaching some code to events to toggle markers on my line.
Is there a way to change the markers a line uses after it has been
plot
mpy
1.0rc3 came out.
-stephen
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Serv
I have a 2x2 matrix of subplots. Can I have a title that spans the top?
Thanks.
Stephen
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
I too would like a simple "Reply" to go to the list. I had to use Gmail's "Reply to all" feature to put this on the list.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with
72 matches
Mail list logo