SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S


1
(16)
2
(31)
3
(17)
4
(18)
5
(7)
6
(5)
7
(16)
8
(9)
9
(19)
10
(18)
11
(17)
12
(7)
13
(6)
14
(15)
15
(16)
16
(15)
17
(19)
18
(27)
19
(10)
20
(5)
21
(5)
22
(19)
23
(7)
24
(11)
25
(19)
26
(1)
27
(36)
28
(37)
29
(28)
30
(36)



Showing 6 results of 6

From: Andrew S. <str...@as...> - 2009年09月13日 16:07:36
I am posting this for a friend of mine. Please respond to the email 
address in the ad if you are interested.
---------- Forwarded message ----------
From: *Ben Strauss* <bst...@cl... 
<mailto:bst...@cl...>>
Date: Fri, Sep 11, 2009 at 4:56 PM
Subject: [job] top-flight graphicist needed for climate science & media 
group
To: mat...@li... 
<mailto:mat...@li...>
Please apply if interested--or forward to any associates you believe 
would be good! Much appreciated; this is a very important position for 
us and we're looking for a real star. Many thanks--
Ben Strauss
Associate Director, Strategic Initiatives
Climate Central
 Seeking Immediately:
 Experienced Graphic Designer for Climate Science & Media Group's TV,
 Web Productions
 Objective
Climate Central seeks an experienced, inspired and technically 
proficient graphic designer or data visualization expert--ideally versed 
in both art and science--to develop conceptual and data-driven 
visualizations from climate science research for broadcast TV and 
Internet. A group of internationally recognized scientists and 
communicators, Climate Central is dedicated to producing vivid media 
based on sound climate change science, and has within its first 18 
months already appeared on PBS's The NewsHour with Jim Lehrer, 
nytimes.com <http://nytimes.com/>, bloomberg.com 
<http://bloomberg.com/>, TIME.com, Newsweek and Scientific American. We 
will begin this Princeton, NJ position as a 90-day contract; successful 
performance will lead to full-time hire.
 Description
Climate change presents one of the greatest communications challenges of 
all time. Many words have been printed, but Climate Central aims to 
develop an unmatched collection of clear, compelling, and science-based 
graphics and animations to tell the story visually. We are currently 
expanding capacity in this area.
The Designer will collaborate with staff scientists and producers, as 
well as design colleagues, to produce static graphics and end-to-end 
broadcast-quality animated visualizations tailored for a general 
audience. Each product must be accessible and understandable, yet vivid 
and scientifically rigorous.
The position will involve the development, maintenance, and application 
of a wide variety of tools for analyzing data and production, with some 
emphasis on tools for geographical display of information (GIS, Google 
Earth, Google Maps, generic maps). An important dimension of this 
position will be working with NASA scientists and satellite data to 
develop an Earth-from-space "sky witness" collection of climate change 
visualizations.
For a sample of Climate Central's designs and animations to date, see 
the static graphics and videos at climatecentral.org 
<http://climatecentral.org/>.
 Qualifications
Significant experience (5+ years best) in scripting, data conversion, 
modeling, rendering and compositing, and handling large datasets, is 
required. Candidate should show initiative and be a self-starter and 
self-teacher able to work well from high-level direction. We are 
looking for someone with commitment to excellence, attention to detail, 
and passion for work and the subject.
Applicants should be proficient with the following tools, languages and 
data formats we regularly use:
• Maya, After Effects, Illustrator, Photoshop, Google Earth/Maps
• Python, Javascript
• ESRI Shapefile, KML
...and it would also be helpful if you are familiar with:
• MATLAB/Octave, VTK, Blender, Imagemagick, Gimp, QGIS, GDAL/OGR, 
NCAR NCL
• C/C++
• NetCDF, CSV, HDF
 To Apply
To apply, please send a cover letter, resume and link to your portfolio. 
We are looking for thoughtful, personalized cover letters that 
demonstrate applicants' qualifications and work style. Send materials as 
text in the body of an email message to jo...@cl... 
<mailto:jo...@cl...>; please put "graphics" in the subject 
line. If you send attachments, they must be in pdf format.
No phone calls, please.
Salary is competitive and will depend on experience. Climate Central 
offers excellent benefits, a delightful workplace, and the opportunity 
to play a crucial role in an organization with a mission.
Climate Central is an equal-opportunity employer and does not 
discriminate based on anything except how good you are at your work. 
People of color and individuals from other underrepresented groups are 
strongly encouraged to apply.
 About Climate Central:
