|
|
|
|
- Configurar la visualización de las proyecciones
grScatter3DProyección (Función) Indica si los puntos encontrados en una serie de un gráfico de dispersión 3D deben ser proyectados en un plano dado.. En este caso, una Line recta relacionará 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 de la control Gráfico (en el editor de ventanas).
<Series number>: Integro Número de la serie a utilizar. <Projection plane>: Constante de tipo Integer Plano sobre el que se proyectarán los puntos: | | grPlaneXY | Plano XY. | grPlaneXZ | Plano XZ. | grPlaneYZ | Plano YZ. |
<Type of line>: Constante opcional de tipo Integer El tipo de Line utilizado para ver la proyección:
| | LineDash | Line con guiones (------). | LineDotAndDash | Line mezcla puntos y guiones (.-.-.-.-.-). | LineDotted | Línea de puntos (........). | LineNone | No se dibuja ningún Line. | LineSolid (Valor predeterminado) | Línea continua. |
Observaciones Configurar la visualización de las proyecciones Las proyecciones son Visible de Default. La visualización de las proyecciones se puede configurar con grParameter. Es posible: - ocultar las proyecciones.
grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionNone)
- visualizar siempre las proyecciones.
grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionAlwaysVisible)
- mostrar las proyecciones durante el clic en el punto.
grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionClick)
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|