Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-04 Thread Jeff Whitaker
On 4/4/10 11:06 AM, Will Hewson wrote: > Hi again Jeff et al... > > I've had a play around with the extra few lines of code - on paper this > seems like it should solve the problems I'm experiencing. However, an > error's being thrown up by the transform scalar function, as my lons and > lats won't

Re: [Matplotlib-users] Basemap/ orthographic projection plot doesn't respect globe boundary

2010-04-04 Thread Will Hewson
Hi again Jeff et al... I've had a play around with the extra few lines of code - on paper this seems like it should solve the problems I'm experiencing. However, an error's being thrown up by the transform scalar function, as my lons and lats won't necessarily be increasing. The data I'm plotting

[Matplotlib-users] Tick line linewidth and linestyle don't work

2010-04-04 Thread Thomas Robitaille
Hi, In the following script: --- import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as mpl fig = mpl.figure() ax = fig.add_subplot(1,1,1) for line in ax.xaxis.get_ticklines(): line.set_markersize(20) line.set_linewidth(10) line.set_linestyle('dashed') fig.savefig('t

Re: [Matplotlib-users] Closing a pyplot window under MSWindows and under Linux

2010-04-04 Thread Alan G Isaac
On 4/4/2010 3:15 AM, Enzo Michelangeli wrote: > ion() doesn't do what I need: it just forces a draw() > after every pyplot command allowing animated plots. Instead, I want the > program > to draw and show a complete plot, then pause allowing me to interact with > its > window (e.g., to pan, zoo

[Matplotlib-users] \def in mathtext

2010-04-04 Thread Václav Šmilauer
Hi all, I am using mathtext (via sphinx) for documenting larger physics simulation software (https://www.yade-dem.org/sphinx/). I am converting some docs from LaTeX, where I had defined simple macros like \def \vec#1{\mathbf{#1}}, \curr#1{#1^{\circ}} or \let\eps\varepsilon -- to unify notations an

Re: [Matplotlib-users] plot rgb spectrum

2010-04-04 Thread Gary Ruben
Hi Tymoteusz, I think this does what you want (see attached). I'm not sure about 3D though. Gary R. Tymoteusz Jankowski wrote: Hi! Can anyone help me to achive this? I'd like to plot rgb spectrum with matplotlib. For example let the x axis be green element, and for example... let the y axi

Re: [Matplotlib-users] colorbar() and plt.title()

2010-04-04 Thread Claus
Hi, I've got two questions: 1) one is related to colorbar() on multiple subfigures (see code example below): how do I add a scatterplot if I wanted multiple subfigures? Or, what am I doing wrong in the second code example 2) in either of the examples, how can I increase the distance between the

Re: [Matplotlib-users] Closing a pyplot window under MSWindows and under Linux

2010-04-04 Thread Enzo Michelangeli
Alan G Isaac writes: > > On 4/3/2010 11:19 PM, Enzo Michelangeli wrote: > > multiple show() functionality is important for many users (see > > e.g. > > http://www.mail-archive.com/matplotlib-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f public.gmane.org/msg13099.html > > > > http://matplotlib.sour