Tải bản đầy đủ (.pdf) (227 trang)

IT training mathematica data visualization saquib 2014 09 17

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (2.94 MB, 227 trang )



MathematicaDataVisualization


TableofContents
MathematicaDataVisualization
Credits
AbouttheAuthor
AbouttheReviewers
www.PacktPub.com
Supportfiles,eBooks,discountoffers,andmore
Whysubscribe?
FreeaccessforPacktaccountholders
Preface
Whatthisbookcovers
Whatyouneedforthisbook
Whothisbookisfor
Conventions
Readerfeedback
Customersupport
Downloadingtheexamplecode
Downloadingthecolorimagesofthisbook
Errata
Piracy
Questions
1.VisualizationasaTooltoUnderstandData
Theimportanceofvisualization
Typesofdatasets
Tables
Scalarfields


Timeseries
Graphs
Text
Cartographicdata


Mathematicaasatoolforvisualization
GettingstartedwithMathematica
Creatingandselectingcells
Evaluatingacell
Suppressingoutputfromacell
Cellformatting
Commenting
Abortingevaluation
Upcomingchapters
Furtherreading
Summary
2.DissectingDataUsingMathematica
Datastructuresandcorelanguages
Introducinglists
Nestedlists
Matrices
Constructinglistsprogrammatically
Tableentrieswithmultipleelements
Accessingelementsfromalist
Applyingsetoperationsonlists
Functionsandconditionals
Declaringandusingfunctions
Conditionals
Furthercorelanguage

Dataimportingandbasicplots
ImportingdataintoMathematica
SetDirectory[]andNotebookDirectory[]
Loadingthedataset
Basicplottingfunctions
ListPlot
Stylingourplots


Plotlegends
3Dpointplots
Logplots
Furtherreading
Summary
3.TimeSeriesandScientificVisualization
Periodicpatternsintimeseries
Sectorcharts
SimulatingInternetactivity
SectorChartanditsoptions
Interactivevisualizationoffinancialdata
TheDateListPlotfunction
Addinginteractivity–preliminaries
Intermission–GraphicsandShow
Addinginteractivity–DynamicandRefresh
Isocontourandmolecularvisualization
Introductiontoisocontours
Exampleproject–proteinmoleculevisualization
Loadingandvisualizingtheproteinmolecule
Preparingtheisocontourplots
Addinginteractivity–manipulate

Isosurfaceandstyling
Thinkinglikeavisualizationscientist–isovalueanalysis
Furtherreading
Summary
4.StatisticalandInformationVisualization
Statisticalvisualization
Theswissbanknotesdataset
Histogramsandcharts
Histogram
PairedHistogram


Histogram3D
PieChart
BubbleChart
Choosingappropriateplots
Aglimpseofhigh-dimensionaldata
Similaritymaps
Projectinginformationtolowdimensions
Visualizinggenuineandcounterfeitclusters
Similaritymapforsmallerdatasets
Thingsthatcan(andwill)gowrong
Employingthewrongdistancemetric
Choosingamisleadingcolormap
Textvisualization
Amodifiedwordcloud
Cleaningthedata
Thebasicalgorithm
Codeandexplanation
Graphsandnetworks

Abasicgraphvisualization
RepresentinggraphsinMathematica
VisualizingtheLesMisérablesnetwork
Highlightingcentralitymeasures
Othergraphlayouts
3Dlayouts
Chorddiagrams
Codeandexplanation
Tweakingthevisualization
Furtherreading
Summary
5.MapsandAesthetics
Mapvisualization


TheGeoGraphicspackage
Amapofourcurrentlocation
Plottingapathonthemap
InteractivityinGeoGraphics
Anatomyofamapvisualizationengine
Thevisualinterface
Codeandexplanation
Aestheticsinvisualization
Choosingtherightcolormap
Therainbowcolormapismisleading
Understandinghueandluminance
Somebettercolormaps
Designingtherightinterface
DeployingMathematicavisualizations
Lookingforward

Furtherreading
Summary
Index



MathematicaDataVisualization



MathematicaDataVisualization
Copyright©2014PacktPublishing
Allrightsreserved.Nopartofthisbookmaybereproduced,storedinaretrievalsystem,
ortransmittedinanyformorbyanymeans,withoutthepriorwrittenpermissionofthe
publisher,exceptinthecaseofbriefquotationsembeddedincriticalarticlesorreviews.
Everyefforthasbeenmadeinthepreparationofthisbooktoensuretheaccuracyofthe
informationpresented.However,theinformationcontainedinthisbookissoldwithout
warranty,eitherexpressorimplied.Neithertheauthor,norPacktPublishing,andits
dealersanddistributorswillbeheldliableforanydamagescausedorallegedtobecaused
directlyorindirectlybythisbook.
PacktPublishinghasendeavoredtoprovidetrademarkinformationaboutallofthe
companiesandproductsmentionedinthisbookbytheappropriateuseofcapitals.
However,PacktPublishingcannotguaranteetheaccuracyofthisinformation.
Firstpublished:September2014
Productionreference:1180914
PublishedbyPacktPublishingLtd.
LiveryPlace
35LiveryStreet
BirminghamB32PB,UK.
ISBN978-1-78328-299-9

