This new edition to the classic book by ggplot2 creator Hadley Wickham highlights compatibility with knitr and RStudio. ggplot2 is a data visualization package for R that helps users create data graphics, including those that are multi-layered, with ease. With ggplot2, it's easy to: produce handsome, publication-quality plots with automatic legends created from the plot specification superimpose multiple layers (points, lines, maps, tiles, box plots) from different data sources with automatically adjusted common scales add customizable smoothers that use powerful modeling capabilities of R, such as loess, linear models, generalized additive models, and robust regression save any ggplot2 plot (or part thereof) for later modification or reuse create custom themes that capture in-house or journal style requirements and that can easily be applied to multiple plots approach a graph from a visual perspective, thinking about how each component of the data is represented on the final plot This book will be useful to everyone who has struggled with displaying data in an informative and attractive way. Some basic knowledge of R is necessary (e.g., importing data into R). ggplot2 is a mini-language specifically tailored for producing graphics, and you'll learn everything you need in the book. After reading this book you'll be able to produce graphics customized precisely for your problems, and you'll find it easy to get graphics out of your head and on to the screen or page. Table of Contents Part I Getting Started Chapter 1 Introduction Chapter 2 Getting Started with ggplot2 Chapter 3 Toolbox Part II The Grammar Chapter 4 Mastering the Grammar Chapter 5 Build a Plot Layer by Layer Chapter 6 Scales, Axes and Legends Chapter 7 Positioning Chapter 8 Themes Part III Data Analysis Chapter 9 Data Analysis Chapter 10 Data Transformation Chapter 11 Modelling for Visualisation Chapter 12 Programming with ggplot2
2019-12-21 18:54:18 9.05MB ggplot2 Data Analysis
1
本书介绍了开发专业三维图形引擎所需的数学方法,书中介绍的关于游戏开发方面的许多知识同样适用于与三维计算机图形学相关的应用。本书首先介绍了相当基础的知识,如向量几何和线性代数,然后继续介绍一些计算机游戏设计中的高级知识,如光照和可视性判断。另外,本书还给出了一些重要结论的推导过程,以便于不具备相应理论基础的读者理解相关内容。   本书要求读者已具备三角学及计算机方法方面的基础知识,不过,本书仍然在一些章节中概括介绍了这些知识中的一些重要工具,如三角恒等式、微分方程和泰勒级数等。本书对于游戏设计者及相应的编程人员来说,是一本不可多得的参考资料。
2019-12-21 18:50:07 22.82MB 3d 数学 游戏
1
由于TC中的graphics.h不是C语言中的标准函数,而是由Borland公司自行开发的,而且是面向DOS的16位,无法直接在VC++中使用; 出于此目的,设计了面向VC++的graphics.h头文件,以及包含一些链接函数的C++程序winbgi.cpp和winbgi.lib; 如何使用?第一种方法——创建工程之后,在Source Files中导入winbgi.cpp文件,在Header Files中导入graphics.h文件,并且将这两个文件和winbgi.lib拷贝至该工程所在的目录下。 第二种方法——添加路径法,选中Tools-Options-Directories,分别在Include Files和Library Files添加图形包winbgi的路径,然后在Source Files中导入winbgi.cpp文件,在Header Files中导入graphics.h文件。
2012-05-06 00:00:00 26KB graphics.h winbgi.cpp winbgi.lib;
1