On 13 February 2015 at 11:47, ralph hosmer 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 downloaded matp
On 3 December 2013 14:50, jilguero wrote:
> I am trying to make plots by using matplotlib.pyplot (within a Python
> script) to be used in a web site (apache, and PHP). I am using Ubuntu
> 12.04.3. The script works fine when run from the command line (it is able to
> generate the image with "savefi
Forgot to send to the list
-- Forwarded message --
From: Scott Sinclair
Date: 30 April 2013 13:20
Subject: Re: [Matplotlib-users] Basemap plotting data on projection
To: ChaoYue
On 29 April 2013 23:32, ChaoYue wrote:
> pdata = np.genfromtxt('pdata.txt
On 5 April 2013 03:54, Sudheer Joseph 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
http://matplotlib.o
On 4 April 2013 06:45, Sudheer Joseph 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 = plt.figure(figsize=(8, 8)
On 7 August 2012 03:10, Jeff Whitaker 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 Ubuntu. The naming
On Feb 23, 2012 1:39 PM, 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
--
V
On 20 February 2012 07:08, surfcast23 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 that on the first p
gt;
> في 14/02/2012، الساعة 2:48 AM، كتب Scott Sinclair
> :
>
> 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
On 11 January 2012 15:13, Petro 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, y)
plt.xticks([
On 8 September 2011 19:20, Matt Funk 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 gives the lat/lo
On 1 July 2011 16:52, marz_cyclone 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 interested in is the bou
On 7 June 2011 11:32, Klonuo Umom 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
(https://lists.sourceforge.net/lists/listinfo/matplotlib-users).
In an
-- Forwarded message --
From: Scott Sinclair
Date: 17 May 2011 14:52
Subject: Re: [Matplotlib-users] result in the graph
To: Waleria
On 17 May 2011 14:35, Waleria wrote:
> Hello all,
>
> I have this code: http://dpaste.com/543369/ (part that generates the chart)
>
On 11 November 2010 14:59, andres luhamaa 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.
A good start is al
On 11 November 2010 12:33, Andres Luhamaa 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
> coordinates lon_0=25.
On 5 November 2010 14:05, Scott Sinclair wrote:
> You probably want imshow, pcolor, pcolormash or matshow
I meant pcolormesh...
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G.
On 5 November 2010 13:33, Daniele Nicolodi 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 the right func
On 12 October 2010 14:57, Stefan Mauerberger
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 negative
> values I want the color
On 16 September 2010 22:52, Jeremy Conlin 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 this might be
On 16 September 2010 20:38, Mario Juric 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 in astronomy
> the
Caught by the default Reply-to...
-- Forwarded message --
From: Scott Sinclair
Date: 8 July 2010 13:46
Subject: Re: [Matplotlib-users] plotting irregular spaced data
To: Ross Williamson
>On 8 July 2010 00:15, Ross Williamson wrote:
> I have a set of 2d data (2d ar
>On 7 July 2010 19:02, Eric Firing 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 /usr/lib/python2.?/dist-
>On 10 June 2010 07:21, Eamon Caddigan 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. However, I've been
>
>On 1 April 2010 13:53, Mauro Cavalcanti 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 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 NumPy ma
>2010/1/20 Mario Mech :
> 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 no idea what's
>2010/1/20 Mario Mech :
> 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 copies it has no ef
>2009/12/8 Robert Kern :
> Scott Sinclair wrote:
>>> 2009/12/7 Wayne Watson :
>>> 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 we
> 2009/12/7 Wayne Watson :
> 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. If I see, From: joe...@xy
-- Forwarded message --
From: Scott Sinclair
Date: 2009/11/30
Subject: Re: [Matplotlib-users] A Simple Example of histogram Using Range?
To: Wayne Watson
>2009/11/29 Wayne Watson :
> So far matplotlib pretty much leaves the user on his own. Yes, there are
> plenty of
>2009/10/27 Piter_ :
> 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:
>
> plot(M(:,1),M(:,2:end))
> 2009/10/5 Ernest Adrogué :
> 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
http:/
>2009/10/1 ringobelingo :
> 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 e.g. the great lake
> 2009/9/3 Dave Draper :
> 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 (with a stand alon
Forgot to copy the list.
-- Forwarded message --
From: Scott Sinclair
Date: 2009/9/2
Subject: Re: [Matplotlib-users] best format for MS word?
To: Shixin Zeng
> 2009/9/2 Shixin Zeng :
> Yes, the DPI i'm using is 300, and I tried to change it to 600, or
> 1200, b
. Is there a solution for this problem
> besides entering the tick labels manually?
> Scott Sinclair wrote:
>>>
>>> 2009/8/20 Daniel Platz :
>>> The setting of the new ticklabels works now. But the first label is
>>> attached to the second tick. I tried to ada
> 2009/8/20 Daniel Platz :
> 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?
http://matplotlib.sourceforge.net/examples/pylab_examp
> 2009/8/18 Pete Shepard :
> 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 coordinates are clustere
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 "lice
> 2009/1/15 :
>>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 make sure to dire
> 2009/1/15 Oscar ¿?
> 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 anybody?
Hi Oscar,
> 2009/1/7 David Lees :
> I just installed the windows prebuilt packages for Python 2.5 for:
> numpy, scipy and finally matplotlib. I get the following import problem:
>
> >>> import pylab
> Traceback (most recent call last):
> File "", line 1, in
> File "C:\Python25\Lib\site-packages\pylab.py
>2008/12/23 Eric Firing :
> 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 =
>> mlab.csv2rec('D:/SocalScubaInfo/Data/Outputs/CSV_f
Hi,
I noticed that there is a problem rendering the plot here:
http://matplotlib.sourceforge.net/users/screenshots.html#basemap-demo
It might be something to do with the location of the data required by
the plotmap.py demo script (line 14).
Cheers,
Scott
---
> 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
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
>>
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: Bi
> "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
>
> http://matplotlib.sourceforg
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
matplotli
>>> 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 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 b
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 http://matplotlib.sourceforge.net/
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
h(self, bottom, width, height=0.8, left=None, **kwargs):
but I haven't looked back at the svn records to check that.
Eric
Scott Sinclair wrote:
> Hi,
>
> The following code fails for me with matplotlib-0.90.0 --
>
> -
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
"basem
59 matches
Mail list logo