Visit Gigasoft's Web Site
 ProEssentials v10 Help

ContourColorProportions

Scope

Pesgo, Pe3do

Type

Property Array of float / 4 byte

Default

Empty

.NET

PeColor.ContourColorProportions

Ocx|Vcl

ContourColorProportions

DLL

PEP_faCONTOURCOLORPROPORTIONS

 

Purpose

Controls the proportion (weighting or size) of the respective color section. Given the number of contour colors, adding up all proportions defined by this property array should equate to 1. For example if 4 colors are defined or generated by ContourColorSet, and this property array is set to [ 0.25, 0.50, 0.125, 0.125 ], the 2nd color would be twice as wide as the first color and 4 times as wide as the 3rd and 4th colors. 

 

Comments

PeColor.ContourColorProportions members of Pesgo.PeColor, Pe3do.PeColor

 

 

See Also: SubsetColors, ContourColorSet, ContourColors

 

Within the demo, see example 402.

 

 

WinForms C#.NET Example

// create 6 proportions within contour legend and surface plot 

Pe3do1.PeColor.ContourColorProportions[0] = .1F;
Pe3do1.PeColor.ContourColorProportions[1] = .05F;
Pe3do1.PeColor.ContourColorProportions[2] = .1F;
Pe3do1.PeColor.ContourColorProportions[3] = .63F;
Pe3do1.PeColor.ContourColorProportions[4] = .06F;
Pe3do1.PeColor.ContourColorProportions[5] = .06F;