Hello, I have the following function as an example. You can see I started to
play with one of the demos to put a colorbar on it. I'm a little confused
how to make this work, as on my figure I have several 'collections'. The
other examples I have seen deal with one collection. Maybe someone could
sh
ls suggest
using setattr(), and I wonder if perhaps what I'm setting is not 'global' or
perhaps wouldn't match some ISO or otherwise NetCDF standard??
Thanks!
On Wed, Nov 11, 2009 at 4:03 PM, Ryan May wrote:
> On Wed, Nov 11, 2009 at 7:31 AM, John [H2O] wrote:
> >
>
It's actually just a nice part of the python language, setattr(a,
> 'foo', 'bar') is the same code as a.foo = bar. When working with
> NetCDF, the only time I've needed to use setarr (or getattr) is when
> the name of the attribute I want isn't a valid python identifier (like
> if an attribute has
27;smoothing'
interpolation of the data than pcolormesh? Is there something I'm
doing wrong that contourf doesn't work with log data?
Thanks,
john
--
___
M
x27; failed.
Aborted
$
Does anyone have a suggestion where to look for the root cause of
this? From the searches I've done it seems it is likely related to the
dynamic linking of the libraries at build time.
Thank you,
john
---
http://matplotlib.1069221.n5.nabble.com/Plotting-curves-filled-with-nonuniform-color-patch-td25773.html
Raising an old thread here, but does anyone know how to make this work with
'fill_between'?
--
Try New Relic Now & We'
eocoordinate()
x = d.lons.ravel(); y = d.lats.ravel(); z = d.ice.ravel()
#create a regular lat/lon grid 0.5 degrees
dres=0.5
reg_lon = np.arange(-180,180,dres,'f')
reg_lat=np.arange(-90,90,dres,'f')
#regri
s outside projection grid
dataout = interp(self.ice.flatten(), self.lons.flatten(),
self.lats.flatten(),\
xout, yout,masked=True)
self.regridded = dataout
Thank you,
john
On Mon, Oct 25, 2010 at 1:51 PM, Jeff Whitaker wrote:
> On 10/25/10 2:27 AM
Apologies, I see I didn't need to change the xin, yin variables in the
interp function. I have it working now, but I still don't quite have
the plotting correct... be back with a report. -john
On Mon, Oct 25, 2010 at 9:27 PM, John wrote:
> Jeff, thanks for the answer. Unfortuna
Closer, but still not quite right... not sure what I'm doing wrong??
http://picasaweb.google.com/lh/photo/6Dnylo0BcjX0A-wdmczmNg?feat=directlink
Any ideas??
-john
On Mon, Oct 25, 2010 at 9:53 PM, John wrote:
> Apologies, I see I didn't need to change the xin, yin variables in
'easy' way
to plot it. I've made a number of basemap plots, but honestly, I've
made so many things complicated. An example with a projected grid
dataset (when the available parameters for the projection are easily
available -- as in this case) would be really helpful!
Regards,
john
igure.py", line 1180, in colorbar
cb = cbar.Colorbar(cax, mappable, **kw)
File "/matplotlib/colorbar.py", line 706, in __init__
mappable.autoscale_None() # Ensure mappable.norm.vmin, vmax
AttributeError: 'NoneType' object has no attribute 'autoscale_
Seems upgrading basemap to V 1.0 has solved it. So now I have:
In [1]: import mpl_toolkits.basemap as Basemap
In [2]: Basemap.__version__
Out[2]: '1.0'
In [3]: import matplotlib as mpl
In [4]: mpl.__version__
Out[4]: '1.0.0'
And the tutorial runs smoothly.
--john
On Thu, O
Jeff and others,
I have a working solution and a non-working solution. I'm wondering
whether someone can help me understand the problems in the latter.
Please forgive in advance the long post, but all of my code is here.
First, you can get a dataset from :
ftp://sidads.colorado.edu/pub/DATASETS/s
Any good tutorials or examples that people could point me to on
creating a netcdf file for a grid projected with a stereographic
projection? It's not clear to me how you would create the lat / lon
dimensions.
Thanks,
john
--
Configuration
``
Basemap: 1.0
Matpl
I've searched through the netcdf4-python trunk, but I find no
reference of NetCDFFile as in how the basemap or Scientific.IO.NetCDF
modules use it.
For compatibility with my old scripts, is it safe to simply:
from netCDF4 import Dataset as NetCDFFile
??
Thanks,
tion for a python module that can read both hdf4 and
hdf5??
Thank you,
john
PS: Jeff, this module seems to work very well! And I am very thankful
for the introduction of compression.
On Sat, Oct 30, 2010 at 2:55 PM, Jeff Whitaker wrote:
> On 10/30/10 3:41 AM, John wrote:
>> I'
F4.Dataset.__init__ (netCDF4.c:6336)()
RuntimeError: Attempt to use feature that was not turned on when
netCDF was built.
What is it that I need to do to 'build' netCDF and netcdf4-python with
the support?
Thank you,
john
On Sun, Oct 31, 2010 at 2:53 AM, Jeff Whitaker wrote:
> On 10/30
0',
(snip)
is somewhat clear in most cases, but is there a table which directly
maps these online?. Also, you can of course look at the 'long_name',
'level', and 'level_type' attributes of each variable, but I'm looking
more or less for an online table showing a
0.5 degree output, but I don't find the variable.
Thanks again!
On Tue, Nov 2, 2010 at 10:33 AM, John wrote:
> Folks,
>
> I'm trying to find documentation online that provides guidance on what
> all the variables are that are in the NCEP model output grib files.
> There a
a from the Gaussian grid to
a regular grid with 0.5x0.5 lat lon coordinates.
Any thoughts on that process?? :D
Thanks again,
john
>
> John,
>
> GRIB files are an interesting beast. It has been awhile since I have dealt
> with them, but I will try to help you with what I can recall.
ASETS_TEMPLATES/JFB_vegtypes.nc',format='NETCDF4',zlib=True)
In [103]: nco.variables.keys()
Out[103]: ['lat', 'lon', 'data']
In [104]: nco.close()
I guess officially, I should add something along the lines of:
float lat(lat) ;
lat:long_name = "l
ckage, but I'm not sure how to do this. Does
anyone have experience with this? An alternative suggestion was to use
the scipy interp capabilities; again, I'm not certain I know how to go
about this.
Thanks,
john
-
27;ll look into making it more 'general' as a next step).
If I get around to cleaning it up, I'll repost. --john
def create_land_veg_mask():
""" Process to convert Gaussian grid data to lat lon (0.5 deg)
for gridded data inside the grib2 ncep files availabl
log Y axis?
On Wed, Nov 3, 2010 at 6:18 AM, David Frey wrote:
> I am trying to use matplotlib (for the first time) to graph the address space
> usage of an application against time. The data is written to a log file by
> trace statements throughout the source code of the application. The trace
Clever folks,
Is there an algorithm, or known method to extract a subset of one grid
to match another. I have two grids, one nested, the other global. In
general they are regular lat/lon grids. Also, in general they are 0.5
degree lat/lon. However, I would like to make this as general as
possible.
Folks, I was trying to use an object oriented approach to creating
colorbars, but I could manage to make it work. Currently I have close
to what I am trying to achieve, but the last bits are missing. The
outstanding issues are:
1) I only need one colorbar, how would I create a single colorbar on
t
Hello,
I see that for a legend you can do the following:
ax = plt.scatter(x,y,label='test data')
p_leg = mpl.font_manager.FontProperties(size='8')
ax.legend(prop=p_leg)
But, how do you do set font properties for the colorbar tick labels?
Thanks!
Hi all,
I have set up an event handler and function to perform actions when a
user presses certain keys in the plot window. The function needs access
to variables that are in the main function. How do I pass these
variables to the function.
In OnKeyPress, ImageNumber and Li are objects in the m
014: UserWarning: No
labeled objects found. Use label='...' kwarg on individual plots.
warnings.warn("No labeled objects found. "
But, clearly, you can see I am using the label keyword. Is this a bug,
or am I missing something?
Thank you,
john
That is one solution, but perhaps I should have asked about a solution for
contourf as well. It would be preferable to be able to use a logarithmic
colormap rather than translating the variable.
-
This SF.net email is sponsored
Can anyone explain this??
>>> N.max(Zdat) #this is numpy.max function
1302.73592859
>>> zdat,x,y = m.transform_scalar
(Zdat,lons,lats,nx,ny,returnxy=True,order=0)
>>> N.max(zdat)
0.0
>>>
In this case, Zdat is my original array sent to my plotting function. It
seems to lose all it's data when I r
Jeff,
Thanks for the quick reply, below is my plotting code. Here are the answers
to your question about my arrray:
>>> type(Zdat); type(zdat)
>>> shape(Zdat); shape(zdat)
(180, 360)
(596, 596)
>>> shape(lons); shape(x)
(360,)
(596, 596)
>>> shape(lats); shape(y)
(180,)
(596, 596)
I would like
No, it didn't get cut off, I just decided to move that section forward
before the code and forgot to delete that line ;)
Okay, let's see...
1) Yes, I've left them in for the moment since I saw that they will be
ignored, and I'm playing with different projections... seems it doesn't
hurt.
2) Yes,
Also, I don't know if it's related, but I'm getting this Error / Warning:
UnboundLocalError: local variable 'pylab' referenced before assignment
Traceback:
File
"c:\Python25\lib\site-packages\matplotlib\toolkits\basemap\basemap.py", line
2232, in imshow
ax = pylab.gca()
As my script calls th
Shoot, still getting the error discussed above:
ValueError: shape mismatch: objects cannot be broadcast to a single
shapeFile "c:\07_jfb\Programming\Python\mod_flexpart\plotPickle.py", line
30, in
fp_plot(z);
File "c:\07_jfb\Programming\Python\mod_flexpart\plotflex.py", line 55, in
fp_plot
cs
Hold on, see my errors, trying again
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Downloa
Well, it seems like I'm making progress, but it's stll not the plot I'm
hoping to produce. Something seems strange. First, it does create a contourf
plot, but I really need to take log(zdata) and use imshow (which seems to
handly the INF issue, wheras contourf crashes). On another issue though,
onc
Thanks Eric...
Just a question, I've noticed that if I put enough resolution in lev_exp
(ie. lev_exp=arange(0,log10(z.max()),0.15) #or more is even nicer! Then the
file size gets quite large due to all the colors. Any suggestions? I know
its a separate issue...
The default, TkAgg. I've tried the others as I have some strange behavior
with TkAgg, but they don't work at all... In fact, I think I'll start
another thread, because the problem I have is now predictable... I would be
interested to see if there's a solution...
I have strange behavior when using TkAgg on a script which produces plots
repeatedly. On the first instance of the plotting, the Figure window is not
interactive, and needs to be 'killed' by clicking the x in the top right
(this is on XP, by the way). On subsequent calls, it seems fine.
What's is
Hello, could someone please help me understand a strange problem, possibly
associated with PYTHONPATH. When I import matplotlib, pylab, or scipy from
any directory other than the root installation directory, it fails. However,
if I'm in the python installation directory there are no errors. Thanks
I am trying to write some code that uses an input thread to check for user
input while another thread is running some calculations (see example below).
What I have noticed is that just including an import of pyplot (regardless
of whether it is used by the code or not) causes the call to raw_input
more than one thread.
>
> Eric
Thanks Eric, that did work for me. I don't necessarily need an
interactive backend for this, but it could be nice to get it to work. I
just tried switching raw_input to sys.stdin.readline, and that seems to
work even with the interactive backend.
Jo
y slow.
Now do the following:
for ax in f.axes[1:]: ax.axison=False
Now, when you drag the line around in the first subplot, there's a huge
difference. Basically, it seems like that matplotlib is attempting to
redraw a lot of unnecessary things on the figure. Is there an easy fix to
s 3.3 and 3.4,
matplotlib 1.3.1. All seems fine with a Fedora 20 laptop with python 3.3
and also matplotlib 1.3.1.
--
John Evans
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases"
ouldn't know why that dictionary would change in the first place.
>
>
>
> On Mon, Apr 14, 2014 at 2:54 PM, John Evans
> wrote:
>
>> Helllo, I'm seeing a strange issue when running unittests on python3.3
>> and python3.4 that somehow involves matplotlib.
line 154, in
result = package.check()
File "/home/john/Desktop/matplotlib-1.4.0/setupext.py", line 940, in
check
if 'No such file or directory\ngrep:' in version:
TypeError: argument of type 'NoneType' is not iterable
The "required dependencies and exten
On 08/31/2014 09:48 PM, John Ladasky wrote:
Hi folks,
I am trying to install Matplotlib 1.4.0 on an older laptop, running
Ubuntu 12.04. I am committed to Python 3. In the standard Ubuntu
repositories, python3-matplotlib (of any version) is unavailable until
Ubuntu 13.04.
[snip]
OK
The following minimal code example illustrates a problem I'm having.
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
# succeeds
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
plt.show()
# succeeds
fig = plt.figure()
ax = fig.add_
QGIS plugin
I want.
John Polo
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel sof
ror: No module named matplotlib.pyplot
I'm not sure what the first command is to confirm whether a module is
installed or not, but it looks like I may need that.
Thanks, Ben and Ryan.
John
On 2/12/2015 10:09 AM, Ryan Nelson wrote:
John,
As Ben said, the QGIS Windows installer
Ryan,
Thanks again. I have the permissions, I'll reinstall.
John
On 2/12/2015 11:43 AM, Ryan Nelson wrote:
John,
It's been a little while since I installed QGIS on my machine, but I
wonder if you missed a selection somewhere in the installation
process. Can you reinstall QGIS? (i
and shifted (a very weird behavior). Any
ideas?
Thank you,
John Leeman
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(100)
y = np.random.rand(100)
z = 4 * np.random.rand(100)
color_map = plt.get_cmap('rainbow_r')
fig = plt.figure(figsize=(12,9))
ax1 = plt.subpl
Jody and Ben,
That does the business! I had hunted for awhile, but didn’t find that solution.
Thank you for your help!
Cheers,
John Leeman
> On Apr 2, 2015, at 1:02 PM, Benjamin Root wrote:
>
> ::Looks again::
>
> Ok, I see what you did here:
>
> cmap = plt.get_cmap
#x27;)
Is this normal? I'm not actually using gtk in this project.
TkAgg also works.
John
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support
ystem (Linux Slackware/matplotlib 1.3.1 and 1.4.3), on C.C.Yang's
Linux Mint, but not on his MacOSX (on which the _circle symbols_ are also
dotted).
It does work if he defines TkAgg or GtkAgg (even though he does not have
Gtk installed on his Mac)
Any suggesti
On Wed, 15 Jul 2015 07:19:53 -1000
Eric Firing wrote:
> John, if you haven't already done so, please escalate this to a github
> issue.
Will do...
Cheers,
John
--
Don't Limit Your Business. Rea
ut I would prefer to work with MPL itself, as I don't always know
when MPL will judge that a data offset value is needed.
Thanks for your help!
--
*John J. Ladasky Jr., Ph.D.*
*Research Scientist*
*International Technological University*
*2711
The windows binaries for the latest matplotlib release are now
available for download at
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
for python2.5 and 2.6 (if you need 2.4 please respond here). Sorry
for the delay, but we hit a nasty python2.6/libpng/mingw th
On Fri, Jun 12, 2009 at 6:44 PM, Christoph Gohlke wrote:
> Here are the Windows installer and egg produced by "setup.py bdist_wininst"
> respectively "setupegg.py bdist_egg":
Thanks Christoph -- I've uploaded these to the sf site. After the
next trunk release, I may ask you again to provide some
On Mon, Jun 15, 2009 at 7:38 AM, CaseyWeb wrote:
> I installed this on python 2.6.2 using the windows installer (the .exe) but
> it crashes even on something as
> simple as importing pylab from the interactive prompt. To make sure it
> wasn't a conflict with other packages, I created a clean virt
On Mon, Jun 15, 2009 at 9:36 AM, TP wrote:
> Hi everybody,
>
> I want to modify a matplotlib.lines.Line2D and update the plot.
> I have used Line2D._y member to modify the line. It works. But by doing
> canvas.draw() (see example below), the line is not updated on the plot. To
> update it, I have t
On Mon, Jun 15, 2009 at 10:12 AM, CaseyWeb wrote:
>
> I do have wxPython 2.8 installed so I don't know why this would have caused
> the problem in the first place, but I changed the matplotlibrc to backend :
> TkAgg and I still get the windows crash. Just to be clear, this isn't an
> import error
On Mon, Jun 15, 2009 at 10:31 AM, Christoph Gohlke wrote:
> Hi John,
>
> I rebuilt the installer and egg and confirmed that the distributed
> matplotlibrc file contains "backend: TkAgg".
>
> <http://www.lfd.uci.edu/~gohlke/download/matplotlib-0.98.5.3
On Tue, Jun 16, 2009 at 11:42 AM, Randy Heiland wrote:
> Can someone point me to the "best" way to dynamically update a 2D
> [image] array (think of cellular automata)? E.g., this simple example
> works, but gets sluggish after several iterations:
Use im.set_array rather than making multiple call
On Tue, Jun 16, 2009 at 3:32 PM, Sebastian Haase
wrote:> On Tue, Jun 16, 2009 at 6:54 PM, John
Hunter wrote:
> Is there a similar function (to im.set_array) for graph plots ?
for lines you would use line.set_data (or set_ydata, set_xdata). Eg
http://matplotlib.sourceforge.net/ex
On Wed, Jun 17, 2009 at 5:27 PM, Elan Pavlov wrote:
> Hi,
> I'm using an animated graph in which most of the time I don't want it
> to autoscale (due to speed). Once in a while I want it to change the
> limits of the y-axis. In order to do this I use set_ylim and follow by
> a canvas.draw(). Howeve
On Wed, Jun 17, 2009 at 5:31 PM, Alexandar Hansen wrote:
> Hello,
>
> I've been having fun using hexbin, but I'd like to have consistent bin sizes
> and plot ranges for different sets of data. What I'm finding is that the bin
> sizes are primarily determined by the input data mins and maxes. For
>
On Tue, Jun 23, 2009 at 8:59 AM, Kaushik
Ghose wrote:
> Matplotlib made it past the nomination stage and is one of the finalists in
> the
> 'best project for academia' category. Don't forget to register your vote!
>
> http://sourceforge.net/community/cca09/vote/
Thanks Gaushik -- I also put a lin
On Sat, Jun 27, 2009 at 1:44 AM, LB wrote:
> I thing there should be some links on the web pages to download theses
> files.
> At least, it should be said in the docstring where to find them, don't you
> think ?
It would be a good idea -- but for now you can grab the source
distribution *.tar.gz
On Thu, Jul 2, 2009 at 1:00 PM, Pierre GM wrote:
> Eh, can I play ?
> * Something I'd really like to see is a way to access a given patch/
> line/collection/... by a string (a name) instead of having to find the
> corresponding element in a list. That would mean converting lists into
> dictionaries
Just curious if you're interested in folks contributing to the gallery. I was
playing around trying to come up with a routine to automatically choose
colors when plotting several datasets, not necessarily from a single array,
but rather say iterating through a list of datasets. I came up with the
vehemental wrote:
>
> Hi, I may be wrong, but arent these already examples of what you trying to
> show here?:
>
> http://matplotlib.sourceforge.net/examples/pylab_examples/line_collection2.html
> http://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_collection.html
>
> if you use
On Fri, Jul 10, 2009 at 3:09 PM, Michael Lerner wrote:
> Hi,
>
> I was looking at the autocorrelation of a time series recently and it was
> useful to scale the x-axis (i.e. multiply lags by the timestep of my actual
> data). It's a trivial change, but it might be useful for others. Here's a
> stan
2009/7/5 s.s C :
> when i ploted column data from an ASCII space delimited file :
>
> import matplotlib.pyplot as plt
> plt.plotfile('data.txt',cols=(0,1), delimiter=' ')
Works fine for me -- perhaps you can attach your file rather than
paste your data and let us know your platform details. Could
On Thu, Jul 9, 2009 at 5:56 PM, Joseph Smidt wrote:
> Thank you! That did it. I thought I read the webpage you sent 10
> times, but didn't even notice. Thanks.
>
> On Thu, Jul 9, 2009 at 3:38 PM, Chaitanya Krishna wrote:
>> Hi,
>>
>> legend.draw_frame(False) should do the trick. Check out
>> htt
On Sat, Jul 11, 2009 at 6:06 AM, Eli Brosh wrote:
> Hello,
> I encountered a problem when trying to draw a legend outside the axes.
> For some reason, when the legend is placed outside the axes, the markers are
> not drawn near the labels.
>
> I attach two scripts and two corresponding figures.
> t
On Tue, Jul 7, 2009 at 6:41 PM, Doug Penner wrote:
> so instead of doing
>
> plt.savefig("some/location.png")
>
> return HttpResponse(" />")
>
> I could do
>
> return HttpResponse(plt.image_render('image/png'), mimetype="image/png")
>
> and not have to worry about deleting the image later
On Mon, Jul 6, 2009 at 10:35 AM, jcm52 wrote:
>
> Perhaps this is a new feature since you sent this request, but I just came
> across
>
> pylab.suptitle('my super title')
>
> Seems to work fairly well, but the font sizes don't appear to behave as well
> as I'd like.
Just pass in the fontsize kwarg
On Tue, Jul 7, 2009 at 9:53 AM, Voichek wrote:
>
> Hi everyone,
>
> I just installed matplotlib (after suffering from Numpy, Scipy, Atlas,
> Lapack...), and I have this weird problem.
>
> When I plot the first time I have no problem, the plot comes out just fine
> and the plot window is interactive
On Sat, Jul 11, 2009 at 3:43 AM, Eli Brosh wrote:
> Hello,
> A few weeks earlier I was asking whether it is possible to plot half-filled
> markers in matplotlib.
> As I got no answers I tried to do it myself.
> There are several ways to do it. For example, I considered following the
> example in
>
2009/2/23 Gregor Skrt :
> 1. Where can I find a good tutorial or set of examples for
> embeding matplotlib in Tkinter ?
> 2. Problem: I created a simple test with Tkinter. First I plot my
> graph on __init__ (it works ok). Then I want to clear graph and
> plot on the same canv
On Tue, Jul 7, 2009 at 4:06 PM, Joseph Smidt wrote:
> I have several plots where the scientific notation exponential
> overflows to the top of the plot like this:
> http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.html.
>
> Is there any way to add units to this? So that, if
On Tue, Jul 7, 2009 at 1:26 PM, Nicolas Bigaouette wrote:
> Hi,
>
> I compiled matplotlib svn revision 7246 yesterday to try the 3D stuff.
>
> From mpl's website, an example for 3D bar plotting is shown[1]. I just don't
> understand the axes. From the code, shouldn't X values go from 0 to 20,
> ins
On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi wrote:
> Hello, how can I center axis tick labels, so that the labels ends up at
> the center between 2 ticks.
>
There is no support for this, though you can left or right align a
label with a single tick::
for label in ax.xaxis.get_xticklabel
On Wed, Jul 8, 2009 at 3:49 PM, T J wrote:
> Are matplotlib backends pluggable? That is, can package X provide an
> experimental backend and tell matplotlib to use it? If so, how?
Yes, just point to your backend with the syntax:
matplotlibrc::
backend : module://mybackend where mybackend is
On Fri, Jul 10, 2009 at 5:46 AM, Pau wrote:
> Hello,
>
> are there some relative/absolute limits in the plotting area?
>
> I would like to set some text (labels) in the plot automatically, so
> that I do not need to recalculate everytime where they should go.
>
> I mean some kind of absolute X0, Y0
On Thu, Jul 9, 2009 at 4:13 PM, W.P. McNeill wrote:
> I am trying to install matplot on an OS X (10.5.7) Intel MacBook. I
> cannot build the matplot lib extensions. I get the following error:
>
>
> g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -bundle -undefined dynami
On Mon, Jul 6, 2009 at 5:45 PM, Michael Cohen wrote:
> Hi all,
> I am trying to produce a weighted histogram.
> The help text for "hist" here:
> http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.hist
> has a mention of adding weights, but it is not noted in the command line
>
On Mon, Jul 6, 2009 at 9:35 PM, Christoph Gohlke wrote:
> 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
> available on my homepage that has GTK support enabled:
>
> http://www.lfd.uci.edu/
On Mon, Jul 6, 2009 at 6:06 AM, Oliver Tomic wrote:
> Hi,
>
> Windows XP
> Python 2.5.2
> matplotlib 0.98.5.2
>
> I try to use numpoints for a legend my plot, but without luck. I always end
> up having three points in the legend despite setting numpoints=1 (see below
> towards the end of the code).
On Sat, Jul 11, 2009 at 9:55 AM, Eli Brosh wrote:
> Thanks John,
> A kwarg fillstyle with options 'full|top|bottom|left|right' for any marker
> is certainly better than what i have done.
> I just did not have an idea how to program this kwarg.
> Further, I can't see a
On Sat, Jul 11, 2009 at 1:15 PM, Eric Firing wrote:
> John Hunter wrote:
>>
>> On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi
>> wrote:
>>>
>>> Hello, how can I center axis tick labels, so that the labels ends up at
>>> the center between
On Sat, Jul 11, 2009 at 6:54 PM, Christoph Gohlke wrote:
>
> Index: lib/matplotlib/backends/backend_gtk.py
> ===
> --- lib/matplotlib/backends/backend_gtk.py (revision 7257)
> +++ lib/matplotlib/backends/backend_gtk.py (worki
On Sat, Jul 11, 2009 at 7:31 PM, Brian Lewis wrote:
> Does there exist any big-picture comparisons of the provided backends? For
> example, it would be nice to know what features each backend has or lacks.
> It would also be nice to which backends were generally faster...and which
> were recommend
On Tue, Jul 14, 2009 at 12:48 PM, Northenlight wrote:
>
> Hi,
>
> Is there a way to interactive with the plot? For example, draw a vertical
> marker on the plot, let user move the marker and shows x, y values of the
> point where the curve intersect with the marker?
See these examples and tutoria
I also recently posted an example that may do something similar to what you
are after, you can have a look here:
http://www.nabble.com/contribute-to-gallery--Or%2C-just-advice-on-changing-colors-automagically-td24419101.html#a24427781
per freem-2 wrote:
>
> Hi all,
>
> i would like to set
Hello,
I am trying to run a plotting script. I have my imports as such:
from matplotlib import interactive
interactive(False)
import matplotlib.pyplot as plt
But I am getting this error repeatedly:
fig=figure(1,figsize=(8,6))
File "/usr/lib/python2.6/dist-packages/matplotlib/pyplot.py", l
John [H2O] wrote:
>
>
> My $DISPLAY variable does change from time to time, but as I have it set
> to interactive, why should this matter?
>
>
I wanted to explain a little further. I have it set to interactive(False)
sorry if there is confusion in my above statement.
The
1 - 100 of 1983 matches
Mail list logo