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
(3)
2
(5)
3
(11)
4
5
6
(8)
7
(4)
8
(4)
9
(2)
10
(4)
11
(1)
12
(3)
13
(3)
14
(5)
15
(11)
16
(8)
17
(5)
18
(3)
19
(1)
20
(6)
21
(7)
22
(5)
23
(6)
24
(4)
25
(5)
26
27
(1)
28
(13)
29
(4)
30
(2)
31
(8)

Showing 3 results of 3

From: ChaoYue <cha...@gm...> - 2013年05月24日 13:39:40
Hi Mat,
so you have two points in the TODO:
#TODO: #plot something on the left side of suplot 2 --> plt.plot(xx,yy,
marker = 'o', color = 'k') does not work
 #change the y axis of suplot 2, on the right and on the left side
the first one, is this what you want?
left_ax.plot(xx,yy, marker = 'o', color = 'k')
the second one, I don't get well, are you meaning something like:
left_ax.set_ylim(....)?
cheers,
Chao
On Fri, May 24, 2013 at 2:36 PM, mat [via matplotlib] <
ml-...@n5...> wrote:
> Hi Chao,
>
> Please find attached the script which includes your 3 functions, and a
> plot that I've just made. The things I can't manage to do are listed in the
> TODO section (end of the script)
>
>
> Cheers,
> Mat
>
>
>
>
> 2013年5月24日 ChaoYue [via matplotlib] <[hidden email]<http://user/SendEmail.jtp?type=node&node=41123&i=0>
> >
>
>> Hi, could you send an attachment to show what you've achieved so far?
>>
>> Chao
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://matplotlib.1069221.n5.nabble.com/Is-it-possible-to-truncate-axes-in-matplotlib-tp41092p41122.html
>> To unsubscribe from Is it possible to truncate axes in matplotlib?, click
>> here.
>> NAML<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> *truncated_plot.py* (11K) Download Attachment<http://matplotlib.1069221.n5.nabble.com/attachment/41123/0/truncated_plot.py>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://matplotlib.1069221.n5.nabble.com/Is-it-possible-to-truncate-axes-in-matplotlib-tp41092p41123.html
> To start a new topic under matplotlib - users, email
> ml-...@n5...
> To unsubscribe from matplotlib, click here<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=Y2hhb3l1ZWpveUBnbWFpbC5jb218MnwxMzg1NzAzMzQx>
> .
> NAML<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Is-it-possible-to-truncate-axes-in-matplotlib-tp41092p41124.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: ChaoYue <cha...@gm...> - 2013年05月24日 12:27:42
Hi, could you send an attachment to show what you've achieved so far?
Chao
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Is-it-possible-to-truncate-axes-in-matplotlib-tp41092p41122.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Jae-Joon L. <lee...@gm...> - 2013年05月24日 00:19:58
I do not have any access to mpl 0.98 so I cannot tell for sure. My guess is
that you have been using a feature that has not been intended, that has
fixed at some point. The first argument to legend should be a list of
artists. And pie2010 is a tuple of a list of patches and a list of texts,
i.e., they are not compatible with the current implementation of legend.
Maybe the below is what you wanted?
plt.legend( (pie2010[0]), ...)
Regards,
-JJ
On Fri, May 24, 2013 at 6:19 AM, Paul Hobson <pmh...@gm...> wrote:
> Sorry I have to be so brief, but just like the error says, you fed the
> legend function the wedges returned by the pie command. But legend can't
> handle wedges. As the proxy artist tutorial hints, you need to feed it
> rectangles created manually (i.e., outside of any plotting commands).
>
> Hope that gets you started,
> -paul
>
>
> On Wed, May 22, 2013 at 8:06 AM, oyster <lep...@gm...> wrote:
>
>> the following code runs ok with py2.4 and matplotlib.0.98.3
>> however no legend appears with py2.7.3 and matplotlib-1.2.1/1.3. and I get
>> [quote]
>> e:\prg\py\python-2.7.3\lib\site-packages\_matplotlib\matplotlib\legend.py:629:
>> U
>> serWarning: Legend does not support [<matplotlib.patches.Wedge object at
>> 0x03842
>> 0F0>, <matplotlib.patches.Wedge object at 0x03842530>,
>> <matplotlib.patches.Wedge
>> object at 0x03842930>, <matplotlib.patches.Wedge object at 0x03842D30>,
>> <matplo
>> tlib.patches.Wedge object at 0x038B0150>]
>> Use proxy artist instead.
>>
>>
>> http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
>>
>> (str(orig_handle),))
>> e:\prg\py\python-2.7.3\lib\site-packages\_matplotlib\matplotlib\legend.py:629:
>> U
>> serWarning: Legend does not support [<matplotlib.text.Text object at
>> 0x03842310>
>> , <matplotlib.text.Text object at 0x03842750>, <matplotlib.text.Text
>> object at 0
>> x03842B50>, <matplotlib.text.Text object at 0x03842F50>,
>> <matplotlib.text.Text o
>> bject at 0x038B0370>]
>> Use proxy artist instead.
>>
>>
>> http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
>>
>> (str(orig_handle),))
>> [/quote]
>>
>> what's the matter? thanks
>>
>> [code]
>> #coding=utf-8
>> from pylab import *
>>
>> val2010 = [2, 10, 20, 15, 3]
>>
>> figure()
>>
>> pie2010=pie(val2010, labels=[u'%i persons' % i for i in val2010])
>>
>> plt.legend( (pie2010), [u'<60', u'60~70', u'70~80', u'80~90',
>> u'90~100'], loc = 'best', bbox_to_anchor = (0.90, 0.75) )
>> axis('equal')
>>
>> show()
>> [/code]
>>
>>
>> ------------------------------------------------------------------------------
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring
>> service
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt!
>> http://p.sf.net/sfu/newrelic_d2d_may
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
1 message has been excluded from this view by a project administrator.

Showing 3 results of 3

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