Re: [Matplotlib-users] Draping an image over topography in Basemap

2014-06-12 Thread Tim
I had just been looking into this myself. My starting point would be this example: http://stackoverflow.com/questions/13570287/image-overlay-in-3d-plot-using-python but instead of the hard-coded '10' as the z values in plot_surface, put in whatever data or function of x and y that you want. Using

[Matplotlib-users] twiny and AxisDivider

2014-02-26 Thread Tim
I'm trying to do a twiny setup on one of the Axes generated from a make_axes_locatable().append_axes() call. The new axis generated from twiny() seems to span the entire window though. Here's the code: from matplotlib.pyplot import * import numpy as np from mpl_toolkits.axes_grid1 import

Re: [Matplotlib-users] Hovemuller Diagram

2013-07-14 Thread Tim Michelsen
Finally I got installed by following link below That's not a PPA for Ubuntu... -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics

Re: [Matplotlib-users] Hovemuller Diagram

2013-07-12 Thread Tim Michelsen
Am 12.07.2013 09:51, schrieb Phil Elson: for instance last week we added a PPA so that with the necessary repos added you would be able to apt-get install python-iris on an Ubuntu machine Could you please point me to this PPA? Where can I find the link?

Re: [Matplotlib-users] timeseries forecast error?

2013-04-30 Thread Tim Michelsen
I would just use the fill_between method http://matplotlib.org/examples/pylab_examples/fill_between_demo.html?highlight=codex%20fill_between http://matplotlib.org/examples/pylab_examples/fill_between_demo..html?highlight=codex%20fill_between today I found this:

[Matplotlib-users] Linecollection, labels

2011-04-13 Thread Tim Åberg
? If not, is there any eother asy way of creating labels on a line? Best regards, Tim -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights

[Matplotlib-users] Lable lines

2011-04-11 Thread Tim Åberg
Hello! I have written a temprature logger using mathplotlib, i take in a list of multiple lines and print them out with Linecollection, i also supply a list of colors. Now to the the question, what is the best way (function) to explain to the user what line in the graph that correspond to

[Matplotlib-users] Alpha not working from imshow?

2011-01-17 Thread Tim Burgess
(): a = ma.array([[1,2,3],[4,5,6]],mask=[[0,0,1],[0,0,0]]) fig = plt.figure() fig.patch.set_alpha(0.0) cmap = cm.jet cmap.set_bad(alpha=0.0) imshow(a, interpolation='nearest', cmap=cmap) colorbar() show() Any thoughts? Tim B

Re: [Matplotlib-users] Alpha not working from imshow?

2011-01-17 Thread Tim Burgess
Thanks, Paul! A bit of tweaking in my actual app but it now works beautifully! On 18/01/2011, at 4:08 PM, Paul Ivanov wrote: Tim Burgess, on 2011-01-18 13:32, wrote: I'm generating images that I want to use as overlays in Google Earth. Thus, I would like the masked portion of the numpy

Re: [Matplotlib-users] image conversion

2010-12-17 Thread Tim Gray
On Dec 16, 2010 at 09:24 PM -0800, Robert Field wrote: That's what I thought at first too, but imagemagick/graphicsmagick aren't able to do the work. I've found something else to use in the meantime. Thanks, You could save an additional pdf version with your matplotlib code and convert that

Re: [Matplotlib-users] Formatter dates

2010-11-23 Thread Tim Åberg
Thanks for the reply! Do you know what makes X climb? And can you control its on some way? // Tim From: jdh2...@gmail.com Date: Wed, 17 Nov 2010 05:55:04 -0600 Subject: Re: [Matplotlib-users] Formatter dates To: qw...@hotmail.com CC: matplotlib-users@lists.sourceforge.net On Wed, Nov

Re: [Matplotlib-users] Formatter dates

2010-11-22 Thread Tim Åberg
could get the ratio and then plot the dates by indexing the ratio times X eg. (Xmax / listlength) * X. // Tim From: jdh2...@gmail.com Date: Wed, 17 Nov 2010 05:55:04 -0600 Subject: Re: [Matplotlib-users] Formatter dates To: qw...@hotmail.com CC: matplotlib-users@lists.sourceforge.net

Re: [Matplotlib-users] Formatter dates

