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
|
|
From: Mark L. <bre...@ya...> - 2013-04-04 16:19:57
|
On 01/04/2013 14:48, Mark Lawrence wrote: > On 29/03/2013 15:49, Mark Lawrence wrote: >> Hi all, >> >> From http://labix.org/python-dateutil >> >> "To generate a rrule for the use case of "a date on the specified day of >> the month, unless it is beyond the end of month, in which case it will >> be the last day of the month" use the following: >> >> rrule(MONTHLY, bymonthday=(some_day, -1), bysetpos=1) >> >> This will generate a value for every calendar month regardless of the >> day of the month it is started from." >> >> Using bymonthday with MonthLocator gives ticks on the day given and the >> last day of the month, which looks extremely ugly. Code below demonstrates. >> >> from dateutil.rrule import * >> import datetime >> import matplotlib.pyplot as plt >> from matplotlib.ticker import FormatStrFormatter, MultipleLocator >> from matplotlib.dates import DateFormatter, MonthLocator, DayLocator >> >> start = datetime.date(2013, 3, 29) >> until = datetime.date(2014, 3, 29) >> dates = rrule(MONTHLY, bymonthday=(29, -1), bysetpos=1, until=until) >> for d in dates:print(d) >> >> dates = [start, until] >> values = [0, 1] >> plt.ylabel('Balance') >> plt.grid() >> ax = plt.subplot(111) >> plt.plot_date(dates, values, fmt = 'rx-') >> ax.xaxis.set_major_locator(MonthLocator(bymonthday = (dates[0].day, -1))) >> ax.xaxis.set_major_formatter(DateFormatter('%d/%m/%y')) >> ax.yaxis.set_major_formatter(FormatStrFormatter('£%0.2f')) >> ax.yaxis.set_minor_locator(MultipleLocator(5)) >> plt.axis(xmin=dates[0], xmax=dates[-1]) >> plt.setp(plt.gca().get_xticklabels(), rotation = 45, fontsize = 10) >> plt.setp(plt.gca().get_yticklabels(), fontsize = 10) >> plt.show() >> > > Seems an apt date to realise that I didn't say much :( > > Assuming that I'm correct would you like an issue raised on the bug > tracker? If not please correct the mistake I've made, presumably in > reading the docs, which I think are excellent by the way. > Anybody? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence |
|
From: Derek T. <der...@gm...> - 2013-04-04 16:06:23
|
I posted a related question on stackoverflow (http://stackoverflow.com/questions/15815862/apply-affine-transform-to-quiver-in-python-matplotlib) but I've produced a simple enough example with strange results that I think it merits attention here. I'm trying to apply affine transforms to quiver and scatter plots. In all cases that I've considered, the scatter and quiver plots transform opposite the regular plot. Here's a minimal case: import matplotlib as mpl from pylab import figure, subplot, plot, scatter, show, axis figure() ax = subplot(111) base_trans = ax.transData tr = mpl.transforms.Affine2D(matrix = array([[1,1,0],[0,1,0],[0,0,1]])) + base_trans plot( [1,2,3], [1,2,3], 'k.', transform = tr ) scatter( [1,2,3], [1,2,3], c = 'k', marker = 'D', transform = tr ) axis([0,7,0,7]) show() Thanks, Derek |
|
From: Scott S. <sco...@gm...> - 2013-04-04 07:08:25
|
On 4 April 2013 06:45, Sudheer Joseph <sud...@ya...> wrote: > Below is a sample script I got from windrose pack. I would like to place 2 windroses side by side ... > > from windrose import WindroseAxes > from matplotlib import pyplot as plt ... > def new_axes(): > fig = plt.figure(figsize=(8, 8), dpi=80, facecolor='w', edgecolor='w') > rect = [0.1, 0.1, 0.8, 0.8] > ax = WindroseAxes(fig, rect, axisbg='w') > fig.add_axes(ax) > return ax I'm not familiar with the windrose package, but it looks like the rect parameter to WindroseAxes specifies the size of the generated axes in figure co-ordinates (see http://matplotlib.org/api/figure_api.html?highlight=add_axes#matplotlib.figure.Figure.add_axes). You should be able to pass in a different list of co-ordinates for each WindroseAxes to get side-by-side axes on the same figure... Cheers, Scott |
|
From: Sudheer J. <sud...@ya...> - 2013-04-04 04:45:40
|
Dear users, Below is a sample script I got from windrose pack. I would like to place 2 windroses side by side so that a comparison can be made. For example I have created additional variables ws1 wd1, and I would like that to be placed in the same row as a 1 row 2 column way. Any help in this regard will be great. (I tried subplot(221) subplot(222) but it do not work as the windrose uses new axis each time.) from windrose import WindroseAxes from matplotlib import pyplot as plt import matplotlib.cm as cm from numpy.random import random from numpy import arange #Create wind speed and direction variables ws = random(500)*6 wd = random(500)*360 ws1 = random(500)*6 wd1 = random(500)*360 def new_axes(): fig = plt.figure(figsize=(8, 8), dpi=80, facecolor='w', edgecolor='w') rect = [0.1, 0.1, 0.8, 0.8] ax = WindroseAxes(fig, rect, axisbg='w') fig.add_axes(ax) return ax def set_legend(ax): l = ax.legend(axespad=-0.10) plt.setp(l.get_texts(), fontsize=8) #windrose like a stacked histogram with normed (displayed in percent) results ax = new_axes() ax.bar(wd, ws, normed=True, opening=0.8, edgecolor='white') set_legend(ax) #Another stacked histogram representation, not normed, with bins limits ##print ax._info plt.show() *************************************************************** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India POST BOX NO: 21, IDA Jeedeemetla P.O. Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) E-mail:sjo...@gm...;sud...@ya... Web- http://oppamthadathil.tripod.com *************************************************************** |
|
From: Takafumi A. <ak...@gm...> - 2013-04-03 17:07:12
|
Hi, Are there any library which can plot regions and boundaries given inequalities, using matplotlib? Inequality can be given as sympy inequality object, function or data points. Matplotlib has functions to fill regions but they are too primitive for my needs. I will create my own library to do that using matplotlib if there is nothing like that, but I thought I'd check it first. Also, if you have other forums I better post this question, please let me know (StackOverflow maybe?). Best, Takafumi |
|
From: Serge R. <Ser...@mi...> - 2013-04-03 01:52:09
|
Hi guys, I'm the author of http://messymind.net/2012/07/making-matplotlib-look-like-ggplot/ which has gained a bit of interest so I'd like to clean it up and package it as a module to put on github. I'd like to know if I can control tick frequency via rcparams or whether there's a way to do it better than my current approach of ax.xaxis.set_minor_locator(MultipleLocator((plt.xticks()[0][1]-plt.xtick s()[0][0]) / 2.0)) This fails in a number of cases like date axes and assumes linear major tick distribution. My other question is how should I go about having a function automatically called on all axes prior to the figures being displayed or saved. My current implementation requires the user to call rstyle(axis) prior to rendering, I'd like to abstract this away. Thanks in advance, Serge. |
|
From: Goyo <goy...@gm...> - 2013-04-02 16:45:50
|
2013/4/2 Benjamin Root <ben...@ou...>: > > I would suggest bringing this issue up with them (that the figure > gets destroyed at the end of each cell). The default behaviour of the inline backend is closing figures after cell execution, but this is configurable[1] That said you should be able to use the OO approach with oneliners like this: surf = plt.gca(projection='3d').plot_surface(...) Or write you own pyplot-style function. Adding 3d plotting functions to pyplot might or might not be a good thing, I can't tell. Or there might be a separate, pyplot-like module for 3d. Does that make sense? http://ipython.org/ipython-doc/stable/interactive/qtconsole.html#pylab-inline Goyo |
|
From: Nick R. <ncr...@gm...> - 2013-04-02 16:03:21
|
Hi listserve, I was wondering if anyone had implemented an roipoly function for matplotlib? I am looking for a function that will display a plot, accept a series of left clicks to select an arbitrary number points in a sequence, draw the polygon as I click, and complete the polygon with a right click on an appropriate point. The function would return a mask array indicating which points are inside the polygon and which are not. Nick |
|
From: Benjamin R. <ben...@ou...> - 2013-04-02 12:48:07
|
On Mon, Apr 1, 2013 at 3:51 PM, Michael Aye <mic...@uc...> wrote: > On 2013-04-01 13:45:07 +0000, Benjamin Root said: > > > > > On Fri, Mar 29, 2013 at 7:30 PM, Michael Aye > > <mic...@uc...> wrote: > > Is there a pylab version of ax.plot_surface? > > I am asking because the following does not work when running an ipython > > notebook in pylab mode: > > #0: #create some data …. > > #1: fig = plt.figure() > > ax = fig.gca(projection='3d') > > #2: surf = ax.plot_surface( …..) # taking the exact command from the > examples. > > > > I have verified that this code only does NOT work when #1 and #2 are > > executed in different notebook cells. When they are combined in the > > same cell, it works. > > As I prefer the flexibility of being able to run everything anywhere, I > > am asking for pylab versions of plot_surface, as I am mostly running > > things in the pylab mode of the notebook. > > > > Cheers, > > Michael > > > > > > The reason this does not work in separate cells is that a figure object > > gets closed at the end of a ipython cell. An ax object no longer works > > when its parent figure is closed. This is not limited to 3d plots. I > > would be surprised to see ax.plot() work if a non-3d axes object was > > made in a different cell. > > Sure, but isn't that just the reason why it doesn't work the OO-way? > That's exactly why I am asking for a pylab version of plot_surface that > does NOT require to have a 3d axes object available already. > > Huh? This has nothing to do with the OO approach to matplotlib. Ryan May did a tutorial last year on the OO approach to matplotlib using ipython notebooks. The issue at hand is that the pylab mode of ipython loads a special backend, IIRC, that "displays" the figure at the end of each cell. I have found that if the figure is empty, then nothing shows, but the figure is still destroyed. Without a figure object (implicit or otherwise), you can't display any new plots to the old axes regardless of the projection. So, what you really want is something that is not the pylab mode that doesn't try to do special stuff under the hood. Fernando and I have discussed various issues surrounding the ipython's pylab mode. I never did get around to submitting my patches (they wouldn't have helped in your case anyway), but I do wonder if they have made some progress in addressing this issue. I would suggest bringing this issue up with them (that the figure gets destroyed at the end of each cell). Ben Root |
|
From: Neal B. <ndb...@gm...> - 2013-04-02 11:44:36
|
Maybe look into pgf. It's slow, but looks good. http://matplotlib.org/users/pgf.html |
|
From: Michael A. <mic...@uc...> - 2013-04-01 19:52:01
|
On 2013-04-01 13:45:07 +0000, Benjamin Root said: > > On Fri, Mar 29, 2013 at 7:30 PM, Michael Aye > <mic...@uc...> wrote: > Is there a pylab version of ax.plot_surface? > I am asking because the following does not work when running an ipython > notebook in pylab mode: > #0: #create some data …. > #1: fig = plt.figure() > ax = fig.gca(projection='3d') > #2: surf = ax.plot_surface( …..) # taking the exact command from the examples. > > I have verified that this code only does NOT work when #1 and #2 are > executed in different notebook cells. When they are combined in the > same cell, it works. > As I prefer the flexibility of being able to run everything anywhere, I > am asking for pylab versions of plot_surface, as I am mostly running > things in the pylab mode of the notebook. > > Cheers, > Michael > > > The reason this does not work in separate cells is that a figure object > gets closed at the end of a ipython cell. An ax object no longer works > when its parent figure is closed. This is not limited to 3d plots. I > would be surprised to see ax.plot() work if a non-3d axes object was > made in a different cell. Sure, but isn't that just the reason why it doesn't work the OO-way? That's exactly why I am asking for a pylab version of plot_surface that does NOT require to have a 3d axes object available already. > > Ben Root > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Jody K. <jk...@uv...> - 2013-04-01 18:28:18
|
Hi All,
rc('text', usetex=False)
plot(arange(1,50))
title(' Boo Whoo')
xlabel('$t\ [m^2s^{-1}]$')
Works OK, except the x label is typeset in a different font than the rest due to the latex
rc('text', usetex=False)
rc('text.latex',preamble="\usepackage{cmbright}")
plot(arange(1,50))
title(' Boo Whoo')
xlabel('$t\ [m^2s^{-1}]$')
Looks pretty good, though I prefer the default fonts, but it takes a long time for all the rendering.
Is there a better solution to the first case that makes the fonts look more consistent?
Thanks, Jody
--
Jody Klymak
http://web.uvic.ca/~jklymak/
|
|
From: Sayan C. <say...@gm...> - 2013-04-01 14:00:23
|
Thanks Benjamin...I put that plt.ylim earlier but at a wrong place. It worked. Thanks again! On 1 April 2013 19:01, Benjamin Root <ben...@ou...> wrote: > > > On Mon, Apr 1, 2013 at 7:29 AM, Sayan Chatterjee < > say...@gm...> wrote: > >> Thank you very much!!...'plt.cla()' worked!! >> >> One slight hiccup. Could you please tell me how to fix up the Y grid? I >> mean I want every plot to have scale from 0 to 15 (say), not that some will >> have -5 to 10 and some will have 5 to 20.Is it possible?...it's >> absolutely necessary for the concerned simulation. >> >> :) >> Sayan >> >> > put "plt.ylim(0, 15) " before the call to savefig(). > > Ben Root > > -- -------------------------------------------------------------------------- *Sayan Chatterjee* Dept. of Physics and Meteorology IIT Kharagpur Lal Bahadur Shastry Hall of Residence Room AB 205 Mob: +91 9874513565 blog: www.blissprofound.blogspot.com Volunteer , Padakshep www.padakshep.org |
|
From: Mark L. <bre...@ya...> - 2013-04-01 13:45:55
|
On 29/03/2013 15:49, Mark Lawrence wrote: > Hi all, > > From http://labix.org/python-dateutil > > "To generate a rrule for the use case of "a date on the specified day of > the month, unless it is beyond the end of month, in which case it will > be the last day of the month" use the following: > > rrule(MONTHLY, bymonthday=(some_day, -1), bysetpos=1) > > This will generate a value for every calendar month regardless of the > day of the month it is started from." > > Using bymonthday with MonthLocator gives ticks on the day given and the > last day of the month, which looks extremely ugly. Code below demonstrates. > > from dateutil.rrule import * > import datetime > import matplotlib.pyplot as plt > from matplotlib.ticker import FormatStrFormatter, MultipleLocator > from matplotlib.dates import DateFormatter, MonthLocator, DayLocator > > start = datetime.date(2013, 3, 29) > until = datetime.date(2014, 3, 29) > dates = rrule(MONTHLY, bymonthday=(29, -1), bysetpos=1, until=until) > for d in dates:print(d) > > dates = [start, until] > values = [0, 1] > plt.ylabel('Balance') > plt.grid() > ax = plt.subplot(111) > plt.plot_date(dates, values, fmt = 'rx-') > ax.xaxis.set_major_locator(MonthLocator(bymonthday = (dates[0].day, -1))) > ax.xaxis.set_major_formatter(DateFormatter('%d/%m/%y')) > ax.yaxis.set_major_formatter(FormatStrFormatter('£%0.2f')) > ax.yaxis.set_minor_locator(MultipleLocator(5)) > plt.axis(xmin=dates[0], xmax=dates[-1]) > plt.setp(plt.gca().get_xticklabels(), rotation = 45, fontsize = 10) > plt.setp(plt.gca().get_yticklabels(), fontsize = 10) > plt.show() > Seems an apt date to realise that I didn't say much :( Assuming that I'm correct would you like an issue raised on the bug tracker? If not please correct the mistake I've made, presumably in reading the docs, which I think are excellent by the way. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence |
|
From: Benjamin R. <ben...@ou...> - 2013-04-01 13:45:36
|
On Fri, Mar 29, 2013 at 7:30 PM, Michael Aye <mic...@uc...> wrote: > Is there a pylab version of ax.plot_surface? > I am asking because the following does not work when running an ipython > notebook in pylab mode: > #0: #create some data …. > #1: fig = plt.figure() > ax = fig.gca(projection='3d') > #2: surf = ax.plot_surface( …..) # taking the exact command from the > examples. > > I have verified that this code only does NOT work when #1 and #2 are > executed in different notebook cells. When they are combined in the > same cell, it works. > As I prefer the flexibility of being able to run everything anywhere, I > am asking for pylab versions of plot_surface, as I am mostly running > things in the pylab mode of the notebook. > > Cheers, > Michael > > The reason this does not work in separate cells is that a figure object gets closed at the end of a ipython cell. An ax object no longer works when its parent figure is closed. This is not limited to 3d plots. I would be surprised to see ax.plot() work if a non-3d axes object was made in a different cell. Ben Root |
|
From: Benjamin R. <ben...@ou...> - 2013-04-01 13:32:15
|
On Mon, Apr 1, 2013 at 7:29 AM, Sayan Chatterjee <say...@gm...>wrote: > Thank you very much!!...'plt.cla()' worked!! > > One slight hiccup. Could you please tell me how to fix up the Y grid? I > mean I want every plot to have scale from 0 to 15 (say), not that some will > have -5 to 10 and some will have 5 to 20.Is it possible?...it's > absolutely necessary for the concerned simulation. > > :) > Sayan > > put "plt.ylim(0, 15) " before the call to savefig(). Ben Root |
|
From: Sayan C. <say...@gm...> - 2013-04-01 11:30:28
|
Thank you very much!!...'plt.cla()' worked!! One slight hiccup. Could you please tell me how to fix up the Y grid? I mean I want every plot to have scale from 0 to 15 (say), not that some will have -5 to 10 and some will have 5 to 20.Is it possible?...it's absolutely necessary for the concerned simulation. :) Sayan On 1 April 2013 07:02, Benjamin Root <ben...@ou...> wrote: > > > > On Sun, Mar 31, 2013 at 11:51 AM, Sayan Chatterjee < > say...@gm...> wrote: > >> Thank you very much I have been able to plot from the data files, but >> facing a slight glitch. The data points are being super imposed in >> consecutive plots.That means if the 1st data file contains 50 points and >> the second 30. The second plot will contain 80 points! How to go about this >> problem? >> >> for i in range(0,20): >> fname = 'file_' + str(i) + '.dat' >> f=open(fname,"r") >> x,y = np.loadtxt(fname, unpack=True) >> plt.scatter(x,y) >> pylab.savefig(fname + '.png') >> f.close() >> >> > Sayan, > > Try putting "plt.cla()" after the call to "pylab.savefig()". > > Ben Root > -- -------------------------------------------------------------------------- *Sayan Chatterjee* Dept. of Physics and Meteorology IIT Kharagpur Lal Bahadur Shastry Hall of Residence Room AB 205 Mob: +91 9874513565 blog: www.blissprofound.blogspot.com Volunteer , Padakshep www.padakshep.org |
|
From: Benjamin R. <ben...@ou...> - 2013-04-01 01:32:39
|
On Sun, Mar 31, 2013 at 11:51 AM, Sayan Chatterjee < say...@gm...> wrote: > Thank you very much I have been able to plot from the data files, but > facing a slight glitch. The data points are being super imposed in > consecutive plots.That means if the 1st data file contains 50 points and > the second 30. The second plot will contain 80 points! How to go about this > problem? > > for i in range(0,20): > fname = 'file_' + str(i) + '.dat' > f=open(fname,"r") > x,y = np.loadtxt(fname, unpack=True) > plt.scatter(x,y) > pylab.savefig(fname + '.png') > f.close() > > Sayan, Try putting "plt.cla()" after the call to "pylab.savefig()". Ben Root |
|
From: Ian T. <ian...@gm...> - 2013-03-31 20:19:58
|
On 29 March 2013 20:15, Jeff Layton <lay...@at...> wrote: > Good afternoon, > > I'd like to be able to plot some 2D Structured CFD meshes > and contour plots (pressure, etc) using Matplotlib. I've > googled a little but does anyone have any pointers or > links to help get me started? > > Thanks! > > Jeff > The functions you want are 'contour' for contour line plots, and 'contourf' for filled contour plots. Start with http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.contour, which describes the contour function and includes example plots with source code. Ian |
|
From: Sayan C. <say...@gm...> - 2013-03-31 15:51:54
|
Thank you very much I have been able to plot from the data files, but facing a slight glitch. The data points are being super imposed in consecutive plots.That means if the 1st data file contains 50 points and the second 30. The second plot will contain 80 points! How to go about this problem? for i in range(0,20): fname = 'file_' + str(i) + '.dat' f=open(fname,"r") x,y = np.loadtxt(fname, unpack=True) plt.scatter(x,y) pylab.savefig(fname + '.png') f.close() On 28 March 2013 02:48, Steven Boada <bo...@ph...> wrote: > Hey Sayan, > > Here is the manual page: > > http://docs.scipy.org/doc/**numpy/reference/generated/** > numpy.genfromtxt.html<http://docs.scipy.org/doc/numpy/reference/generated/numpy.genfromtxt.html> > > It works (basically) the same as loadtxt, but it is more flexible when > there are holes in your data. > > Good luck. > > Steven > > > On Wed Mar 27 10:07:10 2013, Sayan Chatterjee wrote: > >> Hi Steven, >> >> I am a newbie to Python and hence Matplotlib. I cannot get your point >> properly. Could you please redirect me to a page where the usage is >> demonstrated? >> >> As I can see, you're a doctoral student in Physics, it might be >> worthwhile to tell you that I'm trying to code a Zeldovich >> Approximation for a simple sinusoidal potential and want to make it >> evolve with varying scale factor and make an animation of it. >> >> Cheers, >> Sayan >> >> >> On 27 March 2013 19:58, Steven Boada <bo...@ph... >> <mailto:bo...@ph...**>> wrote: >> >> Another, slightly more flexible, option is the genfromtxt >> function, also in numpy. Normally you should try genfromtxt after >> loadtxt doesn't work. Or, that is my normal method. >> >> Steven >> >> >> On Wed Mar 27 07:16:45 2013, Sayan Chatterjee wrote: >> >> Thank you very much for your prompt reply. >> >> Florian, your reply seems to be the answer to my question. >> I'll try >> it out. If can't figure out,I'll get back to you. >> >> >> On 27 March 2013 15:37, Florian M. Wagner >> <wag...@st... <mailto:wag...@st....**ch<wag...@st...> >> > >> <mailto:wag...@st....**__ch >> >> <mailto:wag...@st....**ch <wag...@st...>>>> >> wrote: >> >> Hey Sayan, >> >> for reading in simple ASCII-Files containing your two >> arrays you >> should have a look at the numpy.loadtxt function. >> >> Scatter plots in matplotlib are then easily created as >> shown here >> http://matplotlib.org/__**examples/pylab_examples/__** >> scatter_demo.html<http://matplotlib.org/__examples/pylab_examples/__scatter_demo.html> >> >> <http://matplotlib.org/**examples/pylab_examples/** >> scatter_demo.html<http://matplotlib.org/examples/pylab_examples/scatter_demo.html> >> > >> >> For your purpose you can do something like: >> >> import os >> import numpy as np >> import matplotlib.pyplot as plt >> >> for file in os.path.listdir(): >> x, y = np.loadtxt(file, unpack=True) >> plt.scatter(x,y) >> plt.savefig(file + '.png') >> >> Cheers, >> >> Florian >> >> >> Am 27.03.2013 09:32, schrieb Sayan Chatterjee: >> >> Dear All, >> >> I'm new to Matplotlib. It might be a silly question, >> how does one >> plot data(not functions) in Matplotlib. >> >> How: >> 1)Two arrays (X and Y) can be plotted in a scatter >> diagram? >> >> 2) or a number of data files can used to produce >> different plots >> having different(sequential) name? >> >> Thanks in anticipation. >> Regards, >> Sayan >> >> -- >> >> >> >> ------------------------------** >> __----------------------------**--__-------------- >> >> *Sayan Chatterjee* >> >> Dept. of Physics and Meteorology >> IIT Kharagpur >> Lal Bahadur Shastry Hall of Residence >> Room AB 205 >> Mob: +91 9874513565 >> blog: www.blissprofound.blogspot.com >> <http://www.blissprofound.**blogspot.com<http://www.blissprofound.blogspot.com> >> > >> <http://www.blissprofound.__bl**ogspot.com<http://blogspot.com> >> >> <http://www.blissprofound.**blogspot.com<http://www.blissprofound.blogspot.com> >> >> >> >> Volunteer , Padakshep >> www.padakshep.org <http://www.padakshep.org> >> <http://www.padakshep.org> >> >> >> >> >> ------------------------------** >> __----------------------------**--__------------------ >> >> Own the Future-Intel® Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo >> contest. >> Compete for recognition, cash, and the chance to get >> your game >> on Steam. $5K grand prize plus 10 genre and skill prizes. >> Submit your demo by >> 6/6/13.http://p.sf.net/sfu/__**intel_levelupd2d<http://p.sf.net/sfu/__intel_levelupd2d> >> <http://p.sf.net/sfu/intel_**levelupd2d<http://p.sf.net/sfu/intel_levelupd2d> >> > >> >> >> ______________________________**___________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.__sourc**eforge.net<http://sourceforge.net> >> <mailto:Matplotlib-users@**lists.sourceforge.net<Mat...@li...> >> > >> <mailto:Matplotlib-users@__lis**ts.sourceforge.net<http://lists.sourceforge.net> >> <mailto:Matplotlib-users@**lists.sourceforge.net<Mat...@li...> >> >> >> https://lists.sourceforge.net/** >> __lists/listinfo/matplotlib-__**users<https://lists.sourceforge.net/__lists/listinfo/matplotlib-__users> >> <https://lists.sourceforge.**net/lists/listinfo/matplotlib-** >> users <https://lists.sourceforge.net/lists/listinfo/matplotlib-users>> >> >> >> >> >> ------------------------------**__----------------------------** >> --__------------------ >> >> Own the Future-Intel® Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. >> Compete for recognition, cash, and the chance to get your game >> on Steam. $5K grand prize plus 10 genre and skill prizes. >> Submit your demo by 6/6/13. >> http://p.sf.net/sfu/intel___**levelupd2d<http://p.sf.net/sfu/intel___levelupd2d> >> <http://p.sf.net/sfu/intel_**levelupd2d<http://p.sf.net/sfu/intel_levelupd2d> >> > >> ______________________________**___________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.__sourc**eforge.net<http://sourceforge.net> >> <mailto:Matplotlib-users@**lists.sourceforge.net<Mat...@li...> >> > >> <mailto:Matplotlib-users@__lis**ts.sourceforge.net<http://lists.sourceforge.net> >> <mailto:Matplotlib-users@**lists.sourceforge.net<Mat...@li...> >> >> >> https://lists.sourceforge.net/**__lists/listinfo/matplotlib-__** >> users <https://lists.sourceforge.net/__lists/listinfo/matplotlib-__users> >> <https://lists.sourceforge.**net/lists/listinfo/matplotlib-** >> users <https://lists.sourceforge.net/lists/listinfo/matplotlib-users>> >> >> >> >> >> -- >> >> >> ------------------------------**__----------------------------** >> --__-------------- >> >> *Sayan Chatterjee* >> >> Dept. of Physics and Meteorology >> IIT Kharagpur >> Lal Bahadur Shastry Hall of Residence >> Room AB 205 >> Mob: +91 9874513565 >> blog: www.blissprofound.blogspot.com >> <http://www.blissprofound.**blogspot.com<http://www.blissprofound.blogspot.com> >> > >> <http://www.blissprofound.__bl**ogspot.com <http://blogspot.com> >> >> <http://www.blissprofound.**blogspot.com<http://www.blissprofound.blogspot.com> >> >> >> >> Volunteer , Padakshep >> www.padakshep.org <http://www.padakshep.org> >> <http://www.padakshep.org> >> >> >> >> ------------------------------**__----------------------------** >> --__------------------ >> >> Own the Future-Intel® Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. >> Compete for recognition, cash, and the chance to get your game >> on Steam. $5K grand prize plus 10 genre and skill prizes. >> Submit your demo by 6/6/13. >> http://p.sf.net/sfu/intel___**levelupd2d<http://p.sf.net/sfu/intel___levelupd2d> >> <http://p.sf.net/sfu/intel_**levelupd2d<http://p.sf.net/sfu/intel_levelupd2d> >> > >> >> >> ______________________________**___________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.__sourc**eforge.net<http://sourceforge.net> >> <mailto:Matplotlib-users@**lists.sourceforge.net<Mat...@li...> >> > >> https://lists.sourceforge.net/**__lists/listinfo/matplotlib-__** >> users <https://lists.sourceforge.net/__lists/listinfo/matplotlib-__users> >> >> <https://lists.sourceforge.**net/lists/listinfo/matplotlib-** >> users <https://lists.sourceforge.net/lists/listinfo/matplotlib-users>> >> >> >> -- >> >> Steven Boada >> >> Doctoral Student >> Dept of Physics and Astronomy >> Texas A&M University >> bo...@ph... <mailto:bo...@ph...**> >> >> >> >> >> >> -- >> >> >> ------------------------------**------------------------------** >> -------------- >> *Sayan Chatterjee* >> Dept. of Physics and Meteorology >> IIT Kharagpur >> Lal Bahadur Shastry Hall of Residence >> Room AB 205 >> Mob: +91 9874513565 >> blog: www.blissprofound.blogspot.com >> <http://www.blissprofound.**blogspot.com<http://www.blissprofound.blogspot.com> >> > >> >> Volunteer , Padakshep >> www.padakshep.org <http://www.padakshep.org> >> > > -- > > Steven Boada > > Doctoral Student > Dept of Physics and Astronomy > Texas A&M University > bo...@ph... > -- -------------------------------------------------------------------------- *Sayan Chatterjee* Dept. of Physics and Meteorology IIT Kharagpur Lal Bahadur Shastry Hall of Residence Room AB 205 Mob: +91 9874513565 blog: www.blissprofound.blogspot.com Volunteer , Padakshep www.padakshep.org |
|
From: Florian L. <mai...@xg...> - 2013-03-31 14:59:04
|
Hello!
I try to use a background image in my plot:
import matplotlib.pyplot as plt
im = plt.imread("WTunnel.png")
plt.xlim([-3,4])
plt.ylim([-0.01,0.05])
plt.plot(some stuff)
plt.imshow(im, aspect="auto", extent=(-5, 4, -0.01, 0.05))
This works more or less.
As far as I understand the extent argument works as scaling factor. Is there a
way to move the background picture? I need to exactly set the x position since
the background image is associated with the x data from the plots.
The origin argument seems to be promising, but it accepts only
[None|‘upper’|‘lower’].
What is the best way to handle such a picture?
Background: The data is pressure measurements over x. The background image
shows the geometric features of the measured object. Exact x_0 and dx is
crucial, y values of the picture just need to look good ;-)
Thanks!
Florian
|
|
From: Juergen H. <py...@el...> - 2013-03-31 08:04:38
|
Am 31.03.2013 08:50, schrieb Pawel Chojnacki: > Thank you very much - hovewer, your solution isn't enough. Adding your lines generate: > The problem is this: > RuntimeError: LaTeX was not able to process the following string: > u'' > Here is the full report generated by LaTeX: > Latex doesn't like the empty string. This is caused by the '\n' in your title. Can you replace your original line: py.title(u'Wyniki eksperymentu pomiaru gęstości ciała stałego\n',size='large',family='serif') with the new one, as in the example I sent you: py.title(u'Wyniki eksperymentu pomiaru gęstości ciała stałego',size='large',family='serif') |
|
From: Pawel C. <cho...@li...> - 2013-03-31 06:50:55
|
Thank you very much - hovewer, your solution isn't enough. Adding your
lines generate:
['\\usepackage{amsmath}', '\\usepackage[T1]{fontenc}']
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
return self.func(*args)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py",
line 236, in resize
self.show()
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py",
line 239, in draw
FigureCanvasAgg.draw(self)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py",
line 421, in draw
self.figure.draw(self.renderer)
File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in
draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/figure.py", line 898, in
draw
func(*args)
File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in
draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 1997, in draw
a.draw(renderer)
File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in
draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 571, in draw
self._fontproperties, angle)
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py",
line 215, in draw_tex
Z = texmanager.get_grey(s, size, self.dpi)
File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 513,
in get_grey
pngfile = self.make_png(tex, fontsize, dpi)
File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 442,
in make_png
dvifile = self.make_dvi(tex, fontsize)
File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 371,
in make_dvi
string:\n%s\nHere is the full report generated by LaTeX: \n\n'%
repr(tex)) + report)
RuntimeError: LaTeX was not able to process the following string:
u''
Here is the full report generated by LaTeX:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
restricted \write18 enabled.
entering extended mode
(./2c666a8feb5dd27d92f3c286e7775fb6.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang,
nohyphenation, po
lish, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/type1cm/type1cm.sty)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucs.sty
(/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/ucs/utf8x.def))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
Package geometry Warning: Over-specification in `h'-direction.
`width' (5058.9pt) is ignored.
Package geometry Warning: Over-specification in `v'-direction.
`height' (5058.9pt) is ignored.
) (./2c666a8feb5dd27d92f3c286e7775fb6.aux)
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pnc.fd)
(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucsencs.def)
*geometry* driver: auto-detecting
*geometry* detected driver: dvips
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd)
(./2c666a8feb5dd27d92f3c286e7775fb6.aux) )
No pages of output.
Transcript written on 2c666a8feb5dd27d92f3c286e7775fb6.log.
And I still don't have slightest idea what's wrong with LaTeX in Matplotlib
:S
2013/3/31 Juergen Hasch <py...@el...>
> I tested it under Linux now, and I see your problem. The latex files don't
> compile cleanly, this is why you get the error. You can find the .tex files
> under ~./matplotlib/tex.cache
>
> It looks like you have a problem with the font encoding when using unicode
> characters.
> This works for me under Linux and Windows:
>
>
> import numpy as np
> import matplotlib as mpl
> mpl.rcParams['text.latex.**preamble'] = [r'\usepackage{amsmath}' ,
> r'\usepackage[T1]{fontenc}']
> mpl.rcParams['text.latex.**unicode'] = True
> mpl.rcParams['text.usetex'] = True
>
>
> import pylab as py
>
> py.axhspan(8400,8730,alpha=0.**15)
> py.title(u'Wyniki eksperymentu pomiaru gęstości ciała
> stałego',size='large',family='**serif')
> py.ylabel(r'$\text{lol}$',**size='large',family='serif')
> py.grid(True)
> py.show()
>
> Am 30.03.2013 22:15, schrieb Pawel Chojnacki:
>
>> 2013/3/30 Juergen Hasch <py...@el... <mailto:py...@el...>>
>>
>>
>> Am 30.03.2013 16:29, schrieb Pawel Chojnacki:
>> > Please pardon me, but what object is math.usetex attribute of? I
>> can't find it in the documentation.
>> >
>> > http://matplotlib.org/users/**usetex.html<http://matplotlib.org/users/usetex.html>Mentions only text.usetex.
>> >
>> >
>>
>> You need to set
>> mpl.rcParams['text.usetex'] = True
>>
>> For text you need unicode, for latex raw encoding.
>> To have text and latex in one line, use
>> xlabel(u'Häallo '+r'$\varphi$'+ 'r')
>>
>> Works for me, at least.
>>
>>
>> I've already tried that, and I got the response:
>>
>> ['', '\\usepackage{amsmath}']
>> Exception in Tkinter callback
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/lib-tk/**Tkinter.py", line 1437, in __call__
>> return self.func(*args)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**tkagg.py",
>> line 236, in resize
>> self.show()
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**tkagg.py",
>> line 239, in draw
>> FigureCanvasAgg.draw(self)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**agg.py",
>> line 421, in draw
>> self.figure.draw(self.**renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/artist.py", line 55,
>> in draw_wrapper
>> draw(artist, renderer, *args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/figure.py", line 898,
>> in draw
>> func(*args)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/artist.py", line 55,
>> in draw_wrapper
>> draw(artist, renderer, *args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/axes.py", line 1997,
>> in draw
>> a.draw(renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/artist.py", line 55,
>> in draw_wrapper
>> draw(artist, renderer, *args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/text.py", line 526,
>> in draw
>> bbox, info = self._get_layout(renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/text.py", line 309,
>> in _get_layout
>> ismath=ismath)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**agg.py",
>> line 188, in get_text_width_height_descent
>> renderer=self)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/texmanager.py", line
>> 606, in get_text_width_height_descent
>> dvifile = self.make_dvi(tex, fontsize)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/texmanager.py", line
>> 351, in make_dvi
>> texfile = self.make_tex(tex, fontsize)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/texmanager.py", line
>> 259, in make_tex
>> fh.write(s)
>> UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in
>> position 349: ordinal not in range(128)
>>
>> And after adding:
>> mpl.rcParams['text.latex.**preamble'].append(r'\**usepackage{amsmath},\**
>> usepackage[utf8]{inputenc}')
>> I got:
>>
>> ['', '\\usepackage{amsmath},\\**usepackage[utf8]{inputenc}']
>> Exception in Tkinter callback
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/lib-tk/**Tkinter.py", line 1437, in __call__
>> return self.func(*args)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**tkagg.py",
>> line 236, in resize
>> self.show()
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**tkagg.py",
>> line 239, in draw
>> FigureCanvasAgg.draw(self)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**agg.py",
>> line 421, in draw
>> self.figure.draw(self.**renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/artist.py", line 55,
>> in draw_wrapper
>> draw(artist, renderer, *args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/figure.py", line 898,
>> in draw
>> func(*args)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/artist.py", line 55,
>> in draw_wrapper
>> draw(artist, renderer, *args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/axes.py", line 1997,
>> in draw
>> a.draw(renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/artist.py", line 55,
>> in draw_wrapper
>> draw(artist, renderer, *args, **kwargs)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/axis.py", line 1042,
>> in draw
>> ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_**to_draw,
>> renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/axis.py", line 993,
>> in _get_tick_bboxes
>> extent = tick.label1.get_window_extent(**renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/text.py", line 747,
>> in get_window_extent
>> bbox, info = self._get_layout(self._**renderer)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/text.py", line 309,
>> in _get_layout
>> ismath=ismath)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/backends/backend_**agg.py",
>> line 188, in get_text_width_height_descent
>> renderer=self)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/texmanager.py", line
>> 606, in get_text_width_height_descent
>> dvifile = self.make_dvi(tex, fontsize)
>> File "/usr/lib/pymodules/python2.7/**matplotlib/texmanager.py", line
>> 371, in make_dvi
>> string:\n%s\nHere is the full report generated by LaTeX: \n\n'%
>> repr(tex)) + report)
>> RuntimeError: LaTeX was not able to process the following string:
>> '$0.2$'
>> Here is the full report generated by LaTeX:
>>
>> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
>> restricted \write18 enabled.
>> entering extended mode
>> (./**d9d8962c45871ca6b62e5d3dffbe49**ab.tex
>> LaTeX2e <2011/06/27>
>> Babel <v3.8m> and hyphenation patterns for english, dumylang,
>> nohyphenation, po
>> lish, loaded.
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/article.**cls
>> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/size10.**clo))
>> (/usr/share/texlive/texmf-**dist/tex/latex/type1cm/**type1cm.sty)
>> (/usr/share/texlive/texmf-**dist/tex/latex/psnfss/helvet.**sty
>> (/usr/share/texlive/texmf-**dist/tex/latex/graphics/**keyval.sty))
>> (/usr/share/texlive/texmf-**dist/tex/latex/psnfss/courier.**sty)
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/textcomp.**sty
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/ts1enc.**def))
>> (/usr/share/texlive/texmf-**dist/tex/latex/amsmath/**amsmath.sty
>> For additional information on amsmath, use the `?' option.
>> (/usr/share/texlive/texmf-**dist/tex/latex/amsmath/**amstext.sty
>> (/usr/share/texlive/texmf-**dist/tex/latex/amsmath/amsgen.**sty))
>> (/usr/share/texlive/texmf-**dist/tex/latex/amsmath/amsbsy.**sty)
>> (/usr/share/texlive/texmf-**dist/tex/latex/amsmath/amsopn.**sty))
>>
>> ! LaTeX Error: Missing \begin{document}.
>>
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type H <return> for immediate help.
>> ...
>>
>> l.9 \usepackage{amsmath},
>> \usepackage[utf8]{inputenc}
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/inputenc.**sty
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/utf8.def
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/t1enc.dfu)
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/ot1enc.**dfu)
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/omsenc.**dfu)
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/ts1enc.**dfu)))
>> (/usr/share/texlive/texmf-**dist/tex/latex/geometry/**geometry.sty
>> (/usr/share/texlive/texmf-**dist/tex/generic/oberdiek/**ifpdf.sty)
>> (/usr/share/texlive/texmf-**dist/tex/generic/oberdiek/**ifvtex.sty)
>> (/usr/share/texlive/texmf-**dist/tex/generic/ifxetex/**ifxetex.sty)
>>
>> Package geometry Warning: Over-specification in `h'-direction.
>> `width' (5058.9pt) is ignored.
>>
>>
>> Package geometry Warning: Over-specification in `v'-direction.
>> `height' (5058.9pt) is ignored.
>>
>> )
>> No file d9d8962c45871ca6b62e5d3dffbe49**ab.aux.
>> (/usr/share/texlive/texmf-**dist/tex/latex/base/ts1cmr.fd)
>> (/usr/share/texlive/texmf-**dist/tex/latex/psnfss/ot1pnc.**fd)
>> *geometry* driver: auto-detecting
>> *geometry* detected driver: dvips
>> (/usr/share/texlive/texmf-**dist/tex/latex/psnfss/ot1phv.**fd) [1]
>> (./**d9d8962c45871ca6b62e5d3dffbe49**ab.aux) )
>> (see the transcript file for additional information)
>> Output written on d9d8962c45871ca6b62e5d3dffbe49**ab.dvi (1 page, 340
>> bytes).
>> Transcript written on d9d8962c45871ca6b62e5d3dffbe49**ab.log.
>>
>> And I really don't get what's happening :S
>>
>
>
|
|
From: Juergen H. <py...@el...> - 2013-03-30 23:49:09
|
I tested it under Linux now, and I see your problem. The latex files don't compile cleanly, this is why you get the
error. You can find the .tex files under ~./matplotlib/tex.cache
It looks like you have a problem with the font encoding when using unicode characters.
This works for me under Linux and Windows:
import numpy as np
import matplotlib as mpl
mpl.rcParams['text.latex.preamble'] = [r'\usepackage{amsmath}' , r'\usepackage[T1]{fontenc}']
mpl.rcParams['text.latex.unicode'] = True
mpl.rcParams['text.usetex'] = True
import pylab as py
py.axhspan(8400,8730,alpha=0.15)
py.title(u'Wyniki eksperymentu pomiaru gęstości ciała stałego',size='large',family='serif')
py.ylabel(r'$\text{lol}$',size='large',family='serif')
py.grid(True)
py.show()
Am 30.03.2013 22:15, schrieb Pawel Chojnacki:
> 2013/3/30 Juergen Hasch <py...@el... <mailto:py...@el...>>
>
> Am 30.03.2013 16:29, schrieb Pawel Chojnacki:
> > Please pardon me, but what object is math.usetex attribute of? I can't find it in the documentation.
> >
> > http://matplotlib.org/users/usetex.html Mentions only text.usetex.
> >
> >
>
> You need to set
> mpl.rcParams['text.usetex'] = True
>
> For text you need unicode, for latex raw encoding.
> To have text and latex in one line, use
> xlabel(u'Häallo '+r'$\varphi$'+ 'r')
>
> Works for me, at least.
>
>
> I've already tried that, and I got the response:
>
> ['', '\\usepackage{amsmath}']
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
> return self.func(*args)
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 236, in resize
> self.show()
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 239, in draw
> FigureCanvasAgg.draw(self)
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 421, in draw
> self.figure.draw(self.renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/matplotlib/figure.py", line 898, in draw
> func(*args)
> File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 1997, in draw
> a.draw(renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 526, in draw
> bbox, info = self._get_layout(renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 309, in _get_layout
> ismath=ismath)
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 188, in get_text_width_height_descent
> renderer=self)
> File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 606, in get_text_width_height_descent
> dvifile = self.make_dvi(tex, fontsize)
> File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 351, in make_dvi
> texfile = self.make_tex(tex, fontsize)
> File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 259, in make_tex
> fh.write(s)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 349: ordinal not in range(128)
>
> And after adding:
> mpl.rcParams['text.latex.preamble'].append(r'\usepackage{amsmath},\usepackage[utf8]{inputenc}')
> I got:
>
> ['', '\\usepackage{amsmath},\\usepackage[utf8]{inputenc}']
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
> return self.func(*args)
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 236, in resize
> self.show()
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 239, in draw
> FigureCanvasAgg.draw(self)
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 421, in draw
> self.figure.draw(self.renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/matplotlib/figure.py", line 898, in draw
> func(*args)
> File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 1997, in draw
> a.draw(renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/matplotlib/axis.py", line 1042, in draw
> ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw, renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/axis.py", line 993, in _get_tick_bboxes
> extent = tick.label1.get_window_extent(renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 747, in get_window_extent
> bbox, info = self._get_layout(self._renderer)
> File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 309, in _get_layout
> ismath=ismath)
> File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 188, in get_text_width_height_descent
> renderer=self)
> File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 606, in get_text_width_height_descent
> dvifile = self.make_dvi(tex, fontsize)
> File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 371, in make_dvi
> string:\n%s\nHere is the full report generated by LaTeX: \n\n'% repr(tex)) + report)
> RuntimeError: LaTeX was not able to process the following string:
> '$0.2$'
> Here is the full report generated by LaTeX:
>
> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
> restricted \write18 enabled.
> entering extended mode
> (./d9d8962c45871ca6b62e5d3dffbe49ab.tex
> LaTeX2e <2011/06/27>
> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, po
> lish, loaded.
> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
> (/usr/share/texlive/texmf-dist/tex/latex/type1cm/type1cm.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def))
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
> For additional information on amsmath, use the `?' option.
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
>
> ! LaTeX Error: Missing \begin{document}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.9 \usepackage{amsmath},
> \usepackage[utf8]{inputenc}
> (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
> (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
> (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
> (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
> (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)
> (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu)))
> (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
>
> Package geometry Warning: Over-specification in `h'-direction.
> `width' (5058.9pt) is ignored.
>
>
> Package geometry Warning: Over-specification in `v'-direction.
> `height' (5058.9pt) is ignored.
>
> )
> No file d9d8962c45871ca6b62e5d3dffbe49ab.aux.
> (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1pnc.fd)
> *geometry* driver: auto-detecting
> *geometry* detected driver: dvips
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1phv.fd) [1]
> (./d9d8962c45871ca6b62e5d3dffbe49ab.aux) )
> (see the transcript file for additional information)
> Output written on d9d8962c45871ca6b62e5d3dffbe49ab.dvi (1 page, 340 bytes).
> Transcript written on d9d8962c45871ca6b62e5d3dffbe49ab.log.
>
> And I really don't get what's happening :S
|
|
From: Pawel C. <cho...@li...> - 2013-03-30 21:15:54
|
2013/3/30 Juergen Hasch <py...@el...> > Am 30.03.2013 16:29, schrieb Pawel Chojnacki: > > Please pardon me, but what object is math.usetex attribute of? I can't > find it in the documentation. > > > > http://matplotlib.org/users/usetex.html Mentions only text.usetex. > > > > > > You need to set > mpl.rcParams['text.usetex'] = True > > For text you need unicode, for latex raw encoding. > To have text and latex in one line, use > xlabel(u'Häallo '+r'$\varphi$'+ 'r') > > Works for me, at least. > I've already tried that, and I got the response: ['', '\\usepackage{amsmath}'] Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__ return self.func(*args) File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 236, in resize self.show() File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 239, in draw FigureCanvasAgg.draw(self) File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 421, in draw self.figure.draw(self.renderer) File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/figure.py", line 898, in draw func(*args) File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 1997, in draw a.draw(renderer) File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 526, in draw bbox, info = self._get_layout(renderer) File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 309, in _get_layout ismath=ismath) File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 188, in get_text_width_height_descent renderer=self) File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 606, in get_text_width_height_descent dvifile = self.make_dvi(tex, fontsize) File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 351, in make_dvi texfile = self.make_tex(tex, fontsize) File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 259, in make_tex fh.write(s) UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 349: ordinal not in range(128) And after adding: mpl.rcParams['text.latex.preamble'].append(r'\usepackage{amsmath},\usepackage[utf8]{inputenc}') I got: ['', '\\usepackage{amsmath},\\usepackage[utf8]{inputenc}'] Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__ return self.func(*args) File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 236, in resize self.show() File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 239, in draw FigureCanvasAgg.draw(self) File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 421, in draw self.figure.draw(self.renderer) File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/figure.py", line 898, in draw func(*args) File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 1997, in draw a.draw(renderer) File "/usr/lib/pymodules/python2.7/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/axis.py", line 1042, in draw ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw, renderer) File "/usr/lib/pymodules/python2.7/matplotlib/axis.py", line 993, in _get_tick_bboxes extent = tick.label1.get_window_extent(renderer) File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 747, in get_window_extent bbox, info = self._get_layout(self._renderer) File "/usr/lib/pymodules/python2.7/matplotlib/text.py", line 309, in _get_layout ismath=ismath) File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py", line 188, in get_text_width_height_descent renderer=self) File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 606, in get_text_width_height_descent dvifile = self.make_dvi(tex, fontsize) File "/usr/lib/pymodules/python2.7/matplotlib/texmanager.py", line 371, in make_dvi string:\n%s\nHere is the full report generated by LaTeX: \n\n'% repr(tex)) + report) RuntimeError: LaTeX was not able to process the following string: '$0.2$' Here is the full report generated by LaTeX: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) restricted \write18 enabled. entering extended mode (./d9d8962c45871ca6b62e5d3dffbe49ab.tex LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, po lish, loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/type1cm/type1cm.sty) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.9 \usepackage{amsmath}, \usepackage[utf8]{inputenc} (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu) (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu) (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu) (/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu))) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty) (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty) Package geometry Warning: Over-specification in `h'-direction. `width' (5058.9pt) is ignored. Package geometry Warning: Over-specification in `v'-direction. `height' (5058.9pt) is ignored. ) No file d9d8962c45871ca6b62e5d3dffbe49ab.aux. (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1pnc.fd) *geometry* driver: auto-detecting *geometry* detected driver: dvips (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1phv.fd) [1] (./d9d8962c45871ca6b62e5d3dffbe49ab.aux) ) (see the transcript file for additional information) Output written on d9d8962c45871ca6b62e5d3dffbe49ab.dvi (1 page, 340 bytes). Transcript written on d9d8962c45871ca6b62e5d3dffbe49ab.log. And I really don't get what's happening :S |