用MATLAB生成达到出版质量的图形-export_fig.zip本帖最后由stellari于2013-5-2816:03编辑MATLAB的绘图功能非常强大,但是有两个突出的问题:1、导出的图片质量不高;
2、有时导出图片和figure中实际所见并不一致。
所以导致大家正式发表专业文章时不经常用MATLAB作为首选的绘图软件。
其实,只要解决了上面的两个问题,MATLAB也是可以生成能够达到出版水平的图形的。
简介export_fig(见附件)就是一个能够解决上述问题的工具包。
首先,问题1的主要原因是MATLAB的默认绘图渲染器较为原始,所以画出的线条都有很明显的锯齿。
而用export_fig导出的图片,所有的线条和文字都是经过抗锯齿处理的,所以视觉效果极佳;
至于问题2,export_fig会严格按照figure上显示的内容去导出,是真正意义上的所见即所得。
而且用export_fig导出的图片不会有MATLAB默认导出时那么大的白边,而是保证白边的范围仅能容纳坐标轴和title,xlabel,ylabel,这样使得图片的尺寸减小,排版更方便。
下两图选得虽然不是很有代表性,但是依然可以看出export_fig截出的图中白边大量减少,并且有非常先进的抗锯齿处理(比如,上图的红线在1-2范围内有很明显的锯齿,下图则几乎没有。
坐标轴上的数字也是如此)。
背景中的网格也由虚线变成了“淡实线”,更符合现代制图的审美观。
figure中直接选择save的结果:test1_1.pngfigure中选择save的保存结果export_fig的结果:test2_2.pngexport_fig的保存结果使用方法export_fig的使用方法很简单,解压附件中的文件,然后将得到的所有文件放入某目录中,再将该目录添加至MATLAB的搜索路径中。
导出图片时,输入export文件名即可将当前figure中的图输出至文件中。
export_fig能够自动识别文件名的扩展名,并保存成相应的格式。
注意如果需要导出pdf或eps格式的话,需要下载并安装ghostscript,具体可以参见export_fig的发布页http://www.mathworks.com/matlabc...nge/23629-exportfig题外话其实不要小看MATLAB。
MATLAB其实隐藏了一个非常强大的绘图模式:HG2。
这个模式平时是隐藏的,只能在MATLAB启动时通过附加参数的形式开启,即可以将MATLAB的快捷方式中的指向目标由"...\...\MATLAB\R2013a\bin\MATLAB.exe"改为"...\...\MATLAB\R2013a\bin\MATLAB.exe"-hgVersion2(注意hgVersion和2之间有一个空格)然后使用这个快捷方式打开MATLAB。
在界面上没有任何区别,但是当你画出图之后,你会发现一切都不同了。
(下二图转载自undocumentedmatlab.com,左图为普通模式,右图为HG2模式)HG1_plot.png普通(HG1)模式(无责任转载自undocumentedmatlab.com)HG2_plot.pngHG2模式(无责任转载自undocumentedmatlab.com)版本在2010以上,感兴趣的同学不妨一试(版本更早其实也可以尝试)。
当然目前HG2模式尚不稳定,所以并没有向一般用户公开。
不过这很可能是下一代MATLAB的发展方向,说不定R2014a的默认绘图模式就是HG2!总结目前公认最好的图片导出方案还是export_fig。
这个工具包在MATLABCentral上一直下载量排行第一。
这个工具包可以完全替代MATLAB自己的图片导出功能,强烈推荐大家使用。
我本人现在正在写的一篇文章就全部使用export_fig,而没有使用其他任何的绘图软件。
HG2模式应该是MATLAB的未来发展方向,大家可以先尝个鲜。
很有可能在不久的将来就能够在MATLAB中直接生成这种高质量的图像了。
2024/5/23 14:45:49 26KB matlab
1
DistributedandCloudComputing-FromParallelProcessingtotheInternetofThings-KaiHwang原著完整文字版,带目录
2024/5/21 20:26:43 23.92MB Cloud 云计算 大数据 Hadoop
1
压缩包内附:软件安装包,安装教程和环境变量配置教程解决问题:输入mex-setup时提示如下:错误使用mex未找到支持的编译器或SDK。
你可以安装免费提供的MinGW-w64C/C++编译器;
有关更多选项,请访问http://www.mathworks.com/support/compilers/R20116b/win64.html。
2024/5/19 6:01:12 46.22MB MinGW-W64 matlab tdm64-gcc-5.
1
Northwind中文版数据库,用于SQLSERVER里的,是备份文件.直接还原就可以用了Northwind是SQLSERVER里面自带的数据库例子.可以方便学习使用.之前在网上一直找不到中文版SQL的,现在自己转换过来了,传上来大家共享.NorthwindTraders示例数据库包含一个名为NorthwindTraders的虚构公司的销售数据,该公司从事世界各地的特产食品进出口贸易。
1
威廉J.达利(WilliamJ.Dally),NVIDIA的首席科学家,曾在贝尔实验室、加州理工学院和麻省理工学院任职,并曾在数字设备公司、克雷研究公司和英特尔公司当过顾问。
他还曾担任斯坦福大学计算机科学系主任。
1
本文来自于techweb,介绍了随着边缘计算热度不断升温,边缘计算和雾计算的差别,边缘计算如何分层部署等现实问题。
边缘计算强调的是边缘。
如果说云计算意味着要将所有的数据都汇总到后端的数据中心处理,那么边缘计算则是在靠近物或数据源头的网络边缘侧实现边缘智能。
正是基于这一特性,边缘计算能够实现数据的高频交互、实时传输,因此有望在物联网和人工智能时代大放异彩。
相关预测显示,到2020年将有超过500亿的终端与设备联网,未来超过50%的数据需要在网络边缘侧分析、处理与储存。
随着物联网、云计算的发展,边缘计算正在兴起。
边缘计算源于工业领域,主要部署在终端设备或者网络节点上,旨在帮助工业生产中的设备,在数
2024/5/7 3:13:30 189KB 边缘计算如何层次化部署?
1
原则英文版,总页数为586页,是完整的,此版本是我付费在别的网站上下载的ThankyoufordownloadingthisSimonSchusterebookGetaFreeebookwhenyoujoinourmailinglist.Plus,getupdatesonnewreleases,dealsrecommendedreads,andmorefromSimonSchusterClickbelowtosignupandseetermsandconditionsCLICKHERETOSIGNUPAlreadyasubscriber?Provideyouremailagainsowecanregisterthisebookandsendyoumoreofwhatyouliketoread.YouwillcontinuetoreceiveexclusiveoffersinyourinboxPRINCIPLESRAYDALIOsiMonSCHUSTERNEWYORKLONDONTORONTOSYDNEYNEWDELHIPARTIW豆EREIMCOMIINGFRON1MyCalltoAdventure:1949-19672CrossingtheThreshold:1967-19793MyAbyss:1979-19824MyRoadofTrials:1983-19945TheUltimateBoon:1995-20106ReturningtheBoon:2011-20157MyLastYearandMyGreatestChallenge:2016-20178LookingBackfromaHigherLevelPARTIILIFEPRINCIPLES1EmbraceRealityandDealwithIt2Usethe5-StepProcesstoGetWhatYouWantOutofLife3BeRadicallyOpen-Minded4UnderstandThatPeopleAreWiredVeryDifferently5LearnHowtoMakeDecisionsEffectivelyLifePrinciples:PuttingItAllTogetherSummaryandTableoflifePrinciplesPARTIIIWORKPRINCIPLESSummaryandTableofWorkPrinciplesTOGETTHECULTURERIGHT1TrustinRadicalTruthandRadicalTransparency2CultivateMeaningfulWorkandMeaningfulRelationships3CreateaCultureinWhichItIsOkaytoMakeMistakesandUnacceptableNottoLearnoem4GetandStayinSync5BelievabilityWeightYourDecisionMaking6RecognizeHowtoGetBeyondDisagreementsTOGETTHEPEOPLERIGHT7RememberThattheWHOIsMoreImportantthantheWhat8HireRight,BecausethePenaltiesforHiringWrongAreHuge9ConstantlyTrain,Test,Evaluate,andSortPeopleTOBUILDANDEVOLVEYOURMACHINE10ManageasSomeoneOperatingaMachinetoAchieveagoal11PerceiveandDon'tTolerateproblems12DiagnoseProblemstoGetatTheirrootcauses13DesignImprovementstoYourMachinetoGetAroundYourProblems14DoWhatYouSetOuttodo15USeToolsandProtocolstoShapeHowWorkIsDone16AndforHeaven'sSakeDontOverlookGovernanceWorkPrinciples:PuttingItAllTogetherACKNOWLEDGMENTSABOUTTHEAUTHORCONCLUSIONAPPENDIX.TOOLSANDPROTOCOLSFORBRIDGEWATERSIDEAMERITOCRACYBIBLIOGRAPHYINDEXToBarbara.thehalfmewhohasmademewholeformorethanfortyyearsINTRODUCTIONBeforeibegintellingyouwhatIthink,IwanttoestablishthatI'ma"dumbshit'whodoesntknowmuchrelativetowhatineedtoknowWhateversuccessI'vehadinlifehashadmoretodowithmyknowinghowtodealwithmynotknowingthananythingIknow.ThemostimportantthingIlearnedisanapproachtolifebasedonprinciplesthathelpsmefindoutwhat'strueandwhattodoaboutitI'mpassingalongtheseprinciplesbecauseiamnowatthestageinmylifewhichIwanttohelpothersbesuccessfulratherthantobemoresuccessfulmyself.Becausetheseprincipleshavehelpedmeandotherssomuch,Iwanttosharethemwithyou.It'suptoyoutodecidehowvaluabletheyreallyareandwhat,ifanythingyouwanttodowiththemPrinciplesarefundamentaltruthsthatserveasthefoundationsforbehaviorthatgetsyouwhatyouwantoutoflife.TheycanbeappliedagainandagaininsimilarsituationstohelpyouachieveyourgoalsEveryday,eachofusisfacedwithablizzardofsituationswemustrespondto.Withoutprincipleswewouldbeforcedtoreacttoallthethingslifethrowsatusindividually,asifwewereexperiencingeachofthemforthefirsttime.Ifinsteadweclassifythesesituationsintotypesandhavegoodprinciplesfordealingwiththemwewillmakebetterdecisionsmorequicklyandhavebetterlivesasaresult.Havingagoodsetofprinciplesislikehavingagoodcollectionofrecipesforsuccess.Allsuccessfulpeopleoperatebyrinciplesthathelpthembesuccessful,thoughwhattheychoosetobesuccessfulatvariesenormouslysotheirprinciplesvarTobeprincipledmeanstoconsistentlyoperatewithprinciplesthatcanbeclearlyexplained.Unfortunately,mostpeoplecantdothat.Andit'sveryrareforpeopletowritetheirprinciplesdownandsharethemThatisashame.IwouldlovetoknowwhatprinciplesguidedAlbertEinstein,SteveJobsWinstonChurchill,LeonardodaVinci,andotherssoIcouldclearlyunderstandwhattheyweregoingafterandhowtheyachieveditandcouldcomparetheirdifferentapproaches.I'dliketoknowwhichprinciplesaremostimportanttothepoliticianswhowantmetovoteforthemandtoalltheotherpeoplewhosedecisionsaffectme.Dowehavecommonprinciplesthatbindustogether-asafamly,asacommunity,asanation,asfriendsacrossnations?O1dowehaveopposingprinciplesthatdivideus?whatarethey?letsbespecificThisisatimewhenitisespeciallyimportantforustobeclearaboutourprinciplesMyhopeisthatreadingthisbookwillpromptyouandotherstodiscoveryourownprinciplesfromwhereveryouthinkisbestandideallywritetheedown.Doingthatwillallowyouandotherstobeclearaboutwhatyourprinciplesareandunderstandeachotherbetter.Itwillallowyoutoretinethemasyouencountermoreexperiencesandtoreflectonthem,whichwillhelpyoumakebetterdecisionsandbebetterunderstoodHAVINGYOUROWNPRINCIPLESWecomebyourprinciplesindifferentways.Sometimeswegainthemthroughourownexperiencesandreflections.Sometimesweacceptthemfromothers,likeourparents,orweadoptholisticpackagesofprinciples,suchasthoseofreligionsandlegalframeworksBecauseweeachhaveourowngoalsandourownnatures,eachofusmustchooseourownprinciplestomatchthem.Whileitisntnecessarilyabadthingtouseothers'principles,adoptingprincipleswithoutgivingthemmuchthoughtcanexposeyoutotheriskofactinginwaysinconsistentwithyourgoalsandyournature.Atthesametime,you,likeme,probablydontknoweverythingyouneedtoknowandwouldbewisetoembracethatfact.Ifyoucanthinkforyourselfwhilebeingopen-mindedinaclearheadedwaytofindoutwhatisbestforyoutodo,andifyoucansummonupthecouragetodoityouwillmakethemostofyourlife.Ifyoucantdothat,youshouldreflectonwhythatis,becausethat'smostlikelyyourgreatestimpedimenttogettingmoreofwhatyouwantoutoflifeThatbringsmetomyfirstprincipleThinkforyourselftodecide1,whatyouwant,2ywhatistrue,and3,whatyoushoulddotoachieve#1inlightof#2anddothatwithhumilityandopen-mindednesssothatyouconsiderthebestthinkingavailabletoyou.Beingclearonyourprinciplesisimportantbecausetheywillaffectallaspectsofyourlife,manytimesaday.Forexample,whenyouenterintorelationshipswithothers,yourprinciplesandtheirprincipleswilldeterminehowyouinteract.Peoplewhohavesharedvaluesandprinciplesgetlong.Peoplewhodontwillsufferthroughconstantmisunderstandingsandconflicts.Thinkaboutthepeopleyouareclosestto:Aretheirvaluesalignedwithyours?Doyouevenknowwhattheirvaluesorprinciplesare?Tooofteninrelationships,people'sprinciplesarentclear.ThisisespeciallyproblematicinorganizationswherepeopleneedtohavesharedprinciplestobesuccessfulBeingcrystalclearaboutmyprinciplesiswhyIlaboredsomuchovereverysentenceinthisbookTheprinciplesyouchoosecanbeanythingyouwantthemtobeaslongastheyareauthentic--i.e,aslongastheyreflectyourtruecharacterandvalues
2024/5/6 16:18:33 6.58MB 工作 生活
1
AsuswrtisthenameofthecommonfirmwareAsushasdevelopedfortheirvariousroutermodels.OriginallyforkedfromTomato,ithassincegrownintoaverydifferentproduct,removingsomemoretechnicalfeaturesthatwerepartofTomato,butalsoaddingneworiginalfeaturessuchassupportfordualWANs.Asuswrt-merlinisacustomizedversionofAsus'sfirmware.ThegoalistoprovidebugfixesandminorenhancementstoAsus'sfirmware,withalsoafewoccasionalfeatureadditions.Thisisdonewhileretainingthelookandfeeloftheoriginalfirmware,andalsoensuringthatthetwocodebasesremaincloseenoughsoitwillremainpossibletokeepupwithanynewfeaturesbroughtbyAsusintheoriginalfirmware.Thisproject'sgoalisNOTtodevelopyetanotherfirmwarefilledwithmanyfeaturesthatarerarelyusedbyhomeusers-thatisalreadycoveredbyotherexcellentprojectssuchasTomatoorDD-WRT.Thismoreconservativeapproachwillalsohelpensuringthehighestlevelofstabilitypossible.Priorityisgiventostabilityoverperformance,andperformanceoverfeatures.
2024/5/6 13:08:37 17.56MB n16,梅林
1
冰河五四象棋软件,亲测可用,是象棋爱好者提高象棋水平的神器
2024/5/3 14:34:07 30.96MB 象棋软件
1
Android登陆注册实现代码,具体内容可以去看博客:https://blog.csdn.net/sconghw/article/details/78771717
2024/4/17 9:20:26 19.13MB Android 登陆注册实现
1
共 256 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