SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Antonino C. <cuc...@as...> - 2008年07月31日 13:41:31
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 Astronomy&Astrophysics
Penn State University
website: www.astro.psu.edu/~cucchiara/
From: Manuel M. <mm...@as...> - 2008年07月31日 13:46:44
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)
From: Jae-Joon L. <lee...@gm...> - 2008年07月31日 15:33:36
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
<cuc...@as...> 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 Astronomy&Astrophysics
> 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=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /