23.02.2015 Views

TikZ PGF TikZ PGF

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

59 Axes 542<br />

59.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542<br />

59.2 Basic Configuration of Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542<br />

59.2.1 Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542<br />

59.2.2 The Axis Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543<br />

59.2.3 The Axis Attribute Range Interval . . . . . . . . . . . . . . . . . . . . . . . . . 544<br />

59.2.4 Scaling: The General Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . 544<br />

59.2.5 Scaling: Logarithmic Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547<br />

59.2.6 Scaling: Setting the Length or Unit Length . . . . . . . . . . . . . . . . . . . . 547<br />

59.2.7 Axis Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549<br />

59.2.8 Reference: Axis Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549<br />

59.3 Axis Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550<br />

59.3.1 Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550<br />

59.3.2 Reference: Scientific Axis Systems . . . . . . . . . . . . . . . . . . . . . . . . . 551<br />

59.3.3 Reference: School Book Axis Systems . . . . . . . . . . . . . . . . . . . . . . . 554<br />

59.3.4 Advanced Reference: Underlying Cartesian Axis Systems . . . . . . . . . . . . 555<br />

59.4 Ticks and Grids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556<br />

59.4.1 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556<br />

59.4.2 The Main Options: Tick and Grid . . . . . . . . . . . . . . . . . . . . . . . . . 557<br />

59.4.3 Semi-Automatic Computation of Tick and Grid Line Positions . . . . . . . . . 558<br />

59.4.4 Automatic Computation of Tick and Grid Line Positions . . . . . . . . . . . . . 559<br />

59.4.5 Manual Specification of Tick and Grid Line Positions . . . . . . . . . . . . . . . 562<br />

59.4.6 Styling Ticks and Grid Lines: Introduction . . . . . . . . . . . . . . . . . . . . 564<br />

59.4.7 Styling Ticks and Grid Lines: The Style and Node Style Keys . . . . . . . . . . 564<br />

59.4.8 Styling Ticks and Grid Lines: Styling Grid Lines . . . . . . . . . . . . . . . . . 565<br />

59.4.9 Styling Ticks and Grid Lines: Styling Ticks and Tick Labels . . . . . . . . . . . 567<br />

59.4.10 Styling Ticks and Grid Lines: Exceptional Ticks . . . . . . . . . . . . . . . . . 568<br />

59.4.11 Styling Ticks and Grid Lines: Styling and Typesetting a Value . . . . . . . . . 569<br />

59.4.12 Stacked Ticks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570<br />

59.4.13 Reference: Basic Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573<br />

59.4.14 Advanced: Defining New Placement Strategies . . . . . . . . . . . . . . . . . . 574<br />

59.5 Advanced: Creating New Axis Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575<br />

59.5.1 Creating the Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575<br />

59.5.2 Visualizing the Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576<br />

59.5.3 Visualizing Grid Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579<br />

59.5.4 Visualizing the Ticks and Tick Labels . . . . . . . . . . . . . . . . . . . . . . . 581<br />

59.5.5 Visualizing the Axis Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584<br />

59.5.6 The Complete Axis System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585<br />

59.5.7 Using the New Axis System Key . . . . . . . . . . . . . . . . . . . . . . . . . . 586<br />

60 Visualizers 587<br />

60.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587<br />

60.2 Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587<br />

60.2.1 Using a Single Visualizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587<br />

60.2.2 Using Multiple Visualizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588<br />

60.2.3 Styling a Visualizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589<br />

60.3 Reference: Basic Visualizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591<br />

60.3.1 Visualizing Data Points Using Lines . . . . . . . . . . . . . . . . . . . . . . . . 591<br />

60.3.2 Visualizing Data Points Using Marks . . . . . . . . . . . . . . . . . . . . . . . . 593<br />

60.4 Advanced: Creating New Visualizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594<br />

61 Style Sheets and Legends 597<br />

61.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597<br />

61.2 Concepts: Style Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597<br />

61.3 Concepts: Legends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598<br />

61.4 Usage: Style Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599<br />

61.4.1 Picking a Style Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599<br />

61.4.2 Creating a New Style Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599<br />

61.4.3 Creating a New Color Style Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . 602<br />

14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!