/
zoom-packageThezoomPackage zoom-packageThezoomPackage

zoom-packageThezoomPackage - PDF document

tatiana-dople
tatiana-dople . @tatiana-dople
Follow
386 views
Uploaded On 2015-12-11

zoom-packageThezoomPackage - PPT Presentation

2inzoom DescriptionAspatialdatavisualizationtoolDetailsPackagezoomTypePackageVersion204Date20131014DependsR2100EncodingUTF8LicenseGPL3LazyLoadyesURLhttpsgithubcomcbarbu ID: 221472

2in.zoom DescriptionAspatialdatavisualizationtool.DetailsPackage:zoomType:PackageVersion:2.0.4Date:2013-10-14Depends:R(=2.10.0)Encoding:UTF-8License:GPL(=3)LazyLoad:yesURL:https://github.com/cbarbu/

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "zoom-packageThezoomPackage" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

2in.zoom zoom-packageThezoomPackage DescriptionAspatialdatavisualizationtool.DetailsPackage:zoomType:PackageVersion:2.0.4Date:2013-10-14Depends:R�(=2.10.0)Encoding:UTF-8License:GPL�(=3)LazyLoad:yesURL:https://github.com/cbarbu/R-package-zoomzm(),calledwithanyactiveplotallowtoenteraninteractivesessiontozoom/navigateanyplot.Thedevelopmentversion,aswellasbinaryreleasescanbefoundathttps://github.com/cbarbu/R-package-zoomAuthor(s)CorentinMBarbu ore;&#xntin;&#x.bar; u@g;&#xmail;&#x.com;,withcontributionsfromSebastianGibb&#xmail;&#x@seb; sti; ngi;».d; in.zoomDirectaccesstozoomfunctionalities. DescriptionDirectselectionofazoommethodofthe"session"type.Possiblyofuseinscripts?allowinteractivein/outzoomin"session"modeUsagein.zoom(...)move.to.click.zoom(...)inout.zoom(...) 4zmArguments...Everythingthatcanbeacceptedbysq.zoom.Detailssession.zoomlaunchaninteractiveconsolemenutonavigateaplot.navigation.zoomallowstointeractivelynavigateaplotwiththemouse.ValueReturnsthenalplot,assavedbyrecordPlot().Author(s)CorentinM.Barbu,SebastianGibbSeeAlsozm().Examples##Notrun:plot(rnorm(100),rnorm(100))session.zoom()##End(Notrun) zmLaunchinteractiononaplot DescriptionAllowtozoom/navigateinanyopenplot.Thecontrolsshouldbeintuitive:•zoomin:scrollup,orrightclickifnoscrollingweel.•zoomout:scrolldown,orHoldleft+rightclickifnoworkingweel.•move:leftclickandmoveUsagezm(type="navigation",rp=NULL) 6zoomplot.zoompolygon(c(-1,1,1,-1)*2,c(-1,-1,1,1)*2,col="blue")lines(rnorm(100),rnorm(100))plot(1,type="n",xlim=c(-3,3),ylim=c(-3,3),main="SecondTrack")polygon(c(-1,1,1,-1)*2,c(-1,-1,1,1)*2,col="green")lines(rnorm(100),rnorm(100))zm()#itflickersquiteabitasitneedstoreploteverythingeverytime...#onemightwanttousetheolderinterface#ifattachedtocairounderlinuxorMacOS#itisalsosometimeshelpfultojustdefineasquareyouwanttozoomonzm(type="s")##End(Notrun) zoomplot.zoomCentrallowlevelfunctionofthezoompackage. DescriptionThisfunctionallowtoreplotthecurrentorasavedplotwithspecicboundaries,magnicationfactorandpossiblyarroundauserdenedx/y.Usagezoomplot.zoom(xlim=NULL,ylim=NULL,fact=NULL,rp=NULL,x=NULL,y=NULL,xlimfn=NULL,ylimfn=NULL,...)ArgumentsxlimAvectorwithminandmaxxylimAvectorwithminandmaxyfactAscalargivingthemagnicationfactor�(1bringsyoucloser)rpApreviouslyrecordedplotwithrecordPlot().Withallthecorrespondingwarn-ingsin?recordPlot.xxofaxpointwhenrescaling,bydefaultthecenter.yyofaxpointwhenrescaling,bydefaultthecenter.xlimfnafunctionusingx,yand/orfacttogeneratenewxlimifNULLandxlim/ylimnotgivenwillusemultipancPointylimfnafunctionusingx,yand/orfacttogeneratenewylim,ifNULLwillusexlimfn...Additionalparametersnotimplemented,justincase.DetailsThisfunctionisnotnecessarilyeasytousebyhand.Itisdesignedtoworkwellwhencalledfromhigherlevelfunctions.Endusershouldalwaysusezm(). IndexTopicnavigatezm,4Topicnavigationsession.zoom,3zm,4Topicpackagezoom-package,2Topicplotzm,4zoomplot.zoom,6Topicsessionsession.zoom,3Topiczmzm,4Topiczoomzm,4zoomplot.zoom,6in.zoom,2inout.zoom(in.zoom),2move.to.click.zoom(in.zoom),2navigation.zoom(session.zoom),3out.zoom(in.zoom),2session.zoom,3set.zoom(in.zoom),2sq.zoom(in.zoom),2zm,4zoom(zoom-package),2zoom-package,2zoomplot.zoom,68