This example demonstrates how to generate the basic lattice shown in Figure 12.5 on
page 213. To generate the basic lattice, you must complete the following steps:
•transform the input data
•create the basic lattice
•customize the cell axes
Here is the output.
Figure 12.5Stock Plot
Transforming the Input Data
A common use for a lattice is to create a graph that shows different subsets of the same
input data. In some cases, those subsets are already defined in the input data. However,
you frequently have to transform the input data to make it suitable for the graph ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.