[ sciEncE ] in KIDS 글 쓴 이(By): bocap (hjpark) 날 짜 (Date): 2000년 12월 1일 금요일 오후 03시 33분 21초 제 목(Title): Re: HELP!!! The question sounds related to the matlab commands below. CAXIS Pseudocolor axis scaling. CAXIS(V), where V is the two element vector [cmin cmax], sets manual scaling of pseudocolor for the SURFACE and PATCH objects created by commands like MESH, PCOLOR, and SURF. cmin and cmax are assigned to the first and last colors in the current colormap. Colors for PCOLOR and SURF are determined by table lookup within this range. Values outside the range are clamped to the first or last colormap color. CAXIS('manual') fixes axis scaling at the current range. CAXIS('auto') sets axis scaling back to autoranging. CAXIS, by itself, returns the two element row vector containing the [cmin cmax] currently in effect. CAXIS is an M-file that sets the axes properties CLim and CLimMode. See also COLORMAP, AXES, AXIS. COLORMAP Color look-up table. COLORMAP(MAP) sets the current figure's colormap to MAP. COLORMAP('default') sets the current figure's colormap to the root's default, whose setting is JET. MAP = COLORMAP retrieves the current colormap. The values are in the range from 0 to 1. A color map matrix may have any number of rows, but it must have exactly 3 columns. Each row is interpreted as a color, with the first element specifying the intensity of red light, the second green, and the third blue. Color intensity can be specified on the interval 0.0 to 1.0. For example, [0 0 0] is black, [1 1 1] is white, [1 0 0] is pure red, [.5 .5 .5] is gray, and [127/255 1 212/255] is aquamarine. Graphics objects that use pseudocolor -- SURFACE and PATCH objects, which are created by the functions MESH, SURF, and PCOLOR -- map a color matrix, C, whose values are in the range [Cmin, Cmax], to an array of indices, k, in the range [1, m]. The values of Cmin and Cmax are either min(min(C)) and max(max(C)), or are specified by CAXIS. The mapping is linear, with Cmin mapping to index 1 and Cmax mapping to index m. The indices are then used with the colormap to determine the color associated with each matrix element. See CAXIS for details. Type HELP GRAPH3D to see a number of useful colormaps. COLORMAP is an M-file that sets the Colormap property of the current figure. See also HSV, CAXIS, SPINMAP, BRIGHTEN, RGBPLOT, FIGURE. |