, but I cannot figure
out anyway to do it.
Any help would be appreciated.
James
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Set-X-Y-and-Z-data-for-a-pcolormesh-tp43187.html
Sent from the matplotlib - users mailing list archive at Nabble.com
Has anyone managed to plot a candlestick chart with a
scikits.timeseries? Is there an easy way to wrap the
matplotlib.finance.candlestick call?
James
--
This SF.Net email is sponsored by the Verizon Developer Community
I built MPL 1.3 from source, all seem to go OK but I ran into the problem of
not finding libfreetype.6.dylib when importing.
On the web, I found references to this problem for builds on OS X. The
solutions refer to a file README.osx, which is not
present in the 1.3 distribution. The documentatio
round), and pylab.savefig("test.png") makes an empty image (white
background). I've tried rebuilding, but with no success (output also
below).
Suggestions are greatly appreciated,
Thanks,
James
> uname -a
Linux mitbbr00 2.6.9-67.0.20.ELhugemem #1 SMP Wed Jun 25 12:40:18 CDT
ap to the endpoints of the
plotted values. Can this be done?
Any help is appreciated. Thanks.
- James
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers a
Great. Just what I needed. I appreciate it.
- James
On Feb 2, 2010, at 1:56 PM, Eric Firing wrote:
> James Conners wrote:
>> Hi,
>>
>> I'm having some trouble producing a filled contour how I want it.
>>
>> Say I'm plotting data over the
original TTF, I suspect the OP's downstream might find
the eps more to its liking.
Ttftotype42 from <http://www.lcdf.org/type/> can convert TTF to Type42.
-JimC
--
James Cloos OpenPGP: 1024D/ED7DAEA6
---
>>>>> "M" == Michael Droettboom writes:
M> Matplotlib will output Type 42 fonts if the rcParam "ps.fonttype"
M> is set to 42.
I read the reply which stated that after sending mine....
Sorry for the noise.
-JimC
--
Jam
I have the same problem with nearly identical setup:
OS X 10.5.8 - intel
matplotlib 99.1.1
python 2.6.1
ipython 0.9.1
numpy-1.3.0
--Jim
On Mar 11, 2010, at 1:31 PM, Andre Walker-Loud wrote:
> Hi All,
>
> I am having a problem saving figures produced with matplotlib. Right
> now, I am running a
2) It's still a botch.
3) I tried using alpha but it didn't seem to work at all?
Does anyone have a better implementation of this or better ideas?
Many thanks
James
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Thank you Matthias :)
I think the problem here is that I never found an example showing 'twin'
scales, so I botched it to get the same result!
Cheers
James
--
___
in matplotlib under 10.5 Mac OS X, if the event.key
is 'g' or 'l' then grid plotting ('g') or log plotting
('l') is turned on
is this a known bug? any workarounds?
J
-
This SF.Net email is sponsored by the Moblin Your Move D
Cheers
James
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Sou
Hello,
I have found that messages sometimes don't show up on these lists if
your options are set not to receive mailings (eg. if you just want to
look for replies in the archive).
James.
Michael Droettboom wrote:
> I don't know if there's any way of knowing from the outsi
Using matplotlib 0.98.5 on OSX 10.5, the following error
occurs for many key_press events using the standard
connect class - letter such as c,v,s etc (and most important, backspace)
Exception in Tkinter callback
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framewor
Using matplotlib 0.98.5 on OSX 10.5, the following error
occurs for many key_press events using the standard
connect class - letter such as c,v,s etc (and most important, backspace)
Exception in Tkinter callback
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framewor
Using matplotlib 0.98.5 on OSX 10.5, the following error
occurs for many key_press events using the standard
connect class - letter such as c,v,s etc (and most important, backspace)
Exception in Tkinter callback
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/
33, then build matplotlib-0.98.5
J
note: i backed down to 0.98.3, it works fine
John Hunter wrote:
> On Wed, Dec 17, 2008 at 1:24 PM, James Schombert wrote:
>> Using matplotlib 0.98.5 on OSX 10.5, the following error
>> occurs for many key_press events using the standard
>>
As far as I can tell, you cannot specify the color that contourf uses
for masked values.
The examples enclosed with matplotlib ( 0.98.3) specifically comment
that this is the case.
It appears that contourf just does not plot anything where the masked
values occur and the background ( usually
can anyone recommend the best method in which to open a 2nd Tk
window from matplotlib? One where you might enter some data to
be read by the main script in an interactive way. Current attempting
an Tk commands will just reajust the plot window.
J
All,
Attached, and below, is public domain code for making variable-sized
plots with autoscaled text that exactly fits the available visual plot
space, useful for web sites where users choose output files with different
sizes. Examples are at the bottom of the file.
James R
king previously with 1.0.1, but can't remember for definite.
Matplotlib: 1.1.0
Python version: 2.7.2
IPython: 0.11
Windows XP 32 bit
Many thanks for any pointers, and apologies if I have missed an obvious
setting.
James
=== begin example code ===
import matplotlib.pyplot as plt
import num
, but with zero width). With
mew>0, if I change capsize, the width of the cap now adjusts accordingly.
Many thanks.
James
From: ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] On Behalf Of Benjamin
Root
Sent: 08 November 2011 16:41
To: Blake, Ja
Hi, I downloaded a zip from the master on the github matplotlib repository,
when I run: python3 setup.py install
I get several 'SyntaxError: invalid syntax' errors which appear to
highlight quotes
...
byte-compiling
/usr/local/lib/python3.2/site-packages/matplotlib/sphinxext/plot_directive.py
to
an actual bug?
Thanks,
--James Evans
masked_array-fail.py
Description: Binary data
masked_array-good.py
Description: Binary data
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father&
source code for http://zunzun.com is freely available under a
BSD-style license on Google's source code repository at
http://code.google.com/p/pythonequations/downloads/list and comes with many
examples - so you *can* run it locally.
James Phillips
zun...@zunzun.c
lding from source because I was not able to install from the DMG
installer (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg). When I tried the
.dmg installer, I got the following message:
matplotlib 1.0.0-r0 can't be installed on this disk.
matplotlib requires System Python 2.6 to i
just try changing between Wx and WxAgg for the backends, and the
positions of the labels definitely move around in weird ways between the two,
so I think I'm now even more confused than I was before.
James
--
From: ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] On Behalf Of Benjamin
Root
Sent: Thursday, November 11, 2010 12:20 PM
To: James Davidheiser; Matplotlib Users
Subject: Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX
On Thu, Nov 11, 2010 at 12:20 PM, Benjamin Root
'pick_event' fires when I pick on either the marker or the line segment of a
Line2D object. But if I change the drawstyle to use steps (steps-pre,
steps-post, steps-mid), picking on the line segment is broken. It still seems
to think the line is linear. This leads to very strange behavior whe
nal.
I am creating the colorbars with code like:
cbar1.set_label("Lifetime [$\mu$s]", rotation='vertical')
And yet the specified rotation has no effect.
Any help would be much appreciated,
James
-
Figure and the GTK canvas in my application.
I am using matplotlib 1.0.1
On 19 August 2011 10:28, Eric Firing wrote:
> On 08/18/2011 09:53 PM, James McMurray wrote:
> > Hi,
> >
> > I am having a problem where the colorbar labels will never appear
> > vertically, even when
LaTeX.
On 19 August 2011 10:57, James McMurray wrote:
> I made this standalone script here: http://pastebin.com/AnKeCwiU and this
> does not suffer from the issue. For comparison here is the plotting function
> in my program: http://pastebin.com/7xxtPQYb
>
> The only major differenc
legitimate data points (as they can be when they are just more black and
white points as default).
Thanks,
James McMurray
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution
Okay, so using cm.set_over() and set_under works, but is there any way of
adding the set colors to the edges of the colorbar?
On 29 August 2011 15:47, James McMurray wrote:
> Hi,
>
> Is it possible to color values outside the colorbar limits in a different
> color than the colorba
I wish to make a color filled plot with the colors defined for
discrete, non-uniform intervals. Something like:
0.0 -0.001 0.001-0.05 0.05-0.2 0.2-0.4 0.4-0.8 0.8-1.0
red blue green magenta
yellowcyan
with the colorbar labeled app
(). However, I have not been able to figure
out how to do this for non-uniform intervals.
This is a long winded way of saying that getting pcolor and matshow
to work may or may not solve my specific problem.
Thanks again,
--Jim
On Apr 18, 2007, at 1:52 AM, Eric Firing wrote:
> James Bo
What is the easiest way to put a label on the color bar. I am
thinking of putting units either below or next to the bar.
I do not see this in the examples or wiki.
My first guess is to get hold of the axis for the colorbar and put a
label using this - but this seems a bit roundabout.
--Jim
The code at the end of this message is a toy example which shows the
problem I am encountering.
OS X 10.4.9 basemap 0.9.5 (Numeric 24.2 and Numpy 1.0) python 2.5
I define a map projection using Basemap, and then plot a number of
markers at various geographical locations.
I would like the map
Hello,
(for a 2-d plot)
Any example code of how to label the 2nd y-axis using a different scale
than the first y-axis for the same dataset?
For example, how do you make a plot of distances with the left y-axis in
kilometers and the right y-axis in miles?
Thanks in advance for your help,
James
As a coincidence, just today I was trying to figure out how to
increase the spacing between the lines in the title of my plot.
I too, would like some means to control this.
--Jim
On Jul 10, 2007, at 10:48 AM, Jianfu Pan wrote:
> John,
>
> Thanks for your prompt response. I think the option ca
I wish to produce a plot very much like that in the examples -
ganged_plots.py.
In these type of plots the tick labels on the end points of the y -
axis tend to run into each other if nothing is done.
In the example -ganged_plots.py, this issue is addressed by judicious
use of ylim and defin
I wish to plot 3 lines on a single graph - each line requires a
separate y scaling but shares a common x.
The case for 2 such lines is handled by twinx as in the two_scales.py
example.
I have not found an example of 3 lines ( or greater). In the case of
more than 2 scales the y axis scale wo
Hi,
I have some time series data of server CPU usage (user, system, WIO,
free, etc) and would like to plot this as a stacked bar chart, with
dates / times on the x axis (as per plot_date for x, y series data).
Is this possible?
Cheers,
James
like to do is add custom error bars to each of the bin
centroids. Clearly some form of ScatterError(x, y, yerr_up,
yerr_down) where the scatter point itself is set to be non-visible
would be ideal. Is there anything like this I could use?
Regards,
James
I am using the colorbar with a discrete set of intervals, the
progression through the levels is not linear.
Presently, the colorbar call labels every other level, this looks
very nice, but unfortunately in my case one cannot infer the value
of the unlabeled levels due to the non-linear scale
e is missing).
By contrast, the following works as expected:
>>> pylab.pie([97,3])
It seems that the problem occurs for small slices, apparently the
threshold is around 2-3%.
Any ideas?
Thanks in advance,
James
---
I cannot get the contourf extended color map ranges to show up in the
plot.
the extend option of contourf states:
extend = 'neither', 'both', 'min', 'max'
Unless this is 'neither' (default), contour levels are
automatically added to one or both ends of the range so that
all da
I have always felt that it would be useful to have available a
collection of plots corresponding to the code in the examples file as
part of the distribution. (for those examples that generate plots, of
course)
The plot names would be the same as the example code that generated
them. It could b
Hi,
What's a good way to create a 2d gaussian kernel with pylab?
I want a 9x9 matrix with 1.0 in the center, and 0.0 in the corners,
and a nice gaussian distribution from the center out.
Thanks!
-Jim
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicia
Hi,
What's a good way to create a 2d gaussian kernel with pylab?
I want a 9x9 matrix with 1.0 in the center, and 0.0 in the corners,
and a gaussian distribution from the center out.
Thanks,
-Jim
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. T
Hi I read on the py2exe wiki that the 0.83 line creates huge
distributions because of trouble excluding backends that are not
wanted.
( http://starship.python.net/crew/theller/moin.cgi/MatPlotLib )
I do need to have a small distribution on windows. Which version of
matplotlib was the last to pl
On 6/28/06, Géza Groma <[EMAIL PROTECTED]> wrote:
> Using Matplotlib 0.87.3 (wxAgg backend), NumPy 0.9.8, SciPy 0.4.9,
> wxPython unicode.2.6.3.2, python 2.4.3 the following setup.py worked
> well with py2exe 0.6.5 on Widows XP:
>
I followed your example, and had some luck. Thanks.
My final dist
of matplotlib, without pulling in numpy and
scipy and all the bells and whistles.
Of course, the real solution to my problem is to just start using all
the bells and whistles (I'm happy to see the mathtext module that will
work on systems that don't have TeX!)
-Jim
On 6/28/06, Alan
I am interested in producing a color map and accompanying colorbar with
non-linear (arbitrary) spacing. My intent is like the attached color
bar in which the increments are monotonic but vary in size. There might
be an easy way to do this but it is not apparent to me.
--Jim
Using Tomcat but
> Understood. But do not overlook that PyInstaller is really
> the current life of Gordon McMillan's Python Installer,
> so it really is not a new kid on the block.
I gave PyInstaller a try, and it seemed to be smart and easy at first, and
created a single exe that was just 8MB. The problem is t
Hi Werner,
I got this problem too, and I actually updated the py2exe wiki on what
to do when you see it. The problem is that there are multiple _sort
modules (_sort.pyd in numpy and others in the different numer*
packages.) Only some of them have dtype.
See the last section (seciton 5) of
http:
I am using matplotlib 0.87.3
The documentation of colorbar in color.py seems to indicate that one
should be able to create a color bar with pointed ends, the fill color
of the ends corresponding to the over and under colors.
I have not been able to get this to work. I have set the
colormap.se
t is the only example
> with pointed ends, and I think it was present as-is in 0.87.3.
>
> Eric
>
> James Boyle wrote:
>> I am using matplotlib 0.87.3
>> The documentation of colorbar in color.py seems to indicate that one
>> should be able to create a color bar with
when I call quiver in the Basemap toolkit, the scale keyword has the
effect of eliminating all vectors, no matter what value I assign
(except None).
I am using matplotlib 0.87.3 - Basemap 0.9
In any case the exact effect of the scale parameter is obscure - how
does is scale? units/inch, unit
, but I cannot figure
out anyway to do it.
Any help would be appreciated.
James
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https
This worked brilliantly! Thank you so much!
Secondary question now, is this:
I have a contourf and a polygon made with
ax.add_collection3d(a3.art3d.Poly3DCollection(verts, facecolors=[.5,.5,.5],
linewidths=1,edgecolor='k',zorder=0))
How do I change it so the contourf is on top of the polygon? By
My app uses the wx backend, so I happened to notice
that the backend_wx doesn't seem to work with
matplotlib 0.98.0. Running the 0.98 example embedding_in_wx.py
shows the problem. Only a bit of the lines get plotted. The
pan up/down zoom in/out all show various error messages.
When i revert bac
On Fri, 13 Jun 2008, John Hunter wrote:
> On Thu, Jun 12, 2008 at 9:21 PM, James A. Benson
> wrote:
>>
>> My app uses the wx backend, so I happened to notice
>> that the backend_wx doesn't seem to work with
>> matplotlib 0.98.0. Running the 0.98 example embe
nually kill it with the kill -SIGTERM command.
I'd like the process to die when I close the window.
I'm really an application programmer, not a system programmer, and usually
don't delve this deeply into process management, so I'm probably doing
something extremely ignorant.
nd matplotlib 0.91.2-1.fc8 from the yum
repository. Backend is set to GTKAgg in my matplotlibrc file.
James
---
On Monday 07 July 2008 17:29:16 you wrote:
> Why do you want to "fork" the process? If you just run it in the
> background it should have the desired ef
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thursday 10 July 2008 18:50:12 you wrote:
> James K. Gruetzner wrote:
> >>> I'm running Fedora 8, python 2.5.1, and matplotlib 0.91.2-1.fc8 from
> >>> the yum repository. Backend is set to GTKAgg in my matplotlib
?
>
> Devs, what do you think?
>
> Ryan
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
Thanks, Ryan, The requested info is below.
Thanks again.
James
- - SMALL COMPLETE EXAMPLE CODE FOLLOWS -
#!/usr/bin/python
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 15 July 2008 07:48:45 John Hunter wrote:
> On Tue, Jul 15, 2008 at 8:39 AM, James K. Gruetzner <[EMAIL PROTECTED]>
wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Monday 14 July 20
ppets, combined with a
chapter of short cookbook examples, would be most useful for the Matplotlib
book.
Tell the gent who floated you the proposal that I'm looking forward to
purchasing the book. Oh, and please hurry up with the publication!:-)
James
On Monday 05 January 2009
70 matches
Mail list logo