Mercurial > octave
comparison scripts/image/image.m @ 10818:947adebb1336
scripts/image/image.m: fix texinfo
author | Soren Hauberg <hauberg@gmail.com> |
---|---|
date | Mon, 26 Jul 2010 12:46:21 +0200 |
parents | d9147775da54 |
children | 48a1812fcc3a |
comparison
equal
deleted
inserted
replaced
10817:d9147775da54 | 10818:947adebb1336 |
---|---|
35 ## | 35 ## |
36 ## Implementation Note: The origin (0, 0) for images is located in the | 36 ## Implementation Note: The origin (0, 0) for images is located in the |
37 ## upper left. For ordinary plots, the origin is located in the lower | 37 ## upper left. For ordinary plots, the origin is located in the lower |
38 ## left. Octave handles this inversion by plotting the data normally, | 38 ## left. Octave handles this inversion by plotting the data normally, |
39 ## and then reversing the direction of the y-axis by setting the | 39 ## and then reversing the direction of the y-axis by setting the |
40 ## @code{ydir) property to "reverse". This has implications whenever | 40 ## @code{ydir} property to "reverse". This has implications whenever |
41 ## an image and an ordinary plot need to be overlaid. The recommended | 41 ## an image and an ordinary plot need to be overlaid. The recommended |
42 ## solution is to display the image and then plot the reversed ydata | 42 ## solution is to display the image and then plot the reversed ydata |
43 ## using, for example, @code{flipud (ydata,1)}. | 43 ## using, for example, @code{flipud (ydata,1)}. |
44 ## @seealso{imshow, imagesc, colormap, image_viewer} | 44 ## @seealso{imshow, imagesc, colormap, image_viewer} |
45 ## @end deftypefn | 45 ## @end deftypefn |