Re: [Matplotlib-users] Install Problem

2015-02-13 Thread Scott Sinclair
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

[Matplotlib-users] Fwd: Basemap plotting data on projection

2013-04-30 Thread Scott Sinclair
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

Re: [Matplotlib-users] windrose

2013-04-05 Thread Scott Sinclair
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

Re: [Matplotlib-users] windrose

2013-04-04 Thread Scott Sinclair
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 =

Re: [Matplotlib-users] ANN: basemap-1.0.5

2012-08-07 Thread Scott Sinclair
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

Re: [Matplotlib-users] problems installaling matplotlib on ubuntu 11.10

2012-02-23 Thread Scott Sinclair
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

Re: [Matplotlib-users] Script hanging during plot of Runge-Kutta

2012-02-21 Thread Scott Sinclair
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

Re: [Matplotlib-users] I cannot download the matplotlib

2012-02-14 Thread Scott Sinclair
، الساعة 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

Re: [Matplotlib-users] ticks in defined place?

2012-01-11 Thread Scott Sinclair
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,

Re: [Matplotlib-users] it is possible to use basemap to create regular spaced lat/lon grids?

2011-09-09 Thread Scott Sinclair
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

Re: [Matplotlib-users] bbox of map

2011-07-04 Thread Scott Sinclair
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

Re: [Matplotlib-users] [SciPy-User] [matplotlib] xgrid on values of x-variable?

2011-06-07 Thread Scott Sinclair
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

[Matplotlib-users] Fwd: result in the graph

2011-05-17 Thread Scott Sinclair
-- 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

Re: [Matplotlib-users] basemap map center issue

2010-11-11 Thread Scott Sinclair
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

Re: [Matplotlib-users] basemap map center issue

2010-11-11 Thread Scott Sinclair
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.

Re: [Matplotlib-users] colormap plot

2010-11-05 Thread Scott Sinclair
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

Re: [Matplotlib-users] colormap plot

2010-11-05 Thread Scott Sinclair
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

Re: [Matplotlib-users] colormap from blue to transparent to red

2010-10-12 Thread Scott Sinclair
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

Re: [Matplotlib-users] Right-to-left longitude with Basemap

2010-09-17 Thread Scott Sinclair
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

Re: [Matplotlib-users] How to add extra ticks to colorbar

2010-09-17 Thread Scott Sinclair
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

[Matplotlib-users] Fwd: plotting irregular spaced data

2010-07-08 Thread Scott Sinclair
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

Re: [Matplotlib-users] remove matplotlib

2010-07-07 Thread Scott Sinclair
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

Re: [Matplotlib-users] Placing images on figures

2010-06-10 Thread Scott Sinclair
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.

Re: [Matplotlib-users] Problems with Matplotlib and Python 2.6

2010-04-01 Thread Scott Sinclair
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

Re: [Matplotlib-users] Draw data not in rectangular shape

2010-02-01 Thread Scott Sinclair
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

Re: [Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Scott Sinclair
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

Re: [Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Scott Sinclair
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

Re: [Matplotlib-users] Replying with Thunderbird. Reply All doesn't cut it all the time.

2009-12-07 Thread Scott Sinclair
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.

Re: [Matplotlib-users] Replying with Thunderbird. Reply All doesn't cut it all the time.

2009-12-07 Thread Scott Sinclair
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

[Matplotlib-users] Fwd: A Simple Example of histogram Using Range?

2009-11-29 Thread Scott Sinclair
-- 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

Re: [Matplotlib-users] Plot a matrix in one command?

2009-10-27 Thread Scott Sinclair
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:

Re: [Matplotlib-users] Basemap drawcoastlines issue

2009-10-05 Thread Scott Sinclair
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

Re: [Matplotlib-users] unfilled scatter points

2009-10-05 Thread Scott Sinclair
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

[Matplotlib-users] Boxplot date formatting

2009-09-04 Thread Scott Sinclair
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

[Matplotlib-users] Fwd: best format for MS word?

2009-09-02 Thread Scott Sinclair
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

Re: [Matplotlib-users] Custom ticklabels on colorbar

2009-08-21 Thread Scott Sinclair
. 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

Re: [Matplotlib-users] Custom ticklabels on colorbar

2009-08-20 Thread Scott Sinclair
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?

Re: [Matplotlib-users] heatmap with varying size boxes?

2009-08-19 Thread Scott Sinclair
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

[Matplotlib-users] ImportError with basemap-0.99.3 windows binary installer

2009-02-04 Thread Scott Sinclair
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

Re: [Matplotlib-users] Color Map.

2009-01-15 Thread Scott Sinclair
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

Re: [Matplotlib-users] Color Map.

2009-01-15 Thread Scott Sinclair
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

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-23 Thread Scott Sinclair
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 =

Re: [Matplotlib-users] Plotting grid data

2008-12-09 Thread Scott Sinclair
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

Re: [Matplotlib-users] colorbar tick labeling

2008-11-20 Thread Scott Sinclair
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

[Matplotlib-users] Custom colorbar tick labeling

2008-10-31 Thread Scott Sinclair
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:

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-17 Thread Scott Sinclair
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

Re: [Matplotlib-users] Wind Barb plots

2008-07-24 Thread Scott Sinclair
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/

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-23 Thread Scott Sinclair
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

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread Scott Sinclair
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

Re: [Matplotlib-users] matplotlib/basemap question

2008-06-11 Thread Scott Sinclair
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

Re: [Matplotlib-users] adding a box (domain) on a basemap map

2008-05-08 Thread Scott Sinclair
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

Re: [Matplotlib-users] setting up matplotbib

2008-04-16 Thread Scott Sinclair
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

Re: [Matplotlib-users] plotting a contour from dicrete data

2007-07-11 Thread Scott Sinclair
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

[Matplotlib-users] Histogram orientation

2007-04-30 Thread Scott Sinclair
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

Re: [Matplotlib-users] new release of basemap

2007-03-17 Thread Scott Sinclair
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