[Matplotlib-users] draw upper and lower limits

2008-07-31 Thread Antonino Cucchiara
Hi,
I have some graphs with lower and upper limits. I found a couple of 
ideas online, but nothing like plotting symbols like arrows.
I am using the mathtex upperarrow symbol but it is quite unconfortable 
positioning the tex character in the righ X-Y position.
Do you know if there is an easier way to plot arrows as markers?

Thanks,
Nino

-- 

Antonino Cucchiara
PhD candidate
Department of AstronomyAstrophysics
Penn State University
website: www.astro.psu.edu/~cucchiara/


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] draw upper and lower limits

2008-07-31 Thread Manuel Metz
Antonino Cucchiara wrote:
 Hi,
 I have some graphs with lower and upper limits. I found a couple of 
 ideas online, but nothing like plotting symbols like arrows.
 I am using the mathtex upperarrow symbol but it is quite unconfortable 
 positioning the tex character in the righ X-Y position.
 Do you know if there is an easier way to plot arrows as markers?
 
 Thanks,
 Nino
 

Have a look at examples/pylab_examples/errorbar_limits.py. This shows 
how to plot upper/lower limits errorbars ... (if this is what you need)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] draw upper and lower limits

2008-07-31 Thread Jae-Joon Lee
If you're like me and what you want is just an arrow mark with its
head at (x,y), you may use scatter() with custom verts.

arrowup_verts = [[0.,0.], [-1., -1], [0.,0.], [0.,-2.],[0.,0.], [1, -1]]
arrowdown_verts = [[0.,0.], [-1., 1], [0.,0.], [0.,2.],[0.,0.], [1, 1]]

scatter([1.],[1.], s=100, marker=None,
verts=arrowup_verts)

scatter([1],[1.1], s=100, marker=None,
verts=arrowdown_verts)

-JJ




On Thu, Jul 31, 2008 at 9:41 AM, Antonino Cucchiara
[EMAIL PROTECTED] wrote:
 Hi,
 I have some graphs with lower and upper limits. I found a couple of
 ideas online, but nothing like plotting symbols like arrows.
 I am using the mathtex upperarrow symbol but it is quite unconfortable
 positioning the tex character in the righ X-Y position.
 Do you know if there is an easier way to plot arrows as markers?

 Thanks,
 Nino

 --

 Antonino Cucchiara
 PhD candidate
 Department of AstronomyAstrophysics
 Penn State University
 website: www.astro.psu.edu/~cucchiara/


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users