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 make_axes

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 I

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 > > today I found this: http://tonysyu.github.io/

[Matplotlib-users] timeseries forecast error?

2013-04-10 Thread Tim Michelsen
Hello, how can I show the forecast error for a timeseries? Example: I am looking for displaying the blue area of: http://t3.gstatic.com/images?q=tbn:ANd9GcR9yuoMhiDeqxJVIOmp0EDNS_Sgxhtv4Z-ohlWly6N7zcgf28QD Or the violett areas on: http://www.meteopower.com/typo3temp/pics/3aa4157df7.jpg http://t1

[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 in

[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 ea

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

[Matplotlib-users] Alpha not working from imshow?

2011-01-17 Thread Tim Burgess
main(): 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 t

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 th

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.sourcefo

Re: [Matplotlib-users] Formatter dates

2010-11-22 Thread Tim Åberg
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 > > On Wed, Nov 17, 2010 at 2:29 AM, Tim Åberg wrote: >

Re: [Matplotlib-users] Formatter dates

2010-11-22 Thread Tim Åberg
g" is i 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

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&qu

[Matplotlib-users] Formatter dates

2010-11-17 Thread Tim Åberg
ings? eg. takes in two values(dates) and format it by itself. // Tim -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAS

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

2010-11-12 Thread Tim Åberg
They pointed me to - > http://matplotlib.sourceforge.net/examples/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

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
e targeting the python.org install of python. numpy 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

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: > > /Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages:/Library/Python/2.6/

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

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

2010-06-24 Thread Tim Gray
On Jun 24, 2010 at 08:58 PM -0400, Adam J Richards wrote: > Hi Tim, > > From what I gather you are trying to install everything from source the > trying to install via the dmg. I did a fresh install of python, > matplotlib and a number of other packages today (on 10.6) and mayb

[Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-24 Thread Tim Gray
Two questions: 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 luck

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 t

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

[Matplotlib-users] Multicolor line with dates

2009-10-27 Thread Tim Burgess
segments seg = np.asarray(seg, np.float_) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/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 seque

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 w

[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

[Matplotlib-users] interpolation methods used by contourf

2008-09-29 Thread Tim Michelsen
Hello users and developers of matplot, I would like to ask what kind of interpoaltion method is used by pylab.countourf()? I suppose that it uses linear interpolation to derive the areas between the contour lines. Is that true? Kind regards, Timmie

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 SF.Net

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 = list(se

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 wit

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: http

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 Unfortunat

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.

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 increas

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 ge

[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 d

[Matplotlib-users] axes scale factor not showing

2008-05-10 Thread Tim Mitchell
ere an easier way around this (or a fix?)? I'm using v0.90.0 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 <>

[Matplotlib-users] axes scale factor not showing

2008-05-08 Thread Tim Mitchell
7;destroy', gtk.main_quit) window.add(canvas) 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 easie

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

2008-03-15 Thread Tim Mortimer
x27;, 'types', 'pytz.sys', 'xml.sax.handler', 'idlelib.__builtin__', 'idlelib.tkMessageBox', 'xml.sax.os', 'cPickle', 'matplotlib.xml', 'idlelib.HyperParser', 'encodings.cp1252', 'pytz', '

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

2008-03-15 Thread Tim Mortimer
his (with or without Matplotlib) that'd be ace. But essentially i am talking about displaying & refreshing plots after all, right? so hopefully this is a good place to start. Spoilt for choice, swamped by info, uncertain how best to proceed. many thanks Tim - *

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

Re: [Matplotlib-users] import error with Basemap

2008-02-08 Thread Tim Michelsen
> If you've used the binary installer, it should definitely have been > installed - so if that's the case let me know and I'll investigate further. I used the binary installer for windows that you can download from Sourceforge.net In fact, the thing is strange: I developed a program which displa

[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 --- Traceback (most recent call last) M:\ in () C:\python\Lib\

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

2008-01-31 Thread Tim Michelsen
Hello Fernando, >> : 'module' object has no attribute >> 'ArrayType' >> >> maybe some of the IPython power users can give me a hint why this >> happes. [1] > > Very strange. I can't reproduce it here (on gutsy, but running > ipython from my own tree). What's odd is this: > > In [1]: import Nume

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 H

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

2008-01-28 Thread Tim Michelsen
Hello, for me it works: [EMAIL PROTECTED]:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=7.10 DISTRIB_CODENAME=gutsy DISTRIB_DESCRIPTION="Ubuntu 7.10" [EMAIL PROTECTED]:~$ ipython -pylab Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) Type "copyright", "credits" or "license" for mo

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

2007-12-10 Thread Tim Lewis
clues. > >One other thing to note about the output: it is loading the matplotlibrc >from /home/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 Lew

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

2007-12-07 Thread Tim Lewis
ot;, for instance) are causing the problems. > >Cheers, >Mike I'd like 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 probabl

[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 wit

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

2007-05-01 Thread Tim Hirzel
we begin to get 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. ht

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. &

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 inst

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+pyde

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

2007-03-30 Thread Tim Hirzel
s one 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 surv