The Grammer of Graphics 读书笔记 - Introduction
来源:互联网 发布:网络黄金egd崩盘了吗 编辑:程序博客网 时间:2024/06/06 04:20
Grammar gives language rules.
Grammar makes language expressive.
1.1 Graphics Versus Charts
We often call graphics charts. For one thing, charts are usually instances of much more general objects.
Elegant design requires us to think about a theory of graphics, not charts.
The concept of a graphic is so general that we need organizing principles to create instances of graphics. We may not want to put a pie chart in a catalog, but we need to give users some simple way to produce one. For that, we need methodologies based on object-oriented design.
1.2 Object-Oriented Design
1.2.1 What is ODD?
Objects are basic components of systems.
Objects communicates with each other through simple messages.
Objects are often reusable. They are relatively stupid.
What objects do is encapsulated. Other objects have no idea how they work, and they don’t care.
Components of OO systems are relatively modular.
Objects can inherit attributes and behavior from other objects.
Objects are often polymorphous.
1.2.2 What is NOT ODD?
OOD is not a language.
OOD is not a GUI.
OOD is not an interactive system.
1.3 An Object-Oriented Graphics System
Three stages of graphic creation:
Specification
Assembly
Display
1.3.1 Specification
Specification involves the translation of user actions into a formal language. To represent data accurately and appropriately. consequently , the core of a graphics system must rest on specification.
Statistical graphic specifications are expressed in six statements:
DATA: a set of data operations that create variables from datasets,
TRANS: variable transformations(eg: ranks).
SCALE: scale transformations(eg: log).
COORD: a coordinate system(eg: polar).
ELEMENT: graphs (eg: points) and their aesthetic attributes(eg: color).
GUIDE: one or more guides (eg: axes, legends).
We separate the notation into components. These components link data to objects and specify a scene containing those objects.
1.3.2 Assembly
In order to portray a scene, we must coordinate its geometry, layout, and aesthetics in order to render it accurately. A statistical graphics computer program must be able to assemble a graphical scene from a specification in the same manner as a drawing or modeling program puts together a realistic scene from specification components. A scene can be dynamic, or static, linked to external data or isolated, modifiable or immutable, depending on how we assemble it.
1.3.3 Display
For us to perceive it, a graph must be rendered using aesthetic attributes and a display system.
1.3.3 Revision
By carefully separating the process of graph creation into hierarchical components, we enable a flexible environment that offers new views without recalculating every step in the system. And we can link controllers to any components or property in the system to provide direct manipulation of data, variables, frames, or rendering.
- The Grammer of Graphics 读书笔记 - Introduction
- The Grammer of Graphics 读书笔记 - How To Make a Pie
- The Cairo graphics tutorial -------Introduction
- The introduction of wispr
- The introduction of vbfa
- The introduction of Regex
- I. The Basics---Introduction----Graphics and Rendering
- the introduction of the hadoop
- OpenGL SuperBible读书笔记(Introduction to 3D Graphics and OpenGL)
- The Introduction of Memory Leaks
- The Introduction of Memory Leaks
- The Introduction of Memory Leaks
- Introduction of the Store of Hallucination
- A brief introduction to the Linux graphics stack
- the introduction of gcc and g++
- The introduction and application of PLC
- The Introduction of Common Functions in Jmeter
- The Introduction of Windows Programming and WTL
- @DBRef---------------springMVC
- JVM-java内存区域与内存溢出异常
- bfs转弯问题
- poj1837
- 如何判断只能是数字,英文字母和中文 及获取androidmanifest.xml中meta-data的配置
- The Grammer of Graphics 读书笔记 - Introduction
- 深刻理解正则表达式的"组"以及"?:"
- 数据结构实验之求二叉树后序遍历和层次遍历
- CodeForces 688A Opponents(群架)
- 设计模式-模板模式
- HDU 1049 Climbing Worm
- Apache Commons CLI
- hbase协处理器引发的问题解决方案
- poj 2442 Sequence(贪心,堆)