|
|
|
|
|
- Configurar la visualización de las proyecciones
grScatter3DProjection (Función) Indica si los puntos encontrados en una serie de un gráfico de dispersión 3D deben proyectarse en un plano determinado.. En este caso, una línea recta unirá el punto con su proyección en el plano correspondiente.
// Projects in dots the points of series 1 on XY plane grScatter3DProjection(CHART_My3DScatter, grPlaneXY, LineDotted)
// Initialize the Combo Box control // Fills the list of line types ListAdd(MySelf, "No line" + gStoredValue(LineNone)) ListAdd(MySelf, "Solid line" + gStoredValue(LineSolid)) ListAdd(MySelf, "Dashed line" + gStoredValue(LineDash)) ListAdd(MySelf, "Dotted line" + gStoredValue(LineDotted)) ListAdd(MySelf, "Dot-and-dash line" + gStoredValue(LineDotAndDash)) // By default, a dot-and-dash line is applied to this plane MySelf = LineDotAndDash // ----------------------------------------------------- // Code for selecting a row in the Combo Box control // Applies the type of projection for the XY plane grScatter3DProjection(CHART_Chart, 1, grPlaneXY, MySelf) grDraw(CHART_Chart)
Sintaxis
grScatter3DProjection(<Chart name> , <Series number> , <Projection plane> [, <Type of line>])
<Chart name>: Nombre del control o cadena de caracteres Nombre del gráfico a utilizar. Este nombre corresponde a:- el nombre del gráfico definido mediante programación con la función grCreate.
- el nombre del control Gráfico (en el editor de ventanas).
<Series number>: Integro Número de la serie a manipular. <Projection plane>: Constante de tipo Integer Plano sobre el que se proyectarán los puntos: | | grPlaneXY | Plano XY. | grPlaneXZ | Plano XZ. | grPlanoYZ | Plano YZ. |
<Type of line>: Constante opcional de tipo Integer Tipo de línea utilizada para ver la proyección:
| | LineDash | Línea con guiones (------). | LineDotAndDash | Línea que mezcla puntos y rayas (.-.-.-). | LineDotted | Línea de puntos (........). | LineNone | No se traza ninguna línea. | LineSolid (Valor predeterminado) | Línea continua. |
Observaciones Configurar la visualización de las proyecciones Las proyecciones son visibles por defecto. La visualización de las proyecciones puede configurarse con grParameter.. Tú puedes: - ocultar las proyecciones.
grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionNone)
- mostrar siempre las proyecciones.
grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionAlwaysVisible)
- mostrar las proyecciones durante la pulsación sobre el punto.
grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionClick)
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|