Contents Previous Next

### 7.19.2 Scientific style axis

In scientific style plots it is often common to duplicate each axis so that all sides of the graph have a labeled axis. This is of course also fully supported by JpGraph.

Before we continue we show a small example to illustrate this feature

Figure 98: Example of scientific axis [src]

The example above shows the basic configuration. There are now several modifications you may do to these axis like

- Choose if the labels should be inside or outside the plot area
- Choose if the tickmarks should be inside or outside the plot area

The style of axis is determined by the method Graph::SetAxisStyle() The available type of axis are

- AXSTYLE_SIMPLE, The standard two axis graph
- AXSTYLE_BOXIN, Four axis scientific style with labels and tickmarks on the inside
- AXSTYLE_BOXOUT, Four axis scientific style with labels and tickmarks on the outside

Contents Previous Next