3294
|
1 @c Copyright (C) 1996, 1997 John W. Eaton |
|
2 @c This is part of the Octave manual. |
|
3 @c For copying conditions, see the file gpl.texi. |
|
4 |
4167
|
5 @node Plotting |
3294
|
6 @chapter Plotting |
|
7 |
|
8 All of Octave's plotting functions use @code{gnuplot} to handle the |
5134
|
9 actual graphics. Most types of plots can be generated using the basic |
|
10 plotting functions, which are patterned after the equivalent functions |
6331
|
11 in @sc{Matlab}. |
3294
|
12 |
|
13 @menu |
|
14 * Two-Dimensional Plotting:: |
|
15 * Specialized Two-Dimensional Plots:: |
|
16 * Three-Dimensional Plotting:: |
6502
|
17 * Manipulating Existing Plots:: |
3294
|
18 * Plot Annotations:: |
|
19 * Multiple Plots on One Page:: |
3428
|
20 * Multiple Plot Windows:: |
6502
|
21 * Printing Plots:: |
3439
|
22 * Interaction with gnuplot:: |
3294
|
23 @end menu |
|
24 |
4167
|
25 @node Two-Dimensional Plotting |
3294
|
26 @section Two-Dimensional Plotting |
|
27 |
5134
|
28 The @sc{Matlab}-style two-dimensional plotting commands are: |
|
29 |
|
30 @cindex plotting |
|
31 @cindex graphics |
|
32 |
6502
|
33 @DOCSTRING(axes) |
|
34 |
5134
|
35 @DOCSTRING(plot) |
|
36 |
6502
|
37 @DOCSTRING(line) |
|
38 |
|
39 @DOCSTRING(fplot) |
|
40 |
|
41 @DOCSTRING(drawnow) |
|
42 |
|
43 @DOCSTRING(shg) |
|
44 |
5134
|
45 @DOCSTRING(hold) |
|
46 |
|
47 @DOCSTRING(ishold) |
|
48 |
6502
|
49 @DOCSTRING(newplot) |
5134
|
50 |
|
51 @node Specialized Two-Dimensional Plots |
|
52 @section Specialized Two-Dimensional Plots |
|
53 |
|
54 @DOCSTRING(bar) |
|
55 |
|
56 @DOCSTRING(contour) |
|
57 |
6502
|
58 @DOCSTRING(contourc) |
|
59 |
5134
|
60 @DOCSTRING(hist) |
|
61 |
|
62 @DOCSTRING(loglog) |
|
63 |
|
64 @DOCSTRING(polar) |
|
65 |
|
66 @DOCSTRING(semilogx) |
|
67 |
|
68 @DOCSTRING(semilogy) |
|
69 |
6502
|
70 @DOCSTRING(stem) |
|
71 |
5134
|
72 @DOCSTRING(stairs) |
|
73 |
|
74 @DOCSTRING(errorbar) |
|
75 |
|
76 @DOCSTRING(loglogerr) |
|
77 |
|
78 @DOCSTRING(semilogxerr) |
|
79 |
|
80 @DOCSTRING(semilogyerr) |
|
81 |
|
82 @node Three-Dimensional Plotting |
|
83 @section Three-Dimensional Plotting |
|
84 |
6502
|
85 @DOCSTRING(plot3) |
5134
|
86 |
|
87 @DOCSTRING(mesh) |
|
88 |
|
89 @DOCSTRING(meshgrid) |
|
90 |
|
91 @DOCSTRING(meshdom) |
|
92 |
6502
|
93 @DOCSTRING(view) |
|
94 |
|
95 @node Manipulating Existing Plots |
|
96 @section Manipulating Existing Plots |
|
97 |
|
98 @DOCSTRING(axis) |
|
99 |
|
100 @DOCSTRING(gca) |
|
101 |
|
102 @DOCSTRING(gcf) |
|
103 |
|
104 @DOCSTRING(get) |
|
105 |
|
106 @DOCSTRING(set) |
|
107 |
|
108 @DOCSTRING(clf) |
|
109 |
|
110 @DOCSTRING(delete) |
|
111 |
|
112 @DOCSTRING(close) |
|
113 |
|
114 @DOCSTRING(closereq) |
|
115 |
5134
|
116 @node Plot Annotations |
|
117 @section Plot Annotations |
|
118 |
|
119 @DOCSTRING(title) |
|
120 |
6502
|
121 @DOCSTRING(legend) |
|
122 |
|
123 @DOCSTRING(text) |
|
124 |
5134
|
125 @DOCSTRING(xlabel) |
|
126 |
6502
|
127 @DOCSTRING(box) |
|
128 |
|
129 @DOCSTRING(grid) |
|
130 |
5134
|
131 @node Multiple Plots on One Page |
|
132 @section Multiple Plots on One Page |
|
133 |
|
134 @DOCSTRING(subplot) |
|
135 |
|
136 @node Multiple Plot Windows |
|
137 @section Multiple Plot Windows |
|
138 |
|
139 @DOCSTRING(figure) |
|
140 |
6502
|
141 @node Printing Plots |
|
142 @section Printing Plots |
|
143 |
|
144 @DOCSTRING(print) |
|
145 |
|
146 @DOCSTRING(orient) |
5134
|
147 |
4167
|
148 @node Interaction with gnuplot |
3428
|
149 @section Interaction with @code{gnuplot} |
|
150 |
|
151 @DOCSTRING(gnuplot_binary) |
|
152 |
6331
|
153 @DOCSTRING(gnuplot_use_title_option) |