2010-11-22 Thread Tim Åberg
) * X. // Tim From: jdh2...@gmail.com Date: Wed, 17 Nov 2010 05:55:04 -0600 Subject: Re: [Matplotlib-users] Formatter dates To: qw...@hotmail.com CC: matplotlib-users@lists.sourceforge.net On Wed, Nov 17, 2010 at 2:29 AM, Tim Åberg qw...@hotmail.com wrote: Hello! I have now been

[Matplotlib-users] Formatter dates

2010-11-17 Thread Tim Åberg
(dates) and format it by itself. // Tim -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend

Re: [Matplotlib-users] Formatter dates

2010-11-17 Thread Tim Åberg
Nov 2010 09:55:13 +0100 Subject: Re: [Matplotlib-users] Formatter dates From: pgmdevl...@gmail.com To: qw...@hotmail.com Tim, have you tried the scikits.timeseries package? Its plotting capacities, albeit limited, may be helpful in your case... On Nov 17, 2010 9:31 AM, Tim Åberg qw...@hotmail.com

Re: [Matplotlib-users] Linecollection, Dates on X-axis

2010-11-12 Thread Tim Åberg
/pylab_examples/date_index_for matter.html. -Original Message- From: Tim-- [mailto:qw...@hotmail.com] Sent: Thu 11-Nov-2010 08:54 To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] Linecollection, Dates on X-axis Hello! I have written a program that plots

[Matplotlib-users] Linecollection, Dates on X-axis

2010-11-11 Thread Tim--
Hello! I have written a program that plots values over Time, because it has to be done(plotted) fast the date_plot didnt fit the bill so i moved over to Linecollection and it works like a charm. The only problem i have now is that i dont know any easy way to get dates on the x-axis. Any ideas?

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Tim Gray
On Jul 26, 2010 at 02:01 PM -0300, Waléria Antunes David wrote: i don't understand.. Just divide through by '1000.' or '1000.0' (same thing). If you write 3100/1000, you'll get '3' because you are doing integer math. If you write 3100/1000.0, you'll get '3.1' because you are doing float math.

