Mercurial > octave-nkf
comparison doc/interpreter/plot.txi @ 20416:031e76c51242
doc: Update polar() example in manual now that rticks calc is correct.
* plot.txi: Remove code from example which manually sets polar rtick limit.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 23 Jul 2015 18:31:44 -0700 |
parents | 8e056730f27c |
children | 3af34e1ef330 |
comparison
equal
deleted
inserted
replaced
20414:421e3ebfca8d | 20416:031e76c51242 |
---|---|
203 polar coordinates. However, the display coordinates remain rectangular | 203 polar coordinates. However, the display coordinates remain rectangular |
204 and linear. For example, | 204 and linear. For example, |
205 | 205 |
206 @example | 206 @example |
207 polar (0:0.1:10*pi, 0:0.1:10*pi); | 207 polar (0:0.1:10*pi, 0:0.1:10*pi); |
208 set (gca, "rtick", [0:10:40]); | |
209 @end example | 208 @end example |
210 | 209 |
211 @noindent | 210 @noindent |
212 produces the spiral plot shown in @ref{fig:polar}. | 211 produces the spiral plot shown in @ref{fig:polar}. |
213 | 212 |