MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 302

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 301
12 Examples of GUIs Created Programmatically
12-24
- Displays the selected color in the preview area.
- The red, green, and blue values for the newly selected color are displayed
in the R, G, and B fields to the right of the preview area.
- Causes
colorPalette to return a function handle that the host GUI can
use to get the currently selected color.
2 Clicking the Eraser button, causes colorPalette to return a value, NaN, that
the host GUI can use to remove color from a data point.
3 Clicking the More Colors button displays the standard dialog box for setting
a color.
Calling the colorPalette Function
You can call the colorPalette function with a statement such as
mGetColorFcn = colorPalette('Parent',hPaletteContainer)
Vista de pagina 301
1 2 ... 297 298 299 300 301 302 303 304 305 306 307 ... 329 330

Comentarios a estos manuales

Sin comentarios