Table of Contents
1 Windrose plots with JpGraph
1.1 Introduction
1.2 Features
1.3 A first introductory windrose graph
2 Basic formatting of Windrose graphs
2.1 Basic types of windrose plots
2.2 Specifying input data
2.2.1 Examples of input data for compass (regular) Windrose plots
2.2.2 Examples of input data for free Windrose plots
2.3 Specifying the windrose scale
2.3.1 Specifying fonts and font colors
2.3.2 Manually specifying the scale
2.3.3 Specifying the label angle
2.3.4 Specifying number formats for scale labels
2.4 Specifying direction labels
2.4.1 Specifying fonts and font colors
2.4.2 Setting arbitrary text for data directions
2.4.3 Adjusting the alignment and margin
2.5 Adjusting the size and position of the graph
2.5.1 Positioning the plot
2.5.2 Specifying the size of the plot
2.5.3 Specifying the size of the Zero-circle (middle circle)
2.6 Adding multiple plots to the same graph
2.7 Formatting the legend
2.7.1 Specifying legend fonts
2.7.2 Setting text and colors for the Zero-circle
2.7.3 Specifying number formats for ranges
2.7.4 Specifying legend bottom text
2.7.5 Specifying the numeric values displayed for the ranges
2.8 Adjusting the formatting of the windrose plot legs
2.8.1 Specifying range colors
2.8.2 Specifying the width of the plot "legs"
2.9 Adding arbitrary text on the graph
2.10 Writing the windrose plot to a file
3 Less used formatting
3.1 Turning off Anti-aliasing
3.2 More on formatting scale-labels
3.2.1 Adding background colors
3.2.2 Adjusting the alignment of the scale labels
3.2.3 Specifying number formats
3.2.4 Specifying a manual scale
3.2.5 Hiding the labels
3.2.6 Specifying the Zero-circle label
3.3 Formatting the legend
3.3.1 Turning off the legend
3.3.2 Adjusting the legend position
3.3.3 Adjusting the length of each legend window leg
3.4 Formatting the windrose plot
3.4.1 Adjusting the grid colors
3.4.2 Adjusting the weight of the grid circles
3.4.3 Adding a box around the plot
3.5 Including a graph in a PDF
3.6 Highlighting specific compass directions
3.7 Miscellaneous formatting
3.7.1 Adjusting the shape of the windrose leg
3.7.2 Adjusting the size of the center zero circle
3.8 Adding a background image
3.9 Adjusting the interpretation for ordinal keys in data
3.10 Localizing the default names for the compass directions
3.11 Adding a rectangle around an individual plot
4 Appendix: Commented examples of windrose scripts
4.1 Example 1
4.1.1 Objectives:
4.1.2 Script
4.1.3 Resulting image
4.2 Example 2
4.2.1 Objectives:
4.2.2 Script
4.2.3 Resulting image
4.3 Example 3
4.3.1 Objectives:
4.3.2 Script
4.3.3 Resulting image
4.4 Example 4
4.4.1 Objectives:
4.4.2 Script
4.4.3 Resulting image
4.5 Example 5
4.5.1 Objectives:
4.5.2 Script
4.5.3 Resulting image
4.6 Example 6
4.6.1 Objectives
4.6.2 Script
4.6.3 Resulting image
4.7 Example 7
4.7.1 Objectives:
4.7.2 Script
4.7.3 Resulting image
4.8 Example 8
4.8.1 Objectives:
4.8.2 Script
4.8.3 Resulting image
4.9 Example 9
4.9.1 Objectives:
4.9.2 Script
4.9.3 Resulting image