www.packtpub.com



Credits
Author
NazmusSaquib
Reviewers
RogerJ.Brown
WenjunDeng
KristjanKannike
CommissioningEditor
AkramHussain
AcquisitionEditor
MohammadRizvi
ContentDevelopmentEditor
AnilaVincent
TechnicalEditors
VenuManthena
AmanPreetSingh
CopyEditors
SayaneeMukherjee
AlfidaPaiva
ProjectCoordinator
NehaBhatnagar
Proofreaders
MartinDiver
MariaGould
Indexers
MonicaAjmeraMehta

TejalSoni
ProductionCoordinator
ManuJoseph
CoverWork
ManuJoseph




AbouttheAuthor
NazmusSaquibisaresearcherattheMITMediaLabinCambridge,MA,wherehe
worksondatavisualization,machinelearning,andsocialcomputingprojects.Hehasa
bachelor’sdegreeinPhysicsandamaster’sdegreeinComputationalEngineeringand
AppliedMathematics.Saquibhasbeenprogramming3Dgamessincemiddleschool.Asa
result,hehasdevelopedandmaintainsakeeninterestingameengines,graphics,and
visualization.Throughouthisacademicyears,heworkedonawiderangeofresearch
projects,includingacoustics,particlephysics,augmentedreality,socialdatamining,and
uncertaintyquantification.Saquibisalsointerestedintheapplicationsofcreative
computingineducationandsocialwelfare.



AbouttheReviewers
RogerJ.BrownisthePresidentofIMOJIM,Inc.,oneoftheoldestcommercial
investmentfirmsinSanDiego,whichisnowcompletingitsfifthdecade.Hisexperience
includesnumerousconsultingandexpertwitnessassignments,andownershipor
originationofloansonvariouspropertiesinsevenstatesoftheUS.HeobtainedhisPhD
inFinancefromPennsylvaniaStateUniversityin2000,writinghisdissertationonLevystable(non-normal,andheavy-tailed)returndistributions.HeistheauthorofPrivateReal
EstateInvestment,publishedbyAcademicPress,whichisnowinitssecondedition.
WenjunDengisaComputationalPhysicistatPrincetonUniversityandPrincetonPlasma

PhysicsLaboratory.HeobtainedhisBSfromtheUniversityofScienceandTechnologyof
Chinain2006,andhisPhDinPhysicsfromtheUniversityofCalifornia,Irvinein2012.
Hisresearchinterestsincludemodelingandsimulationsoffusionplasmasandlaserexcitedhigh-energy-densityplasmas.Tocomprehensivelyunderstandthesecomplex
plasmas,whicharecomposedofahugenumberofelectricallychargedionsandelectrons
aswellaselectromagneticfields,isoneofthemostdifficultchallengesinhumanhistory.
Toadvancethefrontierofthisfield,heworkswithhiscollaboratorstodevelop,debug,
optimize,andrunlarge-scalesimulationsonworld-leadinghigh-performancecomputing
facilities.Bycarefullyanalyzingandvisualizingthesimulationdata,heisabletodigout
theunderlyingphysicalprinciplesandthusabletopredictandoptimizethebehaviorsof
theseplasmasinexperiments.
IwouldliketothankmywifeLiangforhercontinuousencouragementandsupport.
KristjanKannikeisaTheoreticalParticlePhysicistattheNationalInstituteofChemical
PhysicsandBiophysicsinEstonia.HeusesMathematicadailytosimulateandvisualize
modelsofhigh-energyphysics.



www.PacktPub.com


Supportfiles,eBooks,discountoffers,and
more
Youmightwanttovisitwww.PacktPub.comforsupportfilesanddownloadsrelatedto
yourbook.
DidyouknowthatPacktofferseBookversionsofeverybookpublished,withPDFand
ePubfilesavailable?YoucanupgradetotheeBookversionatwww.PacktPub.comandas
aprintbookcustomer,youareentitledtoadiscountontheeBookcopy.Getintouchwith
usat<>formoredetails.
Atwww.PacktPub.com,youcanalsoreadacollectionoffreetechnicalarticles,signup
forarangeoffreenewslettersandreceiveexclusivediscountsandoffersonPacktbooks

andeBooks.


DoyouneedinstantsolutionstoyourITquestions?PacktLibisPackt’sonlinedigital
booklibrary.Here,youcanaccess,readandsearchacrossPackt’sentirelibraryofbooks.


Whysubscribe?
FullysearchableacrosseverybookpublishedbyPackt
Copyandpaste,printandbookmarkcontent
Ondemandandaccessibleviawebbrowser


FreeaccessforPacktaccountholders
IfyouhaveanaccountwithPacktatwww.PacktPub.com,youcanusethistoaccess
PacktLibtodayandviewnineentirelyfreebooks.Simplyuseyourlogincredentialsfor
immediateaccess.



×