Climate Central combines sound science and vivid media to increase 
public understanding and attention to the climate challenge. In less 
than two years of operation, our work has already appeared on PBS 
NewsHour, nytimes.com <http://nytimes.com/>, bloomberg.com 
<http://bloomberg.com/>, time.com <http://time.com/>, newsweek.com 
<http://newsweek.com/>, Scientific American, and beyond. Our staff and 
board include internationally recognized climate scientists and 
communications experts. Visit our interim website climatecentral.org 
<http://climatecentral.org/> to learn more. Climate Central is a 501(c)3 
nonprofit organization.
-- 
Ben Strauss, PhD
Associate Director, Strategic Initiatives
Climate Central
Web: climatecentral.org <http://climatecentral.org>
Email: bstrauss [at] climatecentral.org <http://climatecentral.org>
Phone: 609-986-1984
Mobile: 609-613-0832
Mail: 1 Palmer Square, Suite 330 * Princeton, NJ 08542
From: magnus_p <ma...@as...> - 2009年09月13日 10:40:48
I tried the code you supplied and I didn't get it to work with the *angles*
keyword, I got:
"ValueError: shape mismatch: objects cannot be broadcast to a single shape"
I have matplotlib.__version__ = '0.98.5.2'.
Although after thinking about it for a while I did:
from scipy import *
import matplotlib.pyplot as plt
X,Y = meshgrid(arange(64),arange(64)) # a bit bigger just to see what it
looks like
angles = arange(0,4*pi,4.*pi/X.size) # just creating a set of angles
u = cos(angles)
v = sin(angles)
c = arange(u.size) # the colours!
c.shape = X.shape
plt.quiver(X, Y, u, v, c, pivot='middle',minlength=0.04, width=0.05,
headwidth=1,scale=50)
that is, the angles are converted to "u" and "v" parameters.
Anyway. That is how I got it working.
efiring wrote:
> 
> 
> Example with ipython -pylab:
> 
> x = arange(4)
> y = arange(5)
> X, Y = meshgrid(x, y)
> u = ones_like(X)
> v = zeros_like(X)
> c = arange(u.size) # values mapped to colors
> angles = (X * 20 + Y * 20).ravel()
> quiver(X, Y, u, v, c, angles=angles)
> axis([-1, 4, -1, 5])
> 
> 
> The .ravel() of the angles is to get around a bug that I fixed a few 
> minutes ago in svn.
> 
> Eric
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
-- 
View this message in context: http://www.nabble.com/quiver-with-angles-tp25397027p25422103.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Neil C. <nei...@gm...> - 2009年09月13日 10:05:33
per freem <perfreem@...> writes:
> 
> hi all,
> 
> i have a 3x2 subplot figure, and i would like to adjust the relative
> width of the second column. in other words, if i have:
> 
I set the axes positions by hand in these situations using add_axes(). So:
fig = plt.figure()
width1 = 0.3
width2 = 0.2
height = 0.75 / 3
left = 0.1
bottom = 0.15
axes_column0 = []
for i in range(3):
 axes_column0.append(fig.add_axes([left, bottom + i*height, width1, 
 height]))
axes_column1 = []
for i in range(3):
 axes_column1.append(fig.add_axes([left+width1, bottom + i*height, 
 width2, height]))
axes_column2 = []
for i in range(3):
 axes_column2.append(fig.add_axes([left+width1+width2, bottom + i*height, 
 width1, height]))
You can adjust this slightly if you want to put gaps between the subplots, 
or otherwise use axes.set_yticklabels([]) (for example) to get rid of 
unwanted tick labels.
Plot to each of the subplots using something like:
axes_column0[1].plot(x,y)
Neil
From: davide l. <las...@gm...> - 2009年09月13日 09:28:29
Thanks,
I thougth that this could be the problem. Actually i fixed it by myself.
Thanks anyway.
Cheers
Davide
From: Gary R. <gr...@bi...> - 2009年09月13日 08:36:23
Hi Per,
You need 2*N, not N*2 arrays here. I think you're also trying to use 
absolute values so you probably need something like this:
plt.errorbar([1,2,3],[1,2,3],yerr=np.abs(a.T-[1,2,3]))
I hope this is what you're after,
Gary R.
per freem wrote:
> hi all,
> 
> i am trying to plot asymmetric yaxis error bars. i have the following code:
> 
> import matplotlib.pyplot as plt
> a = array([[ 0.5, 1.5],
> [ 0.7, 2.2],
> [ 2.8, 3.1]])
> plt.errorbar([1,2,3],[1,2,3],yerr=a)
<snip>
I was able to get it working on my home machine, but can't get it installed
on my webhost. I get this error when I try to import the module:
--------------------------------------
Python 2.6 (r26:66714, Apr 30 2009, 20:04:43) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from mpl_toolkits.basemap import Basemap
/home/nbv4/lib/python2.6/dbflib/dbflib.py:2: RuntimeWarning: Python C API
version mismatch for module dbflibc: This Python has API version 1013,
module dbflibc has version 1012.
 import dbflibc
/home/nbv4/lib/python2.6/shapelib/shapelib.py:2: RuntimeWarning: Python C
API version mismatch for module shapelibc: This Python has API version 1013,
module shapelibc has version 1012.
 import shapelibc
Traceback (most recent call last):
 File "<console>", line 1, in <module>
 File "/home/nbv4/lib/python2.6/mpl_toolkits/basemap/__init__.py", line 43,
in <module>
 import _geoslib, netcdftime
ImportError: /home/nbv4/lib/python2.6/_geoslib.so: undefined symbol:
PyUnicodeUCS4_DecodeUTF8
---------------------------------------
Any ideas as to what may be causing this?
-- 
View this message in context: http://www.nabble.com/can%27t-get-basemap-working%3A-undefined-symbol%3A-PyUnicodeUCS4_DecodeUTF8-tp25420971p25420971.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Showing 6 results of 6

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 によって変換されたページ (->オリジナル) /