= contourf(tempo, depth, dens)
But I cannot make the dates appear, the plot shows only the date number.
Thanks for any help, Filipe
ps:
matplotlib version: 0.99.1.1
backend: Qt4Agg
llinux Opensuse 11.2
*
Filipe Pires Alvarenga Fernandes
Email
Does matplotlib support accented characters without the TeX mathtext?
Thanks.
*
Filipe Pires Alvarenga Fernandes
University of Massachusetts Dartmouth
200 Mill Road - Fairhaven, MA
Tel: (508) 910-6381
Email: falvarengafernan...@umassd.edu
*
Filipe Pires Alvarenga Fernandes
University of Massachusetts Dartmouth
200 Mill Road - Fairhaven, MA
Tel: (508) 910-6381
Email: falvarengafernan...@umassd.edu
ocef...@yahoo.com.br
ocef...@gmail.com
http://ocefpaf.tiddlyspot.com
# t may be generated using date2num()
t = P.arange(100,110,.1)
u = P.sin(t)
v = P.cos(t)
P.quiver([t],[[0]*len(t)],u,v)
P.gca().xaxis_date()
P.show()
On Sun, Feb 7, 2010 at 6:11 PM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
Hello list,
I'm trying to create a stick
Hello again, I managed to produce a nice stickplot, thanks to all again.
Here is the script in case anyone is interested.
http://dl.dropbox.com/u/4411725/plt-surf-flx.html
Best, Filipe
On Mon, Feb 8, 2010 at 9:57 AM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
Thanks
Hello list,
For the following plotI using a large font for the tick-label that causes
the first x,y tick-labels to overlap
http://yfrog.com/5zimageykp
for now I'm padding spaces to fix the plot, like this:
newtick = [-10 , -5, 0 , 5 , 10 ]
pos =[-10, -5, 0, 5, 10]
yticks(pos,
the CSIRO seawater library from matlab
to python.
http://www.cmar.csiro.au/datacentre/ext_docs/seawater.htm
I know that this is specific for oceanographers, but I saw some of us in
this list.
Thanks again, this list helped my a lot.
On Thu, Feb 11, 2010 at 12:40 PM, Filipe Pires Alvarenga
Dear Wayne Watson,
As yourself I'm also new to matplotlib (and python) and I know that learning
such a library can be overwhelming at first. Still, this community/mailist
has answered all my newbie questions, even when they were clearly in the
manual or have already been answered in previous
Hello list,
If I use DateFormatter with latex and lines breaks like this
DateFormatter(\n \n %b) I get an latex error:
http://pastebin.com/m5b186ded
Although, if I do not use the line breaks,
DateFormatter(%b)
The problem disappears.
Below is a script that reproduces what I'm talking about:
Thanks Ernest, I had no idea that the DateFormatter was going to be treated
as latex as well.
However, escaping the \ with another \ did not worked.
I tried:
majorF = DateFormatter(\\n \\n %b)
How should I escape the \n ?
majorF = DateFormatter(\n \n %b) # problem
\\ works for titles and label, but not for DateFormatter, but \vspace did
the trick!
Thanks again for the help.
ps: I'm new to python, but maybe there is a way to mix Latex and unicode?
as latex as well.
Yes, all strings are processed by LaTeX.
However, escaping the \ with another \
JJ:
Wonderful, simple and much less messy and Latex+unicode. Although, now I'm
fascinated by the Latex possibilities!
Ernest:
I haven't notice the s before when using pts, but what is really
strange is that pt does not work!
Thank you all again, Filipe
.
Also, I have not tried this on figures with labels and annotations.
Thanks for any input.
*
Filipe Pires Alvarenga Fernandes
University of Massachusetts Dartmouth
200 Mill Road - Fairhaven, MA
Tel: (508) 910-6381
Email: falvarengafernan
are interested in looking at it.
Thanks again. Filipe.
On Sun, Mar 28, 2010 at 3:35 PM, Friedrich Romstedt
friedrichromst...@gmail.com wrote:
2010/3/28 Filipe Pires Alvarenga Fernandes ocef...@gmail.com:
Hello list
I've trying for a while a python only solution to remove white spaces that
Basemap
Thanks for point TKinter to me. However, I'm stuck again.
I've tried two approaches, one is following what you suggested:
Tkinter
import Tkinter as tk
root = tk.Tk()
from PIL import Image, ImageTk
image = ImageTk.PhotoImage(Image.open('map.png')) # load saved image
#image =
On Mon, Aug 9, 2010 at 12:22, Fernando Perez fperez@gmail.com wrote:
On Mon, Aug 9, 2010 at 8:48 AM, Filipe Fernandes ocef...@gmail.com wrote:
The docstring for sunplots has the sharex(y) option, but my ax are
being created now!? Is that a chicken and egg problem? Or I'm failing to
I was wondering if there is a way to get a effect similar to this example:
http://matplotlib.sourceforge.net/examples/api/two_scales.html?highlight=codex%20two%20scale
Here The yticklabels have the same color as the label, but using host/parasite:
It did not though. I'm not sure why. Could someone please clarify?
On Mon, Sep 27, 2010 at 12:35 PM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
I was wondering if there is a way to get a effect similar to this example:
http://matplotlib.sourceforge.net/examples/api
[right].major_ticklabels.set_color(p3.get_color())
Cool, it worked nicely.
Note that these are only effective when you use axes_grid1 toolkit.
Regards,
-JJ
On Tue, Sep 28, 2010 at 1:35 AM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
I was wondering if there is a way to get
.
*
Filipe Pires Alvarenga Fernandes, PhD Candidate
School of Marine Science and Technology
University of Massachusetts at Dartmouth
706 Rodney French Blvd., New Bedford, MA 02744
Email: falvarengafernan...@umassd.edu
ocef...@gmail.com
http://ocefpaf.tiddlyspot.com
Since you are using OpenSuse, (and If you are brave enough) you can
add my REPO and use the latest version of matplolib:
http://download.opensuse.org/repositories/home:/ocefpaf/openSUSE_11.3/
I compile the svn version every week there.
Filipe.
On Mon, Nov 15, 2010 at 13:45, Michael
Hi,
On SUSE you have zypper
I'm not familiar with SUSE repos, but OpenSUSE repos do have
matplotlib, just type:
sudo zypper in python-matplolib
that should install it for you.
-Filipe
On Thu, Sep 15, 2011 at 14:22, John Hunter jdh2...@gmail.com wrote:
On Thu, Sep 15, 2011 at 11:42 AM,
On Thu, Sep 15, 2011 at 14:34, John Hunter jdh2...@gmail.com wrote:
On Thu, Sep 15, 2011 at 1:31 PM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
Hi,
On SUSE you have zypper
I'm not familiar with SUSE repos, but OpenSUSE repos do have
matplotlib, just type:
sudo zypper
On Thu, Sep 15, 2011 at 14:48, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
On Thu, Sep 15, 2011 at 14:34, John Hunter jdh2...@gmail.com wrote:
On Thu, Sep 15, 2011 at 1:31 PM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
Hi,
On SUSE you have zypper
I'm
Hi Isidora, in the past I used the matlab function below for a similar
task. Maybe it can be adapted to your problem. If you can provide a
small sample of your problem I can try to implement that in python (it
has been in my TODO list for a while, but i cannot promise.)
On Wed, Sep 28, 2011 at 16:39, Jeff Whitaker jsw...@fastmail.fm wrote:
On 9/28/11 2:19 PM, Isidora wrote:
Hi Filipe,
I have just seen your answers. I am trying to plot on a background GIF map,
lines like the ones you can see in
Hi I noticed that Basemap 1.0.2 will replace the old pyshapelib with
the pure python shapelib.py. However, that did break some of my
scripts when I use custom shapefiles.
Here is a picture from Basemap 1.0.1,
http://imageshack.us/photo/my-images/69/basemap101.png/
and here the same script under
On Thu, Oct 6, 2011 at 14:50, Jeff Whitaker jsw...@fastmail.fm wrote:
On 9/29/11 9:44 AM, Filipe Pires Alvarenga Fernandes wrote:
Hi I noticed that Basemap 1.0.2 will replace the old pyshapelib with
the pure python shapelib.py. However, that did break some of my
scripts when I use custom
Just a suggestion. All these ideas sounds like a google code-in task.
http://code.google.com/intl/pt-BR/opensource/gci/2010-11/
I do not know if Matplotlib participated in the past, if not take a
look of last years sympy task list:
https://github.com/sympy/sympy/wiki/GCI-2011-Task-list
If the
Hi, this is not a big deal, but I think that there is a bug while
saving eps figures and passing the linewidth='2.5' as string instead
of float. The following reproduces the error I get here:
plt.plot([1,2,3], 'k', linewidth='2.5')
plt.savefig('teste.png') # Saves OK
# The following fails with
Yep, that's what I was expecting. It should fail with both show() and
the save as 'png' format. However, it only fails when trying to save
an 'eps'
-Filipe
On Mon, May 7, 2012 at 1:12 PM, Benjamin Root ben.r...@ou.edu wrote:
On Mon, May 7, 2012 at 12:55 PM, Michael Droettboom md...@stsci.edu
After some modifications and manual reading I got insert point and
delete point working, but I still cannot make the drag point
work...
-Filipe
On Wed, Sep 12, 2012 at 4:04 PM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
Hi all,
I am trying to create a class to edit the points
OK, a little bit more of manual reading I got the drag point
working. Now, even though it works, I would like the opinion of
someone with more experience on event handling to improve that.
Thanks, Filipe
On Wed, Sep 12, 2012 at 6:14 PM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote
Hi Tommy, there is not easy way to do it with matplolib+basemap. Also, you
will find it extra hard because the image you are plotting (blue
marble) is raster that is cut in lon, lat bounding box. Therefore, unless
you create a mask around what to plot and what not to plot, it will show
34 matches
Mail list logo