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
(22) |
2
(17) |
3
(21) |
4
(7) |
5
(7) |
6
(17) |
7
(8) |
8
(8) |
9
(33) |
10
(11) |
11
|
12
(2) |
13
(11) |
14
(29) |
15
(13) |
16
(13) |
17
(3) |
18
(2) |
19
(3) |
20
(7) |
21
(17) |
22
(12) |
23
(19) |
24
(19) |
25
(14) |
26
(5) |
27
(25) |
28
(13) |
|
|
|
|
From: Andrea G. <and...@ti...> - 2006-02-06 20:03:20
|
Hello Chris, > Are you using MPL with wxPython? I'd expect so. Yes, I am using it with wxPython, and I am sometimes frustrated by the difficulty to find which method in matplotlib API does something that Pylab does with another syntax. > Make sure to check out wxmpl and/or Mplot: I have checked wxmpl, but it seems to me that it has the same mouse events as matplotlib has (button down/up/motion) and nothing more. Moreover, both matplotlib and wxmpl fail to get the mouse_down event if you click very fast on the figure canvas. I mean, I can click say 30 times in 10 seconds on the MPL canvas, but only 20 clicks get captured by the event. So it's quite difficult to hack the single mouse_down event to simulate the double-click because quite often MPL misses a mouse click... wxmpl suffers of the same desease, from my tests. So I ended up in a dirty hack of a MPL single mouse_down to transform it in a double-click, but quite often I have o click 3/4 times to get the double-click working. I don't think it's the slowness of my PCs, because they are quite fast. Thank you very much for your suggestions. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77 |
From: John H. <jdh...@ac...> - 2006-02-06 19:55:35
|
>>>>> "Christopher" == Christopher Barker <Chr...@no...> writes: Christopher> Andrea, Are you using MPL with wxPython? I'd expect Christopher> so. Christopher> In which case, you can use it embedded, and have wx Christopher> do the event handling. I really think that's the way Christopher> to go. I'm not sure it's such a good idea for MPL to Christopher> wrap GUI functionality, let's not try to build a yet Christopher> another GUI toolkit -- that way lies AnyGUI, and that Christopher> way lies madness! and that way underlies the matplotlib toolbar, and matplotlib code that you can share with others and have others contribute to! Madness? Yes, but just crazy enough that it might work :-) JDH |
From: Christopher B. <Chr...@no...> - 2006-02-06 19:54:16
|
Chris, Christopher Mutel wrote: > ImportError: liblapack.so.2: cannot open shared object file: No such > file or directory All the lapack stuff is linked to what you are using for Numerix: Numeric, numarray or NumPy, rather than directly by MPL. It looks like you may have upgraded your atlas install, and not upgraded your numerix package with it. Or you're installed a Numerix binary package that depends on an older lapack. Your kludge may only be working because you haven't actually called any lapack functions yet, it's not used by the basic numerix stuff, only linear algebra stuff. Anyway, I'd decide what Numerix package you want to use, and then make sure that's installed correctly. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Christopher B. <Chr...@no...> - 2006-02-06 19:50:27
|
Andrea, Are you using MPL with wxPython? I'd expect so. In which case, you can use it embedded, and have wx do the event handling. I really think that's the way to go. I'm not sure it's such a good idea for MPL to wrap GUI functionality, let's not try to build a yet another GUI toolkit -- that way lies AnyGUI, and that way lies madness! Make sure to check out wxmpl and/or Mplot: http://agni.phys.iit.edu/~kmcivor/wxmpl/ http://cars9.uchicago.edu/~newville/Python/MPlot/ By the way, unifying those two packages would be a great wxPython/MPL project, if you're looking for a new one! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Christopher B. <Chr...@no...> - 2006-02-06 19:35:34
|
Eric Firing wrote: > rcParams['xtick.direction'] = 'out' > rcParams['ytick.direction'] = 'out' Not that I need this at the moment, but can you have them be both in and out? -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Perry G. <pe...@st...> - 2006-02-06 14:30:35
|
On Feb 6, 2006, at 8:57 AM, Elderly Geek wrote: > Hi, > > This is more of a numarray issue, but also relevant here I hope. I > wonder how you sort a numarray.array descending? I know > numarray.sort(array) sort ascending. > > thx > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log=20= > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD = SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642= > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > There is a special mailing list for this sort of question=20 (num...@li...). There are a number of ways=20 one can do this but why not either reverse the sorted array (or the=20 sorted indices) by using strides, e.g., get the sorted array and then=20 refer to it as sarr[::-1]? Perry Greenfield= |
From: Charlie M. <cw...@gm...> - 2006-02-06 14:07:20
|
"numarray.sort(array)[-1::-1]" should work for reversing the list fairly fa= st. That indexing btw means start at the last item, and use a stride of -1. On 2/6/06, Elderly Geek <ep...@gm...> wrote: > Hi, > > This is more of a numarray issue, but also relevant here I hope. I > wonder how you sort a numarray.array descending? I know > numarray.sort(array) sort ascending. > > thx > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Elderly G. <ep...@gm...> - 2006-02-06 13:57:54
|
Hi, This is more of a numarray issue, but also relevant here I hope. I wonder how you sort a numarray.array descending? I know numarray.sort(array) sort ascending. thx |
From: Andrea G. <and...@ti...> - 2006-02-05 22:30:45
|
Hello NG, I am probably missing something here, so sorry for the possible stupid question. I have tried to use axes legend to create a legend on my plot, but this doesn't work very well if I have 2 y-axis (as in two_scales.py demo), because the legend is created as: MyLeftAxis.legend() And it doesn't see the properties plotted on the second axis. If I do: MyRightAxis.legend() I get 2 different legends, which I don't like very much. So I tried to use figlegend, using MyFigure.legend(MyLines, MyLabel, Location), but I am having 2 problems: 1) The use may decide to hide/show the legend as he/she wants, and for this I am using legend.set_visible(), and it works almost smoothly; 2) I don't know how to update the legend as new plots are added to the figure; 3) I don't know if there is a way to destroy a legend - completely delete it from the figure. Thank you very much for every hint. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77 |
From: Jochen V. <vo...@se...> - 2006-02-05 22:28:16
|
Hello John, On Sun, Jan 29, 2006 at 10:58:50AM -0600, John Hunter wrote: > Yes, that is annoying. I just made some changes to CVS to fix it. The > root of the problem is that Agg does subpixel rendering. I have some > hacks now to make it work right for grid lines, ... Sorry for the delay. I tried it now and it does NOT work :-( The diagram on the web page is now generated with the current CVS version of matplotlib, but the problem still persists. I uncommented the std::cout << "snapto "<<thisx<<" "<<thisy<<std::endl; line in _backend_agg.cpp and found that this bit of code is only called 142 times, which is significantly less than the number of grid line fragments. I tried to change (in RendererAgg::draw_lines) the test snapto =3D (x0=3D=3Dx1) || (y0=3D=3Dy1); (looked dangerous to me, these are doubles) into snapto =3D fabs(x0-x1)<1e-6 || fabs(y0-y1)<1e-6 ; but this did not help. Any more ideas? Many thanks, Jochen --=20 http://seehuhn.de/ |
From: Jouni K S. <jk...@ik...> - 2006-02-05 18:53:50
|
Tom Denniston <tom...@al...> writes: > Is there any easy way to make an area chart like the one attached in > matplotlib without manually manipulating polygons? Here's a snippet that makes a plot like that (but I haven't figured out how to create the legend). To test it in ipython -pylab, type something like figure() plot_cumulative(gca(), arange(20), rand(20,20)) show() Perhaps a more refined version of this would be a useful addition to matplotlib? import Numeric as N import matplotlib # Colors from http://geography.uoregon.edu/datagraphics/color_scales.htm colors = [ [1.000, 0.500, 0.000], [1.000, 0.750, 0.500], [1.000, 1.000, 0.200], [1.000, 1.000, 0.600], [0.200, 1.000, 0.000], [0.700, 1.000, 0.550], [0.100, 0.700, 1.000], [0.650, 0.930, 1.000], [0.400, 0.300, 1.000], [0.800, 0.750, 1.000], [0.900, 0.100, 0.200], [1.000, 0.600, 0.750], ] def plot_cumulative(ax, x, array): x, array = N.asarray(x), N.asarray(array) # Change e.g. array=[[1,2,3],[4,5,6]] to cs=[[0,0,0],[1,2,3],[5,7,9]]] cs = N.concatenate((N.zeros((1,len(x))), N.cumsum(array))) # Change e.g. x=[1,2,3] to xx=[1,2,3,3,2,1] xx = N.concatenate((x, x[::-1])) for i in range(0, N.size(cs,0)-1): # Define y coordinates of polygon as cs[i,:] and cs[i+1,:] yy = N.concatenate((cs[i,:], cs[i+1,::-1])) c = colors[i % len(colors)] ax.fill(xx, yy, facecolor=c) -- Jouni |
From: Christopher M. <cm...@gm...> - 2006-02-05 16:07:29
|
I did a fresh install on a new computer this week, and installed JDH's Ubuntu packages from uchicago, and got the following error upon "from pylab import *": File "/usr/lib/python2.4/site-packages/numpy/linalg/__init__.py", line 4, in ? from linalg import * File "/home/jdhunter/debs/numpy/usr/lib/python2.4/site-packages/numpy/lin= alg/linalg.py", line 16, in ? ImportError: liblapack.so.2: cannot open shared object file: No such file or directory I do, however, have liblapack.so.3 available in /usr/lib. I tried uninstalling and installing python-matplotlib-jdh and python-scipy (because that had solved a different installation problem before) in different orders, but no luck. So, I symlinked liblapack.so.3 to liblapack.so.2, and then had to do the same to: libatlas.so.3 libcblas.so.3 libf77blas.so.3 And "from pylab import *" works fine, and plotting seems to work fine. However, it seems like unless version three of these libraries are 100% compatible, that this is problematic. This is on a fresh install, and I'm not smart enough to figure out anything else substantive, but wanted to let Matplotlib maintainers/etc. know. -Chris |
From: Alan G I. <ai...@am...> - 2006-02-05 13:57:03
|
I'd guess you'll want to plot against times converted using the datetime module http://ftp.python.org/doc/lib/datetime-time.html and then place your time strings as ticks. Cheers, Alan Isaac |
From: Mohan K. <mo...@mo...> - 2006-02-05 03:14:37
|
I have used the plot function before to plot points for over a year lets say, now I have to write something that makes a plot with the current time of the day on the x-axis. The data I am getting is all in military time, so it starts at 0700 and ends at 2200. The data points are all in 15 minute increments, so it goes 0700, 0715, 0730, 0745 etc. I am having trouble using the multiple locator in this case. I can't simply use 15, there would be a created gap in the graph. For example, if I do a bar graph with bar(), i would see my data points and then big gaps. So my question is, how can I have my X axis go in 15 minute increments stopping at 59? ie, minutes in an hour only go from 0 to 59? I would like to make a bar graph with 15 minute intervals, and also a plot graph with 15 minute intervals. Thanks much, mohan |
From: Eric F. <ef...@ha...> - 2006-02-04 17:50:20
|
Pavol Severa wrote: > Hello > > I'd like to ask you how to make the ticks on the axes to protrude out > of the picture (I have a picture with some dark areas where the ticks > are virtually invisible; if the ticks were at least partially outside, > it would solve the problem). Pavol, In your matplotlibrc file you can set the tick direction: ... xtick.direction : in # direction: in or out ... ytick.direction : in # direction: in or out ... Alternatively, interactively or within a script you can use: rcParams['xtick.direction'] = 'out' rcParams['ytick.direction'] = 'out' Eric |
From: Samuel M. S. <sm...@sa...> - 2006-02-04 16:38:40
|
I would like to create an animation that shows the path of a vehicle moving along a trajectory. The vehicle could be represented by a small circle with and arrow pointing along the vehicle's current heading. It would be nice to leave a bread crumb trail of the vehicles path as a line. I found documentation on making animations and movies but plotting a sequence of plots. But I am not sure how I create or plot the circle plus arrow and then move it for the next plot. (unless I just replot the whole plot everyframe) The Animation cookbook apparently provides some hints but I am a little lost as to where to begin. Do I need to create an artist? or a cursor? I am using WxAgg on Mac Os X 10.4.4 although I could use another OS X supported backend if it would be easier than WXAgg. Any hints or a get started example Sam |
From: Samuel M. S. <sm...@sa...> - 2006-02-04 15:59:50
|
Darrel, I this other thread you mention recent changes to the tex font handling. I am assuming that these are not in the 0.86.2 distribution? Is this related to my poor resolution problem? > I made some improvements to the usetex option over the last few > days in order > to make font selection fit seemlessly with the rest of Matplotlib. > The usetex > option will now respect the serif, sans-serif, monospace, and > cursive rc > settings. Usetex looks until it finds a latex-compatible font, or > defaults to > computer modern. Proper font support with plainTeX is more > difficult, and > everyone seems to use the latex backend anyway, so I am dropping > support of > the tex engine. With these changes, the font.latex.package and the > text.tex.engine rc settings are no longer needed, and should be > removed from > ones personal matplotlibrc file. |
From: Andrea G. <and...@ti...> - 2006-02-04 15:58:20
|
Hello NG, I am having a couple of problems with Matplotlib embedded in wxPython; both are related to the Pylab twinx() function and its corresponding Matplotlib API call. Problem 1: Using the following script: ---------------------------------------------- #!/usr/bin/env python from pylab import * ax1 = subplot(111) t = arange(0.01, 10.0, 0.01) s2 = sin(2*pi*t) plot(t, s2, 'r.') ylabel('sin') # turn off the 2nd axes rectangle with twinx() ax2 = twinx() s1 = exp(t) plot(t, s1, 'b-') xlabel('time (s)') ylabel('exp') show() ---------------------------------------------- Everything works fine but the exponential factor for which the right axis scale is multiplied ("x1e4") is positioned on the left axis, which is clearly misleading. Problem 2: Using the corresponding Matplotlib API calls to use twinx() embedded in wxPython, the same problem as above appears *and* the ylabel for the right axis is positioned on the left axis instead: so I end up with 2 ylabels on the same axis. The script I am running is this one: ---------------------------------------------- #!/usr/bin/env python import wx import matplotlib matplotlib.use('WXAgg') from matplotlib.backends.backend_wxagg import \ FigureCanvasWxAgg as FigureCanvas from matplotlib.figure import Figure from matplotlib.numerix import arange, sin, exp, pi # wxPython part app = wx.PySimpleApp() frame = wx.Frame(None, -1, "MPL Test", (400, 400)) fig = Figure() canvas = FigureCanvas(frame, -1, fig) sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(canvas, 1, wx.LEFT|wx.TOP|wx.GROW) frame.SetSizer(sizer) sizer.Layout() # Plotting part: Left Axis leftaxis = fig.add_subplot(111) leftaxis.yaxis.tick_left() t = arange(0.01, 10.0, 0.01) s2 = sin(2*pi*t) leftaxis.plot(t, s2, 'r.') leftaxis.set_ylabel('sin') # Plotting part: Left Axis rightaxis = fig.add_subplot(111, frameon=False) rightaxis.yaxis.tick_right() s1 = exp(t) rightaxis.plot(t, s1, 'b-') rightaxis.set_xlabel('time (s)') rightaxis.set_ylabel('exp') # wxPython starts frame.CenterOnScreen() frame.Show() app.MainLoop() ---------------------------------------------- If that matters, I am using Matplotlib 0.86.2 on Windows XP/2000, Python 2.4.1, wxPython 2.6.2.1. Thanks in advance for every hint. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77 |
From: Samuel M. S. <sm...@sa...> - 2006-02-04 15:51:56
|
On 03 Feb, 2006, at 16:43, Darren Dale wrote: > Try setting your ps.distiller.res rc setting to 6000. Does that > help? If so, > let me know and I will make a comment on the wiki. These are my ps backend settings I tried False, Ghostscript, and xpdf for the ps.usedistiller but no change in the onscreen output in every case ps.distiller.res was set to 6000 # ps backend params ps.papersize : letter # executive, letter, legal, ledger, A0- A10, B0-B6, C0-C6 ps.useafm : False # use of afm fonts -- breaks mathtext but results in small files ps.usedistiller : xpdf # can be: None, ghostscript or xpdf # Experimental: may produce smaller files. # xpdf intended for production of publication quality files, # but requires ghostscript, xpdf and ps2eps ps.distiller.res : 6000 # dpi I set verbose level to debug. Here is the console output when I run the tex demo. It seems that it is not using a tex font on screen even though usetex is true. It appears to use a tex font in the eps file I get this output numerix numpy 0.9.5.2006 font search path ['/Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4- ppc.egg/matplotlib/mpl-data'] trying fontname /Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4- ppc.egg/matplotlib/mpl-data/Vera.ttf $HOME=/Users/smithsm CONFIGDIR=/Users/smithsm/.matplotlib loaded ttfcache file /Users/smithsm/.matplotlib/ttffont.cache matplotlib data path /Library/Frameworks/Python.framework/Versions/ 2.4/lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4- macosx-10.4-ppc.egg/matplotlib/mpl-data backend WXAgg version 2.6.2.1 findfont failed New Century Schoolbook findfont failed Century Schoolbook L findfont failed Utopia findfont failed ITC Bookman findfont failed Bookman findfont found Bitstream Vera Serif, normal, normal 500, normal, 16.0 findfont returning /Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4- ppc.egg/matplotlib/mpl-data/VeraSe.ttf findfont failed New Century Schoolbook findfont failed Century Schoolbook L findfont failed Utopia findfont failed ITC Bookman findfont failed Bookman findfont found Bitstream Vera Serif, normal, normal 500, normal, 12.0 findfont returning /Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/matplotlib-0.86.2cvs-py2.4-macosx-10.4- ppc.egg/matplotlib/mpl-data/VeraSe.ttf This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2006.02.03:1330' -> /tmp/ 1d2e640b7c7d6320cb57dd91740b0da8.ps <tex.pro><psfrag.pro><texps.pro><special.pro><color.pro>. <cmti10.pfb> <cmbx10.pfb><cmmi10.pfb><cmsy10.pfb><cmr8.pfb><cmmi8.pfb><cmex10.pfb> <cmsy8.pfb><cmr10.pfb>[1<1d2e640b7c7d6320cb57dd91740b0da8.eps>] here is a pdf of the eps file |
From: Pavol S. <pav...@gm...> - 2006-02-04 14:27:41
|
Hello I'd like to ask you how to make the ticks on the axes to protrude out of the picture (I have a picture with some dark areas where the ticks are virtually invisible; if the ticks were at least partially outside, it would solve the problem). |
From: Andrea G. <and...@ti...> - 2006-02-04 11:15:05
|
Hello NG, I was surfing over the matplotlib classes API, and I didn't find anything about a way to connect an event like a mouse left double-click. Is this actually possible? If this is not, is there a way to hack the button_press_event handler in a way to discard the first click (maybe based on a time.time() call?) and take only the second click if, say, less than 1 second is gone after the first click? Thanks in advance for every idea. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77 |
From: Darren D. <dd...@co...> - 2006-02-03 23:43:12
|
Try setting your ps.distiller.res rc setting to 6000. Does that help? If so, let me know and I will make a comment on the wiki. Darren On Friday 03 February 2006 18:25, Samuel M. Smith wrote: > I just upgraded my Matplotlib to 0.86.2. The display of text using latex > has really poor resolution. This was not the case with 0.83. Anyone know > what Is the problem. The saved .eps files when converted to pdf have > good > resolution. > > I am using Mac OS X 10.4.4 > I have latex installed with > ghostscript 8.51 > dvips(k) 5.95b > numpy 0.9.5 > WXAgg > wxwindows 2.6.2.1 > > the following relevant rc settings > > font.latex.package : type1cm > text.usetex : True # > text.tex.engine : latex > > figure.dpi : 100 > savefig.dpi : 100 > > changing the dpi just makes the window bigger with still poor rendering. > > when I run the example cookbook > http://new.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex > > I get the following on screen display -- Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-9894 fax: (607) 255-9001 |
From: Samuel M. S. <sm...@sa...> - 2006-02-03 23:26:10
|
I just upgraded my Matplotlib to 0.86.2. The display of text using latex has really poor resolution. This was not the case with 0.83. Anyone know what Is the problem. The saved .eps files when converted to pdf have good resolution. I am using Mac OS X 10.4.4 I have latex installed with ghostscript 8.51 dvips(k) 5.95b numpy 0.9.5 WXAgg wxwindows 2.6.2.1 the following relevant rc settings font.latex.package : type1cm text.usetex : True # text.tex.engine : latex figure.dpi : 100 savefig.dpi : 100 changing the dpi just makes the window bigger with still poor rendering. when I run the example cookbook http://new.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex I get the following on screen display |
From: John H. <jdh...@ac...> - 2006-02-03 19:09:39
|
>>>>> "Brian" == Brian Granger <bgr...@sc...> writes: Brian> The odd thing is that I have an earlier build of matplotlib Brian> (maybe a week ago) on my laptop and it runs fine. It also Brian> has this same code in _transforms.cpp. That makes me think Brian> it is an install problem. Brian> Any thoughts? Hey Brian, You need _transforms.cpp revision 1.46. This was a bug I introducted into CVS last night and it is now fixed. JDH |
From: Brian G. <bgr...@sc...> - 2006-02-03 18:59:14
|
Hello, Last night I installed matplotlib from CVS on Mac OS X (python 2.4.1). I am using numpy from svn and have installed the dependencies (zlib, libpng, freetype, wxPython). I don't have Numeric or numarray installed on this machine. Everything builds fine, but when I run ipython -pylab and do plot ((1,2,3)) I the following: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/axes.py in __init__(self, fig, *args, **kwargs) 4127 def __init__(self, fig, *args, **kwargs): 4128 SubplotBase.__init__(self, fig, *args) -> 4129 Axes.__init__(self, fig, [self.figLeft, self.figBottom, 4130 self.figW, self.figH], **kwargs) 4131 /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/axes.py in __init__(self, fig, rect, axisbg, frameon, sharex, sharey, label, **kwargs) 367 self._hold = rcParams['axes.hold'] 368 self._connected = {} # a dict from events to (id, func) --> 369 self.cla() 370 371 # funcs used to format x and y - fall back on major formatters /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/axes.py in cla(self) 664 self.yaxis.cla() 665 --> 666 self.dataLim.ignore(1) 667 if self._sharex is not None: 668 self.xaxis.major = self._sharex.xaxis.major IndexError: tuple index out of range I think the code being called in the ignore() method is in _transforms.cpp: Py::Object Bbox::ignore(const Py::Tuple &args) { _VERBOSE("Bbox::ignore"); args.verify_length(1); _ignore = Py::Int(args[1]); return Py::Object(); } If the length of the tuple is 1, should it read: _ignore = Py::Int(args[0]); Or does the Py::Tuple class index tuples beginning with 1? The odd thing is that I have an earlier build of matplotlib (maybe a week ago) on my laptop and it runs fine. It also has this same code in _transforms.cpp. That makes me think it is an install problem. Any thoughts? Brian |