| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
|
5 |
<LINK REL="Start" HREF="index.html">
|
|
|
6 |
<LINK REL="Contents" HREF="toc.html">
|
|
|
7 |
<LINK REL="Prev" HREF="8191Standardtwoaxisgraphs.html">
|
|
|
8 |
<LINK REL="Next" HREF="8193Adjustingthepositionofthescalelabels.html">
|
|
|
9 |
<STYLE TYPE="text/css"><!--
|
|
|
10 |
BODY { font-family: serif }
|
|
|
11 |
H1 { font-family: sans-serif }
|
|
|
12 |
H2 { font-family: sans-serif }
|
|
|
13 |
H3 { font-family: sans-serif }
|
|
|
14 |
H4 { font-family: sans-serif }
|
|
|
15 |
H5 { font-family: sans-serif }
|
|
|
16 |
H6 { font-family: sans-serif }
|
|
|
17 |
SUB { font-size: smaller }
|
|
|
18 |
SUP { font-size: smaller }
|
|
|
19 |
PRE { font-family: monospace }
|
|
|
20 |
A { text-decoration: none }
|
|
|
21 |
--></STYLE>
|
|
|
22 |
</HEAD>
|
|
|
23 |
<BODY>
|
|
|
24 |
<A HREF="toc.html">Contents</A>
|
|
|
25 |
<A HREF="8191Standardtwoaxisgraphs.html">Previous</A>
|
|
|
26 |
<A HREF="8193Adjustingthepositionofthescalelabels.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="8_19_2">8.19.2 Scientific style axis</A></H3>
|
|
|
29 |
<P> In scientific style plots it is often common to duplicate each axis
|
|
|
30 |
so that all sides of the graph have a labeled axis. This is of course
|
|
|
31 |
also fully supported by JpGraph.</P>
|
|
|
32 |
<P> Before we continue we show a small example to illustrate this
|
|
|
33 |
feature</P>
|
|
|
34 |
<P><DIV class="example">
|
|
|
35 |
<BR> <A href="exframes/frame_funcex1.html" target="blank"><IMG border="0"
|
|
|
36 |
HEIGHT="350" src="img/funcex1.png" WIDTH="450"></A>
|
|
|
37 |
<BR><B>Figure 94:</B> Example of scientific axis <A href="exframes/frame_funcex1.html"
|
|
|
38 |
target="blank">[src]</A>
|
|
|
39 |
<P></P>
|
|
|
40 |
</DIV></P>
|
|
|
41 |
<P></P>
|
|
|
42 |
<P> The example above shows the basic configuration. There are now
|
|
|
43 |
several modifications you may do to these axis like</P>
|
|
|
44 |
<UL>
|
|
|
45 |
<LI> Choose if the labels should be inside or outside the plot area</LI>
|
|
|
46 |
<LI> Choose if the tickmarks should be inside or outside the plot area</LI>
|
|
|
47 |
</UL>
|
|
|
48 |
<P> The style of axis is determined by the method <A href="../ref/Graph.html#_GRAPH_SETAXISSTYLE">
|
|
|
49 |
Graph::SetAxisStyle()</A> The available type of axis are</P>
|
|
|
50 |
<UL>
|
|
|
51 |
<LI> AXSTYLE_SIMPLE, The standard two axis graph</LI>
|
|
|
52 |
<LI> AXSTYLE_BOXIN, Four axis scientific style with labels and tickmarks
|
|
|
53 |
on the inside</LI>
|
|
|
54 |
<LI> AXSTYLE_BOXOUT, Four axis scientific style with labels and
|
|
|
55 |
tickmarks on the outside</LI>
|
|
|
56 |
</UL>
|
|
|
57 |
<P></P>
|
|
|
58 |
<HR NOSHADE>
|
|
|
59 |
<A HREF="toc.html">Contents</A>
|
|
|
60 |
<A HREF="8191Standardtwoaxisgraphs.html">Previous</A>
|
|
|
61 |
<A HREF="8193Adjustingthepositionofthescalelabels.html">Next</A>
|
|
|
62 |
</BODY>
|
|
|
63 |
</HTML>
|