Drawing a continuous raster dataset using advanced labeling

When using the stretched renderer, you can use advanced labeling to better convey the data that you are displaying. Advanced labeling gives you options to set your own labels and create your own color ramps. You can set your own labels so that the users can see where particular values are within color ramp. Once your values have been set, you can choose an existing color ramp, or you can create you own.

There are three ways you can set your own labels: number of intervals, size of intervals, and customized values. Setting the number of intervals allows you to set the number of class breaks that you want to have in your labeling. Setting the interval size allows you to set the equal interval class breaks within your labeling. Setting your custom intervals allows you to specify which values you would like labeled on your color ramp.

Once you have chosen the number of intervals, or size of intervals, click the generate button to automatically generate the values. Your labels will be the same number as your pixel value; this can be kept the same, or it can be changed. You can also change the Value field to set up your customized labels.


Advanced labeling options are only available with the stretched renderer by clicking the Labeling button. The number of intervals (or class breaks) must be between 2 and 24.

Once you have set up your labels, you can now choose the color ramp to use. If you click the color ramp, on the right side of the dialog box, you can simply choose an existing color ramp. To create your own color ramp, you can click each symbol (color patch) and edit it to the color for each value. As you edit each symbol, the color ramp will automatically interpolate the colors that are in between two of the color patches.

  1. In the table of contents, right-click the raster layer that you want to display across a color ramp and click Properties.
  2. Click the Symbology tab.
  3. Click Stretched.
  4. Optionally, if your raster dataset has multiple bands, choose the band you want to stretch.
  5. Click the Labeling button to open the Advanced Labeling dialog box.
  6. Choose either the Number of Intervals button or the Interval Size button.
  7. Type the appropriate number or size in the text box.
  8. Click the Generate button to automatically calculate the class breaks.
  9. Optionally, edit the values and labels to your custom class breaks.
  10. Choose the appropriate color maps.
    • Choose an existing color ramp by clicking the color ramp on the right side of the window. This will open the Select Color Ramp dialog box to allow you to select a different color ramp.
    • Double-click the color symbol box and choose a color for that location in the color ramp. The new color will be reflected in the color ramp.
  11. Click OK to close the Advance Labeling dialog box.
  12. Click OK to apply the symbology to your raster layer.