12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure Propertiescontains colors that span the full spectrum so any color values map reasonablywell.However, if the true-color data contains a wide range of shades in one color, youmay achieve better results by defining your own dithermap. See theDithermapMode property.DithermapModeauto | {manual}<strong>MATLAB</strong> generated dithermap. In manual mode, <strong>MATLAB</strong> uses the colormapdefined in the Dithermap property to display direct color on pseudocolordisplays. When DithermapMode is auto, <strong>MATLAB</strong> generates a dithermap basedon the colors currently displayed. This is useful if the default dithermap doesnot produce satisfactory results.The process of generating the dithermap can be quite time consuming and isrepeated whenever <strong>MATLAB</strong> re-renders the display (e.g., when you add a newobject or resize the window). You can avoid unnecessary regeneration bysetting this property back to manual and save the generated dithermap (which<strong>MATLAB</strong> loaded into the Dithermap property).DoubleBuffer on | {off}Flash-free rendering for simple animations. Double buffering is the process ofdrawing to an off-screen pixel buffer and then blitting the buffer contents to thescreen once the drawing is complete. Double buffering generally producesflash-free rendering for simple animations (such as those involving lines, asopposed to objects containing large numbers of polygons). Use double bufferingwith the animated objects’ EraseMode property set to normal. Use the setcommand to enable double buffering.set(figure_handle,'DoubleBuffer','on')Double buffering works only when the figure Renderer property is set topainters.FixedColors m-by-3 matrix of RGB values (read only)Non-colormap colors. Fixed colors define all colors appearing in a figurewindow that are not obtained from the figure colormap. These colors includeaxis lines and labels, the color of line, text, uicontrol, and uimenu objects, andany colors that you explicitly define, for example, with a statement like:set(gcf,'Color',[0.3,0.7,0.9]).2-173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!