Re: [Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-25 Thread Tim Gray
On Jun 24, 2010 at 04:52 PM -0400, Tim Gray wrote: I'm updating my python install but am running into problems with matplotlib, as always. This time around I'd thought I'd use the .dmg installer. I've already installed Python 2.6.5 from python.org and numpy from scipy.org. Both

Re: [Matplotlib-users] Mac OS X 10.6 dmg install (Tim Gray)

2010-06-25 Thread Tim Gray
On Jun 24, 2010 at 09:37 PM -0700, Hana Sevcikova wrote: I think you just need to direct the PYTHONPATH variable to the place where matplotlib is installed. My PYTHONPATH looks like this:

Re: [Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-25 Thread Tim Gray
and scipy also do this. It makes it a lot easier to push python as a Matlab/IDL replacement if potential users can just download four dmgs (python, numpy, scipy, and matplotlib) and it all just works out of the box. Thanks for the help! Tim

[Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-24 Thread Tim Gray
: Is there a good reason for this? And what's the workaround. Thanks. Tim -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list

Re: [Matplotlib-users] Placing a marker at specific places where lines join?

2010-02-15 Thread Tim Michelsen
Hello, I have a similar problem to: Suppose I plot a line from (0,0) to (1,1.5) to (2,2). Now I want to mark (1,1.5) with a green circle. How is that done? I am performing a curve fit and also showing a distribution in my plot. In order to help the reader to evaluate the result I would like to

Re: [Matplotlib-users] Building basemap on OS X 10.6

2009-11-10 Thread Tim Burgess
On 10/11/2009, at 3:37 AM, Christopher Barker wrote: Tim Burgess wrote: Sodecided to go down the MacPorts path. Many automated downloads later, I now have a successful Basemap install (yay!) Many thanks to the folks who have contributed to MacPorts and interestingly geos 3.1.1

[Matplotlib-users] Multicolor line with dates

2009-10-27 Thread Tim Burgess
/site-packages/numpy/core/numeric.py, line 230, in asarray return array(a, dtype, copy=False, order=order) ValueError: setting an array element with a sequence. Can a multicolor line be done with dates. if so, what is the manipulation I need to do for dates? Tim Burgess

Re: [Matplotlib-users] How to plot straight lines on polar plots

2009-01-29 Thread Tim Michelsen
Hello, I am trying to create a plot that resembles the layout of the chart seen below: http://www.nabble.com/file/p21721073/brisbane.png are you actually trying to plot sun path digrams? May you share a part of your code once it is completed? I'd be very interested in seeing a working

[Matplotlib-users] Zip Archive for the gallery plot

2009-01-20 Thread Tim Michelsen
Hello, are the nice examples from gallery on the matplotlib homepage somewhere available as a ZIP-archive? I would like to have them as reference during time I am not connected to the net. Thanks and regards, Timmie

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-26 Thread Tim Michelsen
Hello Mauro, I am not just trying, Sorry for disregarding your using the term trying. I am indeed implementing a software package for species distribution mapping and biogeographic analysis, using wxPython/Matplotlib. Thanks for being more specific. There is another program aiming at

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-25 Thread Tim Michelsen
Hello! I am attaching the current version of source code plus a screenshot. I would like to ask you why you are trying to implement this by yourself in wxPython/matplotlib. There are already two pythonised applications that may be used for your purpose. And they are aware of the projections

Re: [Matplotlib-users] Plot a Dictionary, time and value

2008-08-06 Thread Tim Michelsen
Hello, excuse the late reply. But you may be interested in the timeseries scikit: http://scipy.org/scipy/scikits/wiki/TimeSeries http://www.scipy.org/Cookbook/TimeSeries/FAQ Have success! Kind regards, Timmie - This

Re: [Matplotlib-users] plotting a contour map from CSV file

2008-07-29 Thread Tim Michelsen
Hello Jeff, I just wanna give feedback on what got me going here: data preparation ### data is loaded from a CSV file ### lats = y # data[:,0] ## lon = x lons = x # data[:,1] ## values = z values = z #data[:,2] ### lat_uniq = list(set(lats.tolist())) nlats = len(lat_uniq) lon_uniq =

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-22 Thread Tim Michelsen
Looks like I've done a mistake with my last post, sorry Eli... I know how to save datas to a shapefile with the OGR library but only for points datas. I'll appreciate if somebody can point me how to save a filled contour map basemap into a polygon shapefile, can't find any example with

Re: [Matplotlib-users] ocean profile

2008-07-17 Thread Tim Michelsen
I'd love to see it included to -- I believe the problem is finding a good code that is BSD compatible. Yes. Some examples on plotting data using spatial interpolation would be very nice. One with the delauny package: see below at: http://scipy.org/scipy/scikits/ And one with griddata:

Re: [Matplotlib-users] ploting a contour graph from data files

2008-07-16 Thread Tim Michelsen
Oz Nahum schrieb: Hi, I want to draw a contour plot which uses data from files. I know how to import the files, so it's not the main issue. I was discussion a similar issue with Jeff this week. Take a look at the thread: http://news.gmane.org/gmane.comp.python.matplotlib.general

[Matplotlib-users] plotting a contour map from CSV file

2008-07-14 Thread Tim Michelsen
Dear Matplotlib-Users, I am tryring to create a contour plot over a basemap. My main problem is creating the array for the Z values as a basis for the plt.contour command from a CSV file where latitude, longitude and value are stored column-wise: lat;lon;value 50; 10; 6 ... The

Re: [Matplotlib-users] plotting a contour map from CSV file

2008-07-14 Thread Tim Michelsen
Hello Jeff, - Points stored in the above descripbed format (lat, lon, value)? This one I solved using a m.scatter() function - Interpolate a grid of data points by using different interpolation methods like inverse distance wheighting, natural neighbor interpolation, etc. to get a

Re: [Matplotlib-users] plotting a contour map from CSV file

2008-07-14 Thread Tim Michelsen
Hello, thanks. I checked again from contour_demo.py of the basemap distribution. There lats, lons are uniquely monoton increasing from 0-360 and from -90 to 90. In my case data is written row-by-row: * increasing from lowest latitude western most longitude to easternmost longitude and then

Re: [Matplotlib-users] plotting a contour map from CSV file

2008-07-14 Thread Tim Michelsen
Hello Jeff, Timme: Here's one way to do it many thanks so far. I still have to inspect and improve my script. But at least your code lead me to some contourd surface. I will come back and tell if it worked. Unfortunately I cannot disclose the data nor the results because of copyright issues.

[Matplotlib-users] axes scale factor not showing

2008-05-10 Thread Tim Mitchell
Thanks Tim -- Tim Mitchell Software Engineer Applied Research Associates (NZ) Ltd. (www.aranz.com) Ph: +64 (3) 374-6120 ext: 203 Fax: +64 (3) 374-6130 Skype: tim-mitchell inline: noscale.png- This SF.net email is sponsored

[Matplotlib-users] axes scale factor not showing

2008-05-08 Thread Tim Mitchell
) window.show_all() gtk.main() I can use the axes position to work I guess but that seems rather unsatisfactory as I'll have to figure out when it's being displayed or not, font sizing and spacing blah blah blah. Is there an easier way around this (or a fix?)? I'm using v0.90.0 Thanks Tim

[Matplotlib-users] Newbie / plot([1,2,3]) issues / Csound

2008-03-15 Thread Tim Mortimer
hopefully this is a good place to start. Spoilt for choice, swamped by info, uncertain how best to proceed. many thanks Tim - *** www.phasetransitions.net hermetic music * python * csound * possibly mindless ranting various werk in perpetual delusions of progress -- View

Re: [Matplotlib-users] Newbie / plot([1,2,3]) issues / Csound

2008-03-15 Thread Tim Mortimer
', 'linecache', 'matplotlib.shutil', 'time', 'idlelib.select', 'idlelib.run'] numerix numpy 1.0.3.1 $HOME=C:\Documents and Settings\Tim CONFIGDIR=C:\Documents and Settings\Tim\.matplotlib Using fontManager instance from C:\Documents and Settings\Tim\.matplotlib\fontManager.cache matplotlib data path C:\Python25

Re: [Matplotlib-users] import error with Basemap

2008-02-15 Thread Tim Michelsen
Timmie: It's possible that the windows installer is missing the httplib2 module - I don't have access to windows right now to check. Could you try installing httplib2 and let me know if that fixes it? Installing httplib2 solved the issue. Has this dependancy on httplib2 been introduced in

[Matplotlib-users] import error with Basemap

2008-02-08 Thread Tim Michelsen
Hello, using the basemap toolkit on Windows with Python 2.5 I get the following import error: In [1]: from matplotlib.toolkits.basemap import Basemap --- type 'exceptions.ImportError' Traceback (most recent call

Re: [Matplotlib-users] matplotlib, ipython and ubuntu

2008-01-29 Thread Tim Michelsen
Hello! Hmm, I did reinstall and still no joy, it insists on install python2.4 at the same time! do a $: sudo apt-get --purge remove matplotlib ipython to really remove the configuration files. then $: sudo apt-get install matplotlib ipython check if pylab is on your system: $: locate pylab

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Tim Lewis
/www/www/cgi-bin/, (since it is present), and not from /home/private/mpl/.matplotlib/. Perhaps there is something incorrect in that matplotlibrc file. Cheers, Mike Tim Lewis wrote: Can you set verbose.level to debug-annoying in your matplotlibrc and send us the output? That may help provide

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-07 Thread Tim Lewis
to run it from the command line, but I haven't done it before (and not sure how to do it); the web hosting server is in a land far far away. :-) I am just running the script from a http request. I can probably have them run it if need to. Thanks, Tim Lewis wrote: I'm using the code from http

[Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-06 Thread Tim Lewis
I'm using the code from http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script to generate plots from my web server. The plot shows up fine (w/o text) but when I use xlabel(x-axis), ylabel(y-axis), or title(A Chart); no text shows up on the plot. Everything seems fine with the

[Matplotlib-users] new free matplotlib based software useful for you?

2007-05-01 Thread Tim Hirzel
this project off the ground. Tim - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net

Re: [Matplotlib-users] problems building/installing

2007-04-06 Thread Tim Hirzel
oops, my bad. thanks for the correction. t Robert Kern wrote: Tim Hirzel wrote: Its a little tough right now that os x doesn't have one python install to rule them all. Yes it does. http://www.python.org/download

Re: [Matplotlib-users] problems building/installing

2007-04-04 Thread Tim Hirzel
now that os x doesn't have one python install to rule them all. Instead, there are about 5 (not an actual count) ways to do it, most with gotchas. tim Simson Garfinkel wrote: Alas, tried the easy_install matplotlib. It downloaded and installed matplotlib, but didn't install wx, so I got

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-04-03 Thread Tim Hirzel
I've had similar problems running wxPython code under certain IDEs where things can go very poorly (dramatic crashing, or it just wont execute). At least with the wx or wxagg backends, I have no trouble running matplotlib demos such as ellipse_demo.py from inside eclipse+pydev. -tim Gary

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-03-30 Thread Tim Hirzel
wins for me. tim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http