matplotlib函数手册星猫译函数介绍acorrPlottheautocorrelationofx.绘制X的自相关annotateCreateanannotation:apieceoftextreferringtoadatapoint.用箭头在指定的一个数据点创建一个注释或一段文本。arrowAddanarrowtotheaxes.为axes添加一个箭头。autoscaleAutoscaletheaxisviewtothedata(toggle).自动缩放轴视图的数据(切换)。axesAddanaxestothefigure.为当前figure添加一个axes。axhlineAddahorizontallineacrosstheaxis.添加一条穿越axis的水平线。axhspanAddahorizontalspan(rectangle)acrosstheaxis.添加一条穿越axis的水平矩形。axisConveniencemethodtogetorsetaxisproperties.获取或设置轴属性的便捷方法。axvlineAddaverticallineacrosstheaxes.添加一条穿越axes的垂线。axvspanAddaverticalspan(rectangle)acrosstheaxes.添加一个与axes交叉的垂直跨度(矩形)。barMakeabarplot.做一个垂直条形图。barbsPlota2-Dfieldofbarbs.绘制一个倒钩的二维场(风场)。barhMakeahorizontalbarplot.做一个横向条形图。boxTurntheaxesboxonoroff.打开或关闭主轴箱。boxplotMakeaboxandwhiskerplot.使一盒须图。broken_barhPlothorizontalbars.绘制水平杆。claClearthecurrentaxes.清除当前axes。clabelLabelacontourplot.为等值线图设标签clfClearthecurrentfigure.清除当前figure。climSetthecolorlimitsofthecurrentimage.设置当前图像的颜色取值范围。closeCloseafigurewindow.关闭figure窗口。coherePlotthecoherencebetweenxandy.绘制X和Y之间的相关性分析colorbarAddacolorbartoaplot.为图添加彩条标值。contourPlotcontours.绘制等值线。contourfPlotcontours.绘制填充等值线。csdPlotcross-spectraldensity.绘制交叉谱密度。delaxesRemoveanaxesfromthecurrentfigure.从目前的figure删除axes。drawRedrawthecurrentfigure.再次绘制当前figure。errorbarPlotanerrorbargraph.绘制errorbar图。eventplotPlotidenticalparallellinesatspecificpositions.在特定的位置绘制相同的平行线。figimageAddsanon-resampledimagetothefigure.为figure添加一个非重采样图像。figlegendPlacealegendinthefigure.为figure放置一个标注(legend)figtextAddtexttofigure.为figure添加文字。figureCreatesanewfigure.创建一个新的figure。fillPlotfilledpolygons.绘制填充多边形。fill_betweenMakefilledpolygonsbetweentwocurves.使两曲线间填充色彩。fill_betweenxMakefilledpolygonsbetweentwohorizontalcurves.使两水平线间填充色彩。findobjFindartistobjects.发现artist对象。gcaReturnthecurrentaxisinstance.返回当前轴实例(axisinstance)。gcfReturnareferencetothecurrentfigure.返回当前figure的序号。gciGetthecurrentcolorableartist.获取当前彩条的artist。get_figlabelsReturnalistofexistingfigurelabels.返回一个当前figure的标签列表。get_fignumsReturnalistofexistingfigurenumbers.返回一系列figure的序号。grid(on/off)Turntheaxesgridsonoroff.打开或关闭坐标网格。hexbinMakeahexagonalbinningplot.做一个六边形箱图。histPlotahistogram.绘制直方图。hist2dMakea2Dhistogramplot.使一个二维直方图。hlinesPlothorizontallines.绘制水平线。holdSettheholdstate.设置hold状态。imreadReadanimagefromafileintoanarray.读取一个图像,从图形文件中提取数组。imsaveSaveanarrayasinimagefile.保存为图像文件中的数组。imshowDisplayanimageontheaxes.在axes上显示图像。ioffTurninteractivemodeoff.关闭互动模式。ionTurninteractivemodeon.开启互动模式。isholdReturntheholdstatusofthecurrentaxes.返回当前axes的hold状态。isinteractiveReturnstatusofinteractivemode.返回互动模式状态。legendPlacealegendonthecurrentaxes.为当前axes放置标注。locator_paramsControlbehaviorofticklocators.控制轴刻度标签loglogMakeaplotwithlogscalingonboththexandyaxis.使X、Y轴为log刻度。marginsSetorretrieveautoscalingmargins.设置或检索自动缩放功能。matshowDisplayanarrayasamatrixinanewfigurewindow.在新figure窗口显示数组矩阵minorticks_offRemoveminorticksfromthecurrentplot.移除当前数轴上的次刻度minorticks_onDisplayminorticksonthecurrentplot.显示当前数轴上的次刻度overCallafunctionwithhold(True).调用一个函数,并且hold为(True)。pausePauseforintervalseconds.Pause的时间间隔(秒)。pcolorCreateapseudocolorplotofa2-Darray.创建一个二维阵列的伪彩色图。pcolormeshPlotaquadrilateralmesh.绘制一个四边形网格。piePlotapiechart.绘制一个饼图。plotPlotlinesand/ormarkerstotheAxes.绘制当前axes。plot_datePlotwithdatawithdates.绘制数据日期。plotfilePlotthedataininafile.将图绘入文件polarMakeapolarplot.绘制极坐标图。psdPlotthepowerspectraldensity.绘制功率谱密度图。quiverPlota2-Dfieldofarrows.绘制二维箭头图(风矢量图)。quiverkeyAddakeytoaquiverplot.为风矢量图绘制单位标量rcSetthecurrentrcparams.设置当前的RC参数。rc_contextReturnacontextmanagerformanagingrcsettings.返回一个用于管理RC设置上下文管理器。rcdefaultsRestorethedefaultrcparams.恢复默认的RC参数。rgridsGetorsettheradialgridlinesonapolarplot.获取或设置径向网格在极坐标图。savefigSavethecurrentfigure.保存当前图。scaSetthecurrentAxesinstancetoax.为ax设置当前(axes)轴实例。scatterMakeascatterplotofxvsy,wherexandyaresequencelikeobjectsofthesamelengths.做一个X和Y的散点图,其中X和Y是相同长度的序列的对象。sciSetthecurrentimage.设置当前的图像。semilogxMakeaplotwithlogscalingonthexaxis.使x轴为log刻度。semilogyMakeaplotwithlogscalingontheyaxis.使y轴为log刻度。set_cmapSetthedefaultcolormap.设置默认的colormap。setpSetapropertyonanartistobject.对artist对象设置属性。showDisplayafigure.显示图。specgramPlotaspectrogram.绘制谱图。spyPlotthesparsitypatternona2-Darray.绘制一个二维阵列的稀疏模式。stackplotDrawsastackedareaplot.绘制一个堆叠面积图。stemCreateastemplot.创造一个stem图。stepMakeastepplot.做一个步阶图streamplotDrawsstreamlinesofavectorflow.绘制一个流场图。subplotReturnasubplotaxespositionedbythegivengriddefinition.返回一个subplotaxessubplot2gridCreateasubplotinagrid.在网格中创建一个subplot。subplot_toolLaunchasubplottoolwindowforafigure.获取subplot工具窗口。subplotsCreateafigurewithasetofsubplotsalreadymade.一个图中包含多个子图subplots_adjustTunethesubplotlayout.调整subplot布局suptitleAddacenteredtitletothefigure.在图添加一个中心标题。switch_backendSwitchthedefaultbackend.交换机默认的后台。tableAddatabletothecurrentaxes.当前axes添加table。textAddtexttotheaxes.在轴上添加文本。thetagridsGetorsetthethetalocationsofthegridlinesinapolarplot.设置极坐标网格线θ位置。tick_paramsChangetheappearanceofticksandticklabels.改变刻度及刻度标签外观ticklabel_formatChangetheScalarFormatterusedbydefaultforlinearaxes.通过使用默认线性axes轴更改scalarformatter。ti