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
(8) |
2
(14) |
3
(22) |
4
(13) |
5
(11) |
6
(12) |
7
(4) |
8
(6) |
9
(19) |
10
(14) |
11
(16) |
12
(6) |
13
(15) |
14
(6) |
15
(8) |
16
(22) |
17
(17) |
18
(8) |
19
(16) |
20
(19) |
21
(3) |
22
(6) |
23
(18) |
24
(26) |
25
(17) |
26
(13) |
27
(18) |
28
(8) |
29
|
30
(14) |
31
(30) |
|
|
|
|
which kind of data file? ascii? If yes, numpy.loadtxt will be your friend. Johann Bala subramanian wrote: > Friends, > > Kindly give me some tips on how to import data from a data file to > make the plot. > > Thanks, > Bala > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
which kind of data file? ascii? If yes, numpy.loadtxt will be your friend. Johann Bala subramanian wrote: > Friends, > > Kindly give me some tips on how to import data from a data file to > make the plot. > > Thanks, > Bala > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
I don't know if this is because I upgraded to the current developement version of numpy or not, but I when I tried rebuilding matplotlib, I generated the following error: gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/lib/python2.5/site-packages/numpy/core/ include -I/sw/include/python2.5 -c src/_macosx.m -o build/ temp.macosx-10.5-i386-2.5/src/_macosx.o In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSAffineTransform.h:5, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:13, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: 122: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSGeometry.h:7, from /System/Library/Frameworks/Foundation.framework/ Headers/NSAffineTransform.h:6, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:13, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:15, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSAttributedString.h:5, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:16, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 345: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 346: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 347: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 348: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 349: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 350: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 352: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 353: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 355: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 356: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 357: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 358: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 360: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 361: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 362: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 363: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 364: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSAttributedString.h:6, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:16, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h: 45: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h: 50: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSHashTable.h:5, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:43, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:59: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSUInteger’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:60: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:61: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSUInteger’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:62: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSString’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:65: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:66: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:69: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’ /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:70: error: stray ‘@’ in program /System/Library/Frameworks/Foundation.framework/Headers/ NSPointerFunctions.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSKeyValueCoding.h:9, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:49, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:45: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:50: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:76, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h: 44: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/NSURL.h:6, from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:88, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 52: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 53: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 54: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 55: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 56: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 67: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 68: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 70: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 71: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 73: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 74: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 76: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 77: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 79: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 80: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 83: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 86: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 89: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 90: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 93: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 94: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 95: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 97: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 98: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 99: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 100: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 102: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 103: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h: 104: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:88, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:12, from src/_macosx.m:1: /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:19, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h: 68: error: expected specifier-qualifier-list before ‘__weak’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:27, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:215: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:217: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:218: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:219: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:220: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:221: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:222: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:223: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:224: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:227: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:228: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:229: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:230: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:231: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:232: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/NSPanel.h:8, from /System/Library/Frameworks/AppKit.framework/ Headers/NSFontPanel.h:8, from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:30, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:471: error: expected ‘;’ before ‘__attribute__’ /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:472: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:78, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:57: error: stray ‘@’ in program /System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:95, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSTrackingArea.h: 44: error: expected specifier-qualifier-list before ‘__weak’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/NSTextView.h:16, from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:112, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/ NSTextInputClient.h:17: error: stray ‘@’ in program /System/Library/Frameworks/AppKit.framework/Headers/ NSTextInputClient.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token /System/Library/Frameworks/AppKit.framework/Headers/ NSTextInputClient.h:62: error: stray ‘@’ in program /System/Library/Frameworks/AppKit.framework/Headers/ NSTextInputClient.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:153, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSATSTypesetter.h: 46: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/NSObjectController.h:10, from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:158, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h: 24: error: expected specifier-qualifier-list before ‘__weak’ In file included from /System/Library/Frameworks/CoreData.framework/ Headers/NSAttributeDescription.h:10, from /System/Library/Frameworks/AppKit.framework/ Headers/NSPredicateEditorRowTemplate.h:13, from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:175, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/ NSPropertyDescription.h:25: error: expected specifier-qualifier-list before ‘__weak’ In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:176, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:148: error: stray ‘@’ in program /System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token In file included from /System/Library/Frameworks/AppKit.framework/ Headers/AppKit.h:177, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:13, from src/_macosx.m:1: /System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h: 73: error: stray ‘@’ in program /System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h: 77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token In file included from /System/Library/Frameworks/CoreData.framework/ Headers/CoreData.h:14, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:14, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/ NSEntityDescription.h:28: error: expected specifier-qualifier-list before ‘__weak’ /System/Library/Frameworks/CoreData.framework/Headers/ NSEntityDescription.h:32: error: expected specifier-qualifier-list before ‘__weak’ /System/Library/Frameworks/CoreData.framework/Headers/ NSEntityDescription.h:33: error: expected specifier-qualifier-list before ‘__weak’ In file included from /System/Library/Frameworks/CoreData.framework/ Headers/CoreData.h:17, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:14, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/ NSRelationshipDescription.h:28: error: expected specifier-qualifier- list before ‘__weak’ In file included from /System/Library/Frameworks/CoreData.framework/ Headers/CoreData.h:22, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:14, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/ NSManagedObject.h:26: error: expected specifier-qualifier-list before ‘__weak’ In file included from /System/Library/Frameworks/CoreData.framework/ Headers/CoreData.h:25, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:14, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/ NSPersistentStoreCoordinator.h:172: error: expected ‘;’ before ‘__attribute__’ In file included from /System/Library/Frameworks/CoreData.framework/ Headers/CoreData.h:27, from /System/Library/Frameworks/Cocoa.framework/ Headers/Cocoa.h:14, from src/_macosx.m:1: /System/Library/Frameworks/CoreData.framework/Headers/ NSPersistentStore.h:16: error: expected specifier-qualifier-list before ‘__weak’ error: command 'gcc' failed with exit status 1 The settings detected by the script are: BUILDING MATPLOTLIB matplotlib: 0.98.5.2 python: 2.5.4 (r254:67916, Mar 18 2009, 09:51:51) [GCC 4.0.1 (Apple Inc. build 5490)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.4.0.dev6729 freetype2: 9.19.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.33 Tkinter: Tkinter: 67737, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Xlib: extension "Generic Event Extension" missing on display "/tmp/ launch-EgEkbJ/:0". Xlib: extension "Generic Event Extension" missing on display "/tmp/ launch-EgEkbJ/:0". Xlib: extension "Generic Event Extension" missing on display "/tmp/ launch-EgEkbJ/:0". Gtk+: gtk+: 2.14.7, glib: 2.18.4, pygtk: 2.12.1, pygobject: 2.15.4 Mac OS X native: yes Qt: Qt: 3.3.8, PyQt: 3.17.5 Qt4: Qt: 4.4.1, PyQt4: 4.4.4 Cairo: 1.8.2 OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: 2008c OPTIONAL USETEX DEPENDENCIES dvipng: 1.5 ghostscript: 8.61 latex: 3.141592 -gideon
Hi, I'm using the code copied straight from the simple tkagg animation example at: http://matplotlib.sourceforge.net/examples/animation/simple_anim_tkagg.html It starts up fine and I can see the moving sine wave, however, after about 15 to 20 seconds the plotting window freezes showing "Figure 1 (Not Responding)" and that's that. Adding an additional line, "print i" just before "line.set_ydata(...)" shows that even once the window has frozen the code is still being executed. Has anyone had this problem and solved it? I'm on Windows Vista running: Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Matplotlib v0.98.3 numpy v1.2.0 Tkinter $Revision: 50704 $ Thanks
Am Freitag, den 27.03.2009, 07:58 -0500 schrieb John Hunter: > > > On Fri, Mar 27, 2009 at 5:00 AM, marcusantonius > <mar...@st...> wrote: > > Hi, > > I have a problem when saving my plot as a png. The horizontal > lines, which I > inserted via > axhline(y=0.136, xmin=0., xmax=1, color='black',ls=':') > axhline(y=0.094, xmin=0., xmax=1, color='black',ls=':') > are not displayed right in the png file. Saving in pdf works > perfectly. I > enclosed the two files in this email. > http://www.nabble.com/file/p22738740/p25.pdf p25.pdf > http://www.nabble.com/file/p22738740/p25.png p25.png > > Is there a way to fix this problem? > > > This appears to be working fine for me with svn matplotlib -- what > version are you using? See also: > http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem for information about how to obtain version and other configuration information. > I am using 0.98.3-3, which is in the Ubuntu packages. Cheers, Markus
On Sat, Mar 28, 2009 at 15:45, Bala subramanian <bal...@gm...> wrote: > Friends, > In the following. I am not able to understand how this plot.show() works. I > have commented the problem in the following examples. You have to call plt.show() only when you want to actually show the figure. That's because you're using python command interpreter. Try: plt.plot(x,y,'b-') plt.ylim( (1.5,4.5) ) plt.show() If you want to do interactive plotting, I suggest using ipython. ipython -pylab already import the pylab module, that provide all the pyplot functions. I prefer to do something like $ipython import matplotlib.pyplot as plt plt.ion() # incase it's not already in interactive mode <do my printing> This way, it will open the figure window and you'll be able to "decorate" the plot in the ipython shell and see the result applied to the "background" figure with no need to execute "plt.show()" or close the windows between a command and a "show()". Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
Friends, In the following. I am not able to understand how this plot.show() works. I have commented the problem in the following examples. >>> plt.plot(x,y,'b-') [<matplotlib.lines.Line2D object at 0x9e50ecc>] >>> plt.show() *# shows the plot of x Vs y* >>> plt.ylim( (1.5,4.5) ) (1.5, 4.5) >>> plt.show() *# Does nt show the plot* >>> plt.ylim( ymin=1.5,ymax=4.5 ) (1.5, 4.5) >>> plt.show() *# Does nt show the plot* Thanks, Bala
Friends, Kindly give me some tips on how to import data from a data file to make the plot. Thanks, Bala