?PNG  IHDR ? f ??C1 sRGB ?? gAMA ? a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
8tJc*@ sdZddklZddkZddkZddkZddkZddkZddkZdZ yddk l Z Wn#e j oddk l Z nXddk lZddklZddklZlZlZdd klZdd klZdd klZlZlZlZdd klZl Z l!Z!l"Z"dd k#l$Z$ddk%l&Z&ddk'l(Z(l)Z)ddk*l+Z+l,Z,l-Z-ddk.l/Z/ddk0l1Z1ddk2l3Z3ddk4l5Z5ddk6l7Z7ddk8l9Z9ddk:l;Z;ddk<Z=ddk>Z>ddk?Z?ye@Wn#eAj oddkBlCZ@nXeiDiEdo dZFndZFdZGdZHhddfd 6dd!fd"6dd#fd$6d%d&fd'6d(d%fd)6d*d(fd+6d,d*fd-6d.d,fd/6d0d.fd16d2d0fd36d4d2fd56d6d4fd76d8d9fd:6d;d8fd<6d=d>fd?6d@d=fdA6dBd@fdC6dDdBfdE6dFdDfdG6dHdFfdI6dJdHfdK6dLdJfdM6dNdLfdO6dPdNfdQ6dRdPfdS6ZIdTZJdUZKdVZLdWZMdXZNdYefdZYZOd[efd\YZPd]ZQd^efd_YZRd`ZSeTd eUdaZVeTd eUdbZWdcZXddZYdeefdfYZZeZZ[dgdhdidjdkdldmgZ\dS(nsF A PostScript backend, which can produce both PostScript .ps and .eps i(tdivisionNcC stidiiS(Ni(tsyst _getframetf_codetco_name(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt_fn_names(tmd5(tmkstemp(tStringIO(tverboset __version__trcParams(tGcf(tAFM(t RendererBasetGraphicsContextBasetFigureManagerBasetFigureCanvasBase(tis_string_liketget_realpath_and_stattis_writable_file_liketmaxdict(t quad2cubic(tFigure(tfindfonttis_opentype_cff_font(tFT2FonttKERNING_DEFAULTtLOAD_NO_HINTING(tconvert_ttf_to_ps(tMathTextParser(t uni2type1(tText(tPath(tAffine2D(tMixedModeRenderer(tSettwint&t;sLevel IIig!@i tletteritlegalitledgergGz@@gHzgG@ta0gp= c7@ta1g ףp=0@ta2gzGa'@ta3g ףp= @ta4gRQ@ta5gQ@ta6gHzG@ta7g(\@ta8gZd;O?gffffff@ta9gRQ?ta10gfffffFD@g)\L@tb0g)\<@tb1gQE4@tb2g)\,@tb3gQ8$@tb4gp= ף@tb5g)\(@tb6gp= ף @tb7gGz@tb8g)\(?tb9g)\(?tb10cC sti}|i|ixX|D]L}|idoq'nt|\}}||jo||jo|Sq'WdSdS(NtlR+(t papersizetkeystsorttreverset startswith(twthRCtkeytpwtph((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt_get_papertypePs    cC sbt|o|St|}||jo t|Sd|}|id}|id}|S(Ns%1.3ft0t.(Rtinttstrtrstrip(tvaltivalts((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt _num_to_str[s    cG sditt|S(Nt (tjointmapRU(targs((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt _nums_to_strfscC sv|idd}|idd}|idd}|idd}|id d }tid d |}|S( sHQuote dangerous characters of S for use in a PostScript string constant.s\s\\t(s\(t)s\)t's\251t`s\301s[^ -~\n]cS sdt|iS(s\%03o(tordtgroup(tx((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytps(treplacetretsub(RT((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytquote_ps_stringiscC sa|djo |djS|djotSt|t|jotStiti||S(s seq1 and seq2 are either None or sequences or arrays Return True if both are None or both are seqs with identical elements N(tNonetFalsetlentnpytalltruetequal(tseq1tseq2((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt seq_allequalts   t RendererPScB seZdZedZedZddZdZdZddZ ddZ dd Z dd Z dd Z dd Zd ZdZdZdZdZdZdZdZddddZddZdZd)d)dZedZdZd)dZd)d Z d!Z!d"d#Z"d$Z#d%Z$d&Z%d'Z&e'e'd)d(Z(RS(*s The renderer handles all the drawing primitives using a graphics context instance that controls the colors/styles. i2iHcC sti|||_||_||_tdod|_g|_n||_d|_ d|_ d|_ d|_ d|_d|_d|_h|_|d|_h|_d|_h|_td|_dS(s Although postscript itself is dpi independent, we need to imform the image code about a requested dpi to generate high res images and them scale them before embeddin them s text.usetexigR@tPSN(Rt__init__twidththeightt _pswriterR ttextcnttpsfragtimagedpiRgtcolort linewidthtlinejointlinecaptlinedashtfontnametfontsizet_hatchestimage_magnificationt _clip_pathst_path_collection_idtused_charactersRtmathtext_parser(tselfRsRttpswriterRx((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRrs*                    cC sit|i\}}|ii||tf}|dig}|D]}|t|qH~dS(sDKeeps track of which characters are required from each font.iN(RtfnameRt setdefaulttsettupdateR_(RtfontRTtrealpathtstat_keyRt_[1]Ra((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyttrack_characterss cC sVxO|iD]A\}\}}|ii||tf}|di|q WdS(Ni(titemsRRRR(RtotherRRtcharsetR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytmerge_used_characterss   icC s|||f|ijop||jo%||jo|iid|n|iid|||f|o|||f|_qndS(Ns%1.3f setgray s%1.3f %1.3f %1.3f setrgbcolor (RyRutwrite(Rtrtgtbtstore((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt set_colors cC s@||ijo,|iid||o ||_q<ndS(Ns%1.3f setlinewidth (RzRuR(RRzR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt set_linewidthscC s@||ijo,|iid||o ||_q<ndS(Ns%d setlinejoin (R{RuR(RR{R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt set_linejoinscC s@||ijo,|iid||o ||_q<ndS(Ns%d setlinecap (R|RuR(RR|R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt set_linecapscC s|idj o(|i\}}t||odSn|dj o7t|o*dt||f}|ii|n|iid|o||f|_ndS(Ns[%s] %d setdash s [] 0 setdash (R}RgRoRiRZRuR(RtoffsettseqRtoldotoldseqRT((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt set_linedashs cC stdodS||f|i|ifjoLd||f}|ii||o ||_n|o ||_q{ndS(Ns ps.useafms%/%s findfont %1.3f scalefont setfont (R R~RRuR(RR~RRtout((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytset_fonts   cC sd}|ii|o |i|Sdt|i}|iidt|ii|iti|t i d|iidt||i|<|S(NiHsH%ds << /PatternType 1 /PaintType 2 /TilingType 2 /BBox[0 0 %(sidelen)d %(sidelen)d] /XStep %(sidelen)d /YStep %(sidelen)d /PaintProc { pop 0 setlinewidth gR@sR stroke } bind >> matrix makepattern /%(name)s exch def ( Rthas_keyRiRuRtlocalst _convert_pathR!thatchR"tscale(RRtsidelentname((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt create_hatchs   (  cC s|i|ifS(s4return the canvas width and height in display coords(RsRt(R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytget_canvas_width_heightscC stdoG|i}|i}|i||d|\}}}|||fS|o5|ii|d|\} } } } } | | | fStdo|o|dd!}n|i|}|i|\}}}}}|i}d|}||9}||9}||9}|||fS|i|}|i |dd t |i \}}|d }|d }|i }|d }|||fS( sm get the width and height in display coords of the string s with FontPropertry prop s text.usetextrendereriHs ps.useafmiigMbP?gtflagsgP@( R tget_texmanagertget_size_in_pointstget_text_width_height_descentRtparset _get_font_afmtget_str_bbox_and_descentt _get_font_ttftset_textRtget_width_heightt get_descent(RRTtproptismatht texmanagerRRGRHtdRsRttdescentRRRRARR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyR s8   '          cC stS(s3return true if small y numbers are top for renderer(Rh(R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytflipy3scC st|}|ii|}|djoqt|dd}|ii|}|djo/ttt|dd}||i|R:R~trotatetsetcolorRR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt draw_text9sT            cC stS(N(tGraphicsContextPS(R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytnew_gcsc C stdoi|i|i|i|}|i}|i} d| } d} |i|d| } d} g}x|D]}ti t |d}y|i |}Wn(t j od}|i d}nX| dj o|i| |}nd}|} | || 7} |id| | |f| || 7} qWdi|}d t}|ii|n|i|}|i|dd t|i|||i|i|i|id|i|i}d}g}d} |id } x|D]}t |}|i |}|djot d}d}d}n|i|}|i|d t}|dj o|i||t}nd}|}| |d 7} |id| | |f| |i d7} qWdi|}dt}|ii|dS(sldraw a unicode string. ps doesn't have unicode support, so we have to do this the hard way s ps.useafmgMbP?iitquestiont?s%f %f m /%s glyphshows s|gsave /%(fontname)s findfont %(fontsize)s scalefont setfont %(x)f %(y)f translate %(angle)f rotate %(thetext)s grestore RiigP@s.notdefg@sBgsave %(x)f %(y)f translate %(angle)f rotate %(thetext)s grestore N(iiii(!R RR7RRFRRRgRRR_tget_width_from_char_nametKeyErrortget_width_chartget_kern_dist_from_nameRRWRRuRRRRRRRGt get_charmapRtget_glyph_namet load_chart get_kerningRtlinearHoriAdvance(RRRaRRTRR8RR~RRtthisxtthisyt last_nameRtcRRstkernR:Rtcmaptlastgindtccodetgindtglyph((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRDst              cC sto|iidn|ii|d|\}}} } } |i| |i|i| i} dt } |ii| dS(s> Draw the math text using matplotlib.mathtext s % mathtext iHsBgsave %(x)f %(y)f translate %(angle)f rotate %(thetext)s grestore N( RRuRRRRRR7tgetvalueR(RRRaRRTRR8RsRtRRRR:R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRAs'   cC s|ii}to|o|d|dn|idjo-t|idjp|iddj}|o|}|o.|dj o!t|djp|ddj}|os|i|i|i} |i | |i } |i | |i |i |i|id n|d|i} | o3| i\} } }}|d||| | fn|i\}}|o$|i||}|d|n||i|d|oO|o|dn|idd |d |d |o|d q-n|i}|oC|i|}|d|d |id |d |n|o|dn|d dS(sv Emit the PostScript sniplet 'ps' with all the attributes from 'gc' applied. 'ps' must consist of PostScript commands to construct a path. The fill and/or stroke kwargs can be set to False if the 'ps' string already includes filling and/or stroking, in which case _draw_ps is just supplying properties and clipping. s% s gisgsave s %1.4g %1.4g %1.4g %1.4g clipbox s%s Risfill s grestore s/[/Pattern [/DeviceRGB]] setcolorspace %f %f %f s%s setcolor fill grestore sstroke N(RuRRt get_linewidthRiR7RgRt get_joinstyleRt get_capstyleRRt get_dashesRtget_clip_rectangleRt get_clip_pathRtstript get_hatchR(RRRRRRtcommandRt mightstroketjinttcintR&RaRRGRHRRRRt hatch_name((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRsV / #          N()t__name__t __module__t__doc__RRRRrRRRRRRRRRRRRRRRRRRRRgRRhRRRR!R5R?RJRLRDRAtTrueR(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRpsF            (     5   !  # H  \ RKcB seZdZdZRS(cC s&hdd6dd6dd6ti|S(Nitbuttitroundit projecting(RRe(R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRe7s cC s&hdd6dd6dd6ti|S(NitmiteriRuitbevel(RRd(R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRd<s (RpRqReRd(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRK6s cO s@|idt}|||}t|}t||}|S(Nt FigureClass(tpopRtFigureCanvasPStFigureManagerPS(tnumRYtkwargsRytthisFigtcanvastmanager((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytnew_figure_managerBs  R{cB smeZdZhdd6dd6ZdZdZdZdZd d d d edd Z d Z RS(cC sdS(N((R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytdrawJst PostscriptRsEncapsulated PostscripttepscC sdS(NR((R((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytget_default_filetypePscO s|i|d||S(NR(t _print_ps(RtoutfileRYR~((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytprint_psSscO s|i|d||S(NR(R(RRRYR~((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyt print_epsVsc O s^|idtd}|i}|djon7|tjo)td|ditifn|iddi}|djo t}n$|djo t}n td |i i d |id d }|id d } |idd } tdo)|i |||| | ||||n&|i |||| | ||||dS(Nt papertypes ps.papersizetautos>%s is not a valid papertype. Use one of %ss, t orientationtportraitt landscapes-Orientation must be "portrait" or "landscape"iHtdpit facecolorRGt edgecolors text.usetex( RzR tlowerRBt RuntimeErrorRWRCRsRhtfiguretset_dpit_print_figure_text _print_figure( RRtformatRYR~RRt isLandscapeRxRR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyR^s0   &       iHRGRc 1 K s|dj} t} t\} } t|o |}n*t|od}t} n tdti| t | d}|i i \}}|djo-|ot ||}qt ||}n|ot |\}}nt |\}}tdoy|dj ok||jp ||joM|o#t ||}t |\}}qwt ||}t |\}}q{nd.||}d/||}|i ii\}}}}|}|}||}||}d}|o=||||f\}}}}d|||}}d }n||||f}|i i} |i i}!|i i||i i|| id t}"|"o&d tfd Y}#|#|_n t|_| id d}$t|||id|}%t|i ||||%d |$}&|i i|&|"odS|i i| |i i|!| o|dIJn |dIJ|o|d|IJn|dtdIJ|dtitiIJ|d|IJ| p|d|IJn|d|IJ| p|dIJn|dIJt t!}'|dIJtdp|'t |%i"7}'n|d|'IJ|dIJxDt!D]<}(|(i#}(x'|(i$dD]}||i#IJquWqSWtdpx|%i"i%D]\})}*t |*ot&|)}+|+i'},g}-x1|*D])}.|,i|.pd}/|-i(|/qWt)|)ot*d q[td!}0t+|)|td!|-qqWn|d"IJ|d#IJ| p|d$IJn|dIJ|d%t,||IJ|o|d&|IJn|d't,|d|dddIJ||ii-IJ|d"IJ|d(IJ| p|d)IJn|itdd*jot.| | d+|d,|n/tdd-jot/| | d+|d,|n| o t | }||i0IJnt1i2| |dS(0s) Render the figure to hardcopy. Set the figure patch face and edge colors. This is useful because some of the GUIs have a gray figure face color background and you'll probably want to override this on hardcopy If outfile is a string, it is interpreted as a file name. If the extension matches .ep* write encapsulated postscript, otherwise write a stand-alone PostScript file. If outfile is a file object, a stand-alone PostScript file is written into this file object. Rs,outfile must be a path or a file-like objectRGRsps.usedistilleriHg?iiZtdryrunt NullWritercB seZdZRS(c_ sdS(N((RtklR~((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRs(RpRqR(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRstbbox_inches_restoreRxNs%!PS-Adobe-3.0 EPSF-3.0s%!PS-Adobe-3.0s %%Title: s%%Creator: matplotlib version s$, http://matplotlib.sourceforge.net/s%%CreationDate: s%%Orientation: s%%DocumentPaperSizes: s%%%%BoundingBox: %d %d %d %ds %%Pages: 1s %%EndCommentss %%BeginPrologs ps.useafms/mpldict %d dict defs mpldict begins syOpenType CFF fonts can not be saved using the internal Postscript backend at this time. Consider using the Cairo backend.s ps.fonttypetends %%EndPrologs %%Page: 1 1s %s translates %d rotates %s clipboxtshowpages%%EOFt ghostscripttptypeRtxpdfgB@gB@(3RhRRRRgRst ValueErrortostcloseRRtget_size_inchesRLRBR RRt get_facecolort get_edgecolort set_facecolort set_edgecolorRtobjectRuRRzRpR#RR ttimetctimeRitpsDefsRRitsplittvaluesRRSRRRRRZRbt gs_distillt xpdf_distilltreadtshutiltmove(1RRRRRRRRRR~tisEPSFtpassed_in_file_objecttfdttmpfilettitletfhRsRtt paperHeightt paperWidthR2R3RARRGRHtllxtllyturxturytrotationRt origfacecolort origedgecolorRRt_bbox_inches_restoret ps_rendererRtNdictRt font_filenametcharsRR]t glyph_idsR[R`tfonttype((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRzs                            #   %    c + K sG|dj} |} t\} } ti| t| d}d|i_|ii\}}d}d}|iii\}}}}|}|}||}||}||||f}|ii }|ii }|ii ||ii || i dt}|o&dtfdY}||_n t|_| idd } t|||id |}!t|i||||!d| }"|ii|"|od S|ii ||ii ||d IJ| o|d | IJn|d tdIJ|dtitiIJ|d|IJ|dIJtt}#|dIJ|d|#IJ|dIJxDtD]<}$|$i}$x'|$idD]}||iIJqWqiW|dIJ|dIJ|dIJ|dt||IJ|dt|d|dddIJ||iiIJ|dIJ|dIJ|i|o)t }||}}||||f}n| o1|ii\}%}&|o|&|%}%}&q1nt!||}'|djo|'}t"|'\}%}&n`t"|\}%}&||%jp ||&jo5| o.t"|'\}%}&t#i$d||'fdn|!i%}(|(i&})|(i'}*t(| |!i)|)|*|%|&|t*ddjot+| | d |d!|nbt*dd"jot,| | d |d!|n4t*d#o(toqt+| | d |d!|nt-|to t| }||i.IJnt/i0| |d S($s If text.usetex is True in rc, a temporary pair of tex/eps files are created to allow tex to manage the text layout via the PSFrags package. These files are processed to yield the final ps or eps file. RRGiHiRRcB seZdZRS(c_ sdS(N((RRR~((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRIs(RpRqR(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRHsRRxNs%!PS-Adobe-3.0 EPSF-3.0s %%Title: s%%Creator: matplotlib version s$, http://matplotlib.sourceforge.net/s%%CreationDate: s%%%%BoundingBox: %d %d %d %ds %%EndCommentss %%BeginPrologs/mpldict %d dict defs mpldict begins Rs %%EndPrologs %s translates %s clipboxRRsYYour figure is too big to fit on %s paper. %s paper will be used to prevent clipping.thelpfulsps.usedistillerRRRRs text.usetex(1RRRRRRRRRRRRRRRhRRuRRzRgRpR#RR RRRiRRiRRZRbRsRLRBR treportRtget_font_preambletget_custom_preambletconvert_psfragsRwR RRRBRRR(+RRRRRRRRRR~RRRRRRsRtR2R3RARRGRHRRRRRRRRRRRRRRRRttemp_papertypeRt font_preambletcustom_preamble((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyR$s                 %     !      N( RpRqRt filetypesRRRRRhRgRR(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyR{Is        c C stii|d}|d}ti|||d} |d} t| d} |d} |d} |djo d }nd}td o d }nd }d |||||||di||tii|df }td o| i|i dn=y| i|Wn(t j o}t i ddnX| i tidjodtii|d}nd }d||| | f}t i |dti|}t| }|otd|int i |id|i ti| d||tii| dtii| d| f}t i |dti|}t| }|otd| |int i |id|i ti| ti|ti| |tp/x,ti|dD]}ti|qWndS(sj When we want to use the LaTeX backend with postscript, we write PSFrag tags to a temporary postscript file, each one marking a position for LaTeX to render some text. convert_psfrags generates a LaTeX document containing the commands to convert those tags to text. LaTeX/dvips produces the postscript file that includes the actual text. is.epss.texs.outputRGs.dvis.psRiZstext.latex.unicodes-\usepackage{ucs} \usepackage[utf8x]{inputenc}tsE\documentclass{article} %s %s %s \usepackage[dvips, papersize={%sin,%sin}, body={%sin,%sin}, margin={0in,0in}]{geometry} \usepackage{psfrag} \usepackage[dvips]{graphicx} \usepackage{color} \pagestyle{empty} \begin{document} \begin{figure} \centering \leavevmode %s \includegraphics*[angle=%s]{%s} \end{figure} \end{document} s itutf8sbYou are using unicode and latex, but have not enabled the matplotlib 'text.latex.unicode' rcParam.Rtwin32s%s &&s8%s cd "%s" && latex -interaction=nonstopmode "%s" > "%s"tdebugsYLaTeX was not able to process your file: Here is the full report generated by LaTeX: %ss.%s cd "%s" && dvips -q -R0 -o "%s" "%s" > "%s"scdvips was not able to process the following file: %s Here is the full report generated by dvips: s.*N(RR RRRRR RWRtencodetUnicodeEncodeErrorR RRRtplatformt splitdrivetsystemRRtremoveRtglob(RtpsfragsRRRRRttmpdirtepsfilet latexfileRtlatexhtdvifiletpsfileR8tunicode_preambleRTterrtprecmdRkt exit_statusRR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRsr         )       0    c C sd|}|d}|d}td}tidjo d}nd}d||||||f} ti| d ti| } t|} | otd | i nti| i d | i ti |ti |t i ||d S( s Use ghostscript's pswrite or epswrite device to distill a file. This yields smaller files without illegal encapsulated postscript operators. The output is low-level, converting text to outlines. s-sPAPERSIZE=%ss.pss.outputsps.distiller.resRtgswin32ctgss[%s -dBATCH -dNOPAUSE -r%d -sDEVICE=pswrite %s -sOutputFile="%s" "%s" > "%s"Rscghostscript was not able to process your image. Here is the full report generated by ghostscript: N(R RRR RRRRRRRRRR( RRRRtpaperRRRtgs_exeRkRR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRs&         c C s|d}|d}|d}d||||f}tidjo|idd}nti|dti|}t|} |otd | i nti| i d| i ti |d |||f}ti|dti|}t|} |otd | i nti| i d| i ti |ti |t i |||ot||nx(ti|d D]} ti | qWd S(s  Use ghostscript's ps2pdf and xpdf's/poppler's pdftops to distill a file. This yields smaller files without illegal encapsulated postscript operators. This distiller is preferred, generating high-level postscript output that treats text as text. s.pdfs.pss.outputscps2pdf -dAutoFilterColorImages=false -sColorImageFilter=FlateEncode -sPAPERSIZE=%s "%s" "%s" > "%s"Rt=t#RsZps2pdf was not able to process your image. \Here is the report generated by ghostscript: s-pdftops -paper match -level2 "%s" "%s" > "%s"s\pdftops was not able to process your image. Here is the full report generated by pdftops: s.*N(RRRcR RRRRRRRRRRtpstoepsR( RRRRtpdffileRRRkRRR((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyR1sD          c C s|d}tidjo d}nd}d||f}ti|dti|\}}}ti|id|i}ti|dtid |} | o| i }nt d |g} |i d D]} | t | q~ \} } }}|djo2| d | d |d |d f\} } }}nw| |d }| |d }|d |dd }|d|d d }||||||||f\} } }}d| | ti|ti|f}d| | ||f}di||gS(s Use ghostscript's bbox device to find the center of the bounding box. Return an appropriately sized bbox centered around that point. A bit of a hack. s.outputRRRs'%s -dBATCH -dNOPAUSE -sDEVICE=bbox "%s"Rsdebug-annoyingRs%%HiResBoundingBox: .*sVGhostscript was not able to extract a bounding box.Here is the Ghostscript output: %siiiiis%%%%BoundingBox: %d %d %d %ds)%%%%HiResBoundingBox: %.6f %.6f %.6f %.6fs N(RRR RRtpopen3RRdtsearchR`RRtfloatRgRjtceilRW(RRRRRktstdintstdouttstderrt bbox_infot bbox_foundRRRARRttRaRtdxtdythires_bbox_info((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytget_bboxYs6     = 2.(cC st||}|d}t|d}t|}|i}x|o|ido|dIJ||IJn|idol|i||dIJ|dIJ|dIJ|d IJ|d IJ|d IJ|d IJ|d IJ|dIJPnB|idp |idp|idon|i||i}qCW|i}x|o|idoW|dIJ|dIJ|dIJ|dIJ|dIJtddjo|i}qn|i||i}qOW|i|iti|t i ||dS(s< Convert the postscript to encapsulated postscript. s.epsRGs%!PSs%!PS-Adobe-3.0 EPSF-3.0s %%EndCommentss %%BeginPrologtsavetcountdictstacktmarkRs/showpage {} defs/setpagedevice {pop} defs %%EndPrologs %%Page 1 1s%%Bounds %%HiResBounds%%Pagess %%Trailert cleartomarksexch sub { end } repeattrestoresps.usedistillerRN( RRtreadlineRFRR RRRRR(RRRRtepshttmphtline((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyRsZ                         R|cB seZRS((RpRq(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pyR|ss/m { moveto } bind defs/l { lineto } bind defs/r { rlineto } bind defs/c { curveto } bind defs/cl { closepath } bind defsU/box { m 1 index 0 r 0 exch r neg 0 r cl } bind defs</clipbox { box clip newpath } bind def(]Rrt __future__RRtmathRRRRRthashlibRt ImportErrorttempfileRt cStringIORt matplotlibR R R tmatplotlib._pylab_helpersR tmatplotlib.afmR tmatplotlib.backend_basesRRRRtmatplotlib.cbookRRRRtmatplotlib.mlabRtmatplotlib.figureRtmatplotlib.font_managerRRtmatplotlib.ft2fontRRRtmatplotlib.ttconvRtmatplotlib.mathtextRtmatplotlib._mathtext_dataRtmatplotlib.textR tmatplotlib.pathR!tmatplotlib.transformsR"t!matplotlib.backends.backend_mixedR#tnumpyRjRRdRt NameErrortsetsR$RRFt cmd_splittbackend_versionRRBRLRURZRfRoRpRKRR{RRhRgRRRRR|t FigureManagerR(((sD/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_ps.pytsH ""                              h _"( * ;