SharpPlot.SetAltitudeColors Method

Set an array of colors for use by altitude-shaded plots. If a single color is used, it will be smoothly graded to white. An array of colors will be used as step values, and an equal number of interpolated colors created between each pair.

Example

sp.SetAltitudeColors(Color.DarkKhaki); // Good for a landscape map
sp.SetAltitudeColors(new Color[]{Color.Navy,Color.Green,Color.Red,Color.Yellow}); // Typical false-color set