On 13 February 2015 at 11:47, ralph hosmer ralphhos...@yahoo.com wrote:
download: matplotlib-1.4.2-cp32-none-win_amd64.whl [from Sourceforge]
In the Python Command Line window, I've tried most of the install
matplotlib instructions, but continue to get Syntax Error.
Double-clicking on the
Forgot to send to the list sigh
-- Forwarded message --
From: Scott Sinclair scott.sinclair...@gmail.com
Date: 30 April 2013 13:20
Subject: Re: [Matplotlib-users] Basemap plotting data on projection
To: ChaoYue chaoyue...@gmail.com
On 29 April 2013 23:32, ChaoYue chaoyue
On 5 April 2013 03:54, Sudheer Joseph sudheer.jos...@yahoo.com wrote:
Some how I am not getting the trick of the
rect = [0.1, 0.1, 0.8, 0.8]
I tried
rect1= [0.1,0.1,.4,.4]
and rect2=[.4,.4,.8,.8]
but did not work
You don't say exactly what you did, and how it didn't work...
If you read
On 4 April 2013 06:45, Sudheer Joseph sudheer.jos...@yahoo.com wrote:
Below is a sample script I got from windrose pack. I would like to
place 2 windroses side by side
...
from windrose import WindroseAxes
from matplotlib import pyplot as plt
...
def new_axes():
fig =
On 7 August 2012 03:10, Jeff Whitaker jsw...@fastmail.fm wrote:
Available for download at
https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.5/
Just a note to anyone experiencing problems building against GEOS
3.3.3 installed from the ubuntu-gis-unstable PPA on
On Feb 23, 2012 1:39 PM, ava...@famaf.unc.edu.ar wrote:
should I reinstall numpy?
No need. You should be able to build matplotlib without sudo and then
install with sudo
python setup.py build
sudo python setup.py install
Cheers,
Scott
On 20 February 2012 07:08, surfcast23 surfcas...@gmail.com wrote:
Hi I wrote the following script, but it hangs right after plt.show(). I would
really appreciate it if someone could take a look and let me know where I'm
messing up. Thanks in advance
Your script works fine for me. It's just
، الساعة 2:48 AM، كتب Scott Sinclair
scott.sinclair...@gmail.com:
Hi Fadhah,
If you'd like someone to help. You'll need to explain in more detail, what
steps you're trying and what's going wrong.
Cheers,
Scott
On Feb 13, 2012 5:44 PM, love ali a.fa...@yahoo.com wrote:
Dear all,
I use
On 11 January 2012 15:13, Petro x.pi...@gmail.com wrote:
I want to make a plot with two xticks. Lets say at -3051 and 2011
position. How can I do it?
One way to do it:
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(-3100, 2025, num=50)
y = np.random.random(50)
plt.plot(x,
On 8 September 2011 19:20, Matt Funk matze...@gmail.com wrote:
Hi,
sorry that it has taken me so long to reply. Anyway, i could be wrong, but i
don't think that the code:
xi = np.linspace(llcrnlon,urcrnlon,1000)
yi = np.linspace(llcrnlat,urcrnlat,1000)
will produce a grid which
On 1 July 2011 16:52, marz_cyclone m...@meteo.uni-koeln.de wrote:
i'm trying to get the bounding box of a map plotted with basemap to place a
colorbar. in this reduced example from the example directory of basemap, the
colorbar is set to the hight of the axes of the plot.
...
what i'm
On 7 June 2011 11:32, Klonuo Umom klo...@gmail.com wrote:
I have very simple XY graph, and I want to display X grid only, and only
on values of X variable, which are lets say [10, 11, 12, 15, 20]
This is a question for the Matplotlib list
-- Forwarded message --
From: Scott Sinclair scott.sinclair...@gmail.com
Date: 17 May 2011 14:52
Subject: Re: [Matplotlib-users] result in the graph
To: Waleria waleriantu...@gmail.com
On 17 May 2011 14:35, Waleria waleriantu...@gmail.com wrote:
Hello all,
I have this code
On 11 November 2010 12:33, Andres Luhamaa andresluha...@gmail.com wrote:
I have a problem creating map in aeqd projection. The problem seems to be
that the map center, given by arguments lon_0 and lat_0 is taking into
account only full part of the coordinate. If I want to get map center at
On 11 November 2010 14:59, andres luhamaa andresluha...@gmail.com wrote:
Thanks, it really works with QT4Agg!
Still, I think it would be better, if it worked with default GTKAgg as
well. But my understanging of the whole matplotlib code is probably too
general to submit a bug report somewhere.
On 5 November 2010 13:33, Daniele Nicolodi dani...@grinta.net wrote:
I would like to plot an x, y, z table so that each region of the plot
area defined by the coordinates (x, y) corresponds a color given by the
value of z. I suppose this is a kind of basic functionality, but I'm
unable to find
On 5 November 2010 14:05, Scott Sinclair scott.sinclair...@gmail.com wrote:
You probably want imshow, pcolor, pcolormash or matshow
I meant pcolormesh...
--
The Next 800 Companies to Lead America's Growth: New Video
On 12 October 2010 14:57, Stefan Mauerberger
stefan.mauerber...@mnet-online.de wrote:
I am having trouble with colormaps unsing pcolormesh. I would like to
plot and colorise a seismic wave field above a map. Plotting works fine
but I do not know how to bring transparency into colormaps. For
On 16 September 2010 20:38, Mario Juric mju...@cfa.harvard.edu wrote:
I'm looking at Basemap as a backend for plotting maps of the sky in
different projections, and so far it seems like a really good match!
Excellent work!
The only problem that I don't know how to solve is that
On 16 September 2010 22:52, Jeremy Conlin jlcon...@gmail.com wrote:
I have a colorbar which has some ticks, but I would like to add my own
ticks without replacing any of the existing ones. In addition, I
would like to give the ticks a different labels like min and max.
Can someone show how
Caught by the default Reply-to...
-- Forwarded message --
From: Scott Sinclair scott.sinclair...@gmail.com
Date: 8 July 2010 13:46
Subject: Re: [Matplotlib-users] plotting irregular spaced data
To: Ross Williamson rosswilliamson@gmail.com
On 8 July 2010 00:15, Ross
On 7 July 2010 19:02, Eric Firing efir...@hawaii.edu wrote:
On 07/07/2010 05:01 AM, Benjamin Root wrote:
Samuel,
Fortunately, matplotlib keeps all of the files that it compiles with the
python files that it installs. On Ubuntu, I believe that the
installation directory was
On 10 June 2010 07:21, Eamon Caddigan eamon.caddi...@gmail.com wrote:
I'd like to draw thumbnails of images on various plots, e.g., a bar
chart with a picture placed at the base of the bar, or a scatter plot
with photos next to select points.
Reading and resizing the image aren't an issue.
On 1 April 2010 13:53, Mauro Cavalcanti mauro...@gmail.com wrote:
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
from pylab import randn, hist
x = randn(1)
hist(x, 100)
Instead of a nice
On 1 February 2010 11:34, Torsten Andre q...@takb.net wrote:
I've got a a pylab 2D array which I plot using imshow() which just works
fine. But part of the data within the array is not to be considered nor
plotted.
My problem is that I don't know how to plot the data again.
Hi Torsten,
Use
2010/1/20 Mario Mech m...@meteo.uni-koeln.de:
cb = pyplot.colorbar(format=r%2.1f)
for j in cb.ax.get_yticklabels():
j.set_text('bla')
pyplot.show()
Doesn't do anything.
It looks like cb.ax.get_yticklabels() returns a list of copies of the
Text objects. Since you are only changing the
2010/1/20 Mario Mech m...@meteo.uni-koeln.de:
Ok, something like
cl = cb.ax.get_yticklabels()
cl[0].set_text('bla')
cb.ax.set_yticklabels([elem.get_text() for elem in cl])
This works for me.
But
cl = cb.ax.get_yticklabels()
results in a list of Text objects like Text(0,0,'').
I have
2009/12/7 Wayne Watson sierra_mtnv...@sbcglobal.net:
I see a variance with replying to a post on this list and other Python
lists. It appears to be a difference between the way people post. If I
see From: a...@xyz.net and To: matplotlib-users@lists.sourceforge.net,
then Reply All gets both.
2009/12/8 Robert Kern robert.k...@gmail.com:
Scott Sinclair wrote:
2009/12/7 Wayne Watson sierra_mtnv...@sbcglobal.net:
I see a variance with replying to a post on this list and other Python
The moral? Always use Reply To, and hope everyone else remembers to
do so as well :)
Did you mean
-- Forwarded message --
From: Scott Sinclair scott.sinclair...@gmail.com
Date: 2009/11/30
Subject: Re: [Matplotlib-users] A Simple Example of histogram Using Range?
To: Wayne Watson sierra_mtnv...@sbcglobal.net
2009/11/29 Wayne Watson sierra_mtnv...@sbcglobal.net:
So far
2009/10/27 Piter_ x.pi...@gmail.com:
I have a matrix M:
First column is X ans the rest are Ys. Lets say 100 of them (1000
sometimes).
So far I can plot it like
plot(M(:,1), M(:,2),M(:,1),M(:,3)... and so on and so on)
Is there any possibility to do it in matlab way? Like:
2009/10/1 ringobelingo ringobeli...@gmail.com:
I would like to add coastlines to a map but do not want interior
'coastlines'. At present, without them my continents are not distinct enough
from the data I am plotting in the background. But, when I draw them using
drawcoastlines(), I also get
2009/10/5 Ernest Adrogué eadro...@gmx.net:
is it possible to draw unfilled scatter points?
Yes, try the following
import numpy as np
import matplotlib.pyplot as plt
x = np.random.rand(10)
y = np.random.rand(10)
plt.scatter(x, y, facecolor='none')
plt.show()
Also take a look at
2009/9/3 Dave Draper ddra...@wildbluecorp.com:
Scott,
Have you done any plots using boxplot?
I am having an issue with the xaxis and trying to change the Date Formatter…
Thanks,
David
Hi David,
Please post questions to the mailing list, if you can clarify what
issues you are having
Forgot to copy the list.
-- Forwarded message --
From: Scott Sinclair scott.sinclair...@gmail.com
Date: 2009/9/2
Subject: Re: [Matplotlib-users] best format for MS word?
To: Shixin Zeng zeng.shi...@gmail.com
2009/9/2 Shixin Zeng zeng.shi...@gmail.com:
Yes, the DPI i'm using
. Is there a solution for this problem
besides entering the tick labels manually?
Scott Sinclair wrote:
2009/8/20 Daniel Platz mail.to.daniel.pl...@googlemail.com:
The setting of the new ticklabels works now. But the first label is
attached to the second tick. I tried to adapt the clim range by using
2009/8/20 Daniel Platz mail.to.daniel.pl...@googlemail.com:
The setting of the new ticklabels works now. But the first label is
attached to the second tick. I tried to adapt the clim range by using
the vmin and vmax option of pcolor but it did not help.
Does this help?
2009/8/18 Pete Shepard peter.shep...@gmail.com:
I have a list of X,Y coordinates and a ratio associated with each
coordinate. The X and Y coordinates are continuous but random from 50-500, I
would like to make a continuous heatmap of the ratios at each coordinate.
One caveat is that the
Hi Jeff,
I'm seeing the following error with basemap-0.99.3 on Windows. It was
installed using the binary installer from sourceforge (as were Numpy
and Matplotlib).
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type help, copyright, credits or license
2009/1/15 Oscar ¿? piti...@hotmail.com
I´m a new user of this forum. I'm trying to work in Python at the moment but
it´s quite difficult for me. My first question is if it is
possible to do Color Maps in Matplotlib in the same manner of the mesh
function in Matlab. Could you help me
2009/1/15 projet...@club-internet.fr:
Matplotlib is a purely 2D plotting library, it doesn't provide similar
capability to the Matlab 'mesh' function. For 3D plotting you could
use Mayavi
Do you have some example of Python programs using Mayavi ? Simple
examples would be good ones.
Please
2008/12/23 Eric Firing efir...@hawaii.edu:
antonv wrote:
Hi all,
I am trying to plot data from a grib file from noaa ...
Here is a sample of the code that I am using:
import matplotlib.pyplot as plt
import matplotlib.mlab as mlab
r =
Mauro Cavalcanti wrote:
I tried to do:
coords = numpy.loadtxt('grid.dat')
lon = coords[:,0]
lat = coords[:,1]
dat = coords[:,2]
X, Y = numpy.meshgrid(lon, lat)
nlons = X.shape[1]
nlats = X.shape[0]
Z = dat.reshape(nlats,nlons)
(so that I could proceed to plotting with the X,Y,Z
2008/11/21 Eric Firing [EMAIL PROTECTED]:
Michael Outhouse wrote:
I was wondering if it is possible to change the colorbar tick labeling in
matplotlib from numeric to text. Essentially, I want the colorbar to be a
qualitative indicator; in the jet scheme, I'd like blue to be labeled
as
Hi,
There was a recent unanswered post on this topic. I hope the attached script is
useful and makes it's way into the Matplotlib examples.
Thanks for a great library,
Scott
Please find our Email Disclaimer here: http://www.ukzn.ac.za/disclaimer/
colorbar_tick_labelling_demo.py
Description:
John Hunter [EMAIL PROTECTED] 10/16/08 6:39 PM
We've been working behind the scenes on a new documentation system for
matplotlib, which integrates the web site, API documentation and PDF
As an example we can include plots in our API documentation, see
Nice!
Ryan May [EMAIL PROTECTED] 07/24/08 4:55 AM
To anyone interested (especially the meteorologists out there),
Matplotlib SVN trunk now has support for doing wind barb plots.
Please find our Email Disclaimer here: http://www.ukzn.ac.za/disclaimer/
Lionel Roubeyrie [EMAIL PROTECTED] 07/23/08 9:37 AM
I want to convert a filled contours map generated with
Basemap (example here : http://imagebin.ca/view/3nYnN3.html)
to a polygon shapefile (vector).
After multiple tests, I can retrieve the polygons points coordinates via
matplotlib.Patch
David Goldsmith [EMAIL PROTECTED] 06/19/08 9:39 AM
Hi! I'm having trouble figuring out how to plot an array as an image with the
OO interface - please help (e.g., w/ an example). Thanks,
DG
From the examples
http://matplotlib.sourceforge.net/matplotlib_examples_0.98.0.zip
Here's a response to a similar question a few weeks back:
http://www.nabble.com/Kriging-with-Matplotlib-to17281645.html
I haven't tried using the RandomRealizations package yet, but it looks good and
well documented.
Regards,
Scott
Lionel Roubeyrie [EMAIL PROTECTED] 06/11/08 8:47 AM
Hi
Hi Nicolas,
The attached script should illustrate one way to solve your problem.
Cheers,
Scott
Nicolas [EMAIL PROTECTED] 05/07/08 2:25 PM
Hi all
sorry for posting this question that might have been answered before,
but
I'm in the urgent need of finding a way to overlay a rectangular box on
a
Hi Nathanael,
Are you sure that you've actually installed the Matplotlib package for Python?
You don't mention it in your e-mail.
What happens when you type:
import matplotlib
at the Python prompt (i.e. in Ipython)?
You can download a windows installer from
That is very cool, I hadn't thought of it!
So what you're saying is that any transformation (a complex distortion) of a
regular rectangular grid is fine. The fact that the grid's 'pixels' are four
sided quadrilaterals satisfies this condition and the contour algorithm works...
Cheers,
Scott
Hi,
The following code fails for me with matplotlib-0.90.0 --
---
import pylab as pl
x = pl.randn(1000)
pl.hist(x, orientation='horizontal')
pl.show()
---
This is because Axes.barh() [called
Jeff Whitaker [EMAIL PROTECTED] 3/16/2007 18:30
I just put a new release (0.9.5) of basemap on the sf download site.
...
Windows users - please let me know if the binary installers work OK.
Hi Jeff,
Thanks for the great toolkit.
I've just downloaded, installed and tested
55 matches
Mail list logo