SMS:Color Options: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Color Options.jpg|thumb|300 px|''Color Options'' dialog]]
[[Image:Color Options.png|thumb|300 px|''Color Options'' dialog]]
The ''Color Options'' dialog lets the user determine how the contours and vectors will be colored. The ''Color Options'' dialog is opened from the [[SMS:Mesh Data Menu|''Data'' menu]], or from the '''Color Ramp...''' button on the [[SMS:Contours|''Contours'']] and [[SMS:Vector Display Options|''Vectors'']] tabs of the [[SMS:Display Options|''Display Options'']] dialog.
The ''Color Options'' dialog lets determining how the contours and vectors will be colored. The ''Color Options'' dialog is opened from the [[SMS:Mesh Data Menu|''Data'' menu]], or from the '''Color Ramp...''' button on the [[SMS:Contours|''Contours'']] and [[SMS:Vector Display Options|''Vectors'']] tabs of the [[SMS:Display Options|''Display Options'']] dialog.


The default color method is the ''Solid'' color option. This method uses a single color for all contours. As an alternative, the user can define a ramp of colors. These colors are distributed across the range of contour values in a continuous fashion, giving each contour its own color. If specific contour values are specified, the user controls whether the colors are distributed by index or by value in the upper right portion of the dialog. The following types of color ramps are supported by SMS:
The default color method is the ''Solid'' color option. This method uses a single color for all contours. As an alternative, it's possible to define a ramp of colors. These colors are distributed across the range of contour values in a continuous fashion, giving each contour its own color. If specific contour values are specified, control whether the colors are distributed by index or by value in the upper right portion of the dialog. The following types of color ramps are supported by SMS:
* Solid color – A single color is used for all values.
* ''Solid color'' – A single color is used for all values.
* Intensity ramp – The color ramp is defined as a continuous variation of the intensity of the default solid color. This is the same color used for the ''Solid color'' option.
* ''Intensity ramp'' – The color ramp is defined as a continuous variation of the intensity of the default solid color. This is the same color used for the ''Solid color'' option.
* Hue ramp – The ramp is a continuous variation of hues using the hue-saturation-value color model.
* ''Hue ramp'' – The ramp is a continuous variation of hues using the hue-saturation-value color model.
* User Defined Palettes – User defined color ramp.
* ''User Defined Palettes'' – User defined color ramp.


If using an intensity ramp or hue ramp, the ramp can be edited to include only a portion of the entire ramp, or converted to a ''User Defined Palettes'' for further editing. The user modifies the portion of the ramp to be used by setting the  minimum and maximum values for hue or intensity with the scroll bars in the ''Color Options'' dialog. These controls specify where the minimum value will be mapped into the ramp and where the maximum value will be mapped. The '''Reverse''' button changes the direction of the color gradation in the color ramp.
If using an intensity ramp or hue ramp, the ramp can be edited to include only a portion of the entire ramp, or converted to a ''User Defined Palettes'' for further editing. Modify the portion of the ramp to be used by setting the  minimum and maximum values for hue or intensity with the scroll bars in the ''Color Options'' dialog. These controls specify where the minimum value will be mapped into the ramp and where the maximum value will be mapped. The '''Reverse''' button changes the direction of the color gradation in the color ramp.


==User Defined Palettes ==
==User Defined Palettes ==
The user may define and edit a color palette for use with contours. In the [[SMS:Display Options|''Display Options'']] dialog, on the [[SMS:Contour Options|''Contours tab'']], pressing the '''Color Ramp''' button, opens the [[SMS:Color Options|''Color Options'']] dialog. Inside the ''Color Options'' dialog, selecting the ''User defined'' option enables the following options:
It is possible to define and edit a color palette for use with contours. In the [[SMS:Display Options|''Display Options'']] dialog, on the [[SMS:Contour Options|''Contours tab'']], pressing the '''Color Ramp''' button opens the ''Color Options'' dialog. Inside the ''Color Options'' dialog, selecting the ''User defined'' option enables the following options:
=== User Defined Palettes Frame ===
=== User Defined Palettes Frame ===
* '''New Palette''' – Create a new color palette. This opens the ''New Palette'' dialog, which is used to define a color ramp palette. The user selects a preset palette and the initial number of colors in the palette. The palette can be fine tuned once it is created in the [[SMS:Color Options|''Color Options'']] dialog.
* '''New Palette''' – Create a new color palette. This opens the ''New Palette'' dialog, which is used to define a color ramp palette. Select a preset palette and the initial number of colors in the palette. The palette can be fine tuned once it is created in the ''Color Options'' dialog.
* '''Delete Palette''' – Delete the selected palette.
* '''Delete Palette''' – Delete the selected palette.
* '''Load Palettes''' – Load palettes from an SMS defined [[SMS:Color Palette Files *.pal|palette file]].
* '''Load Palettes''' – Load palettes from an SMS defined [[SMS:Color Palette Files *.pal|palette file]].
Line 19: Line 19:


=== Current Palette Frame ===
=== Current Palette Frame ===
The color pallet selected in the ''User Defined Palettes'' frame is displayed. The user can select, edit, and drag colors in the ''Color Palette'' using the following tools:
The color pallet selected in the ''User Defined Palettes'' frame is displayed. Select, edit, and drag colors in the ''Color Palette'' using the following tools:
* '''Create a breakpoint''' tool
* '''Select/Move cross section point''' [[File:ColorPalette CreateBreakpoint.svg|16 px]] tool
<blockquote>
** Click &ndash; Creates new breakpoints  
* Mouse left-click &ndash; Creates new breakpoints </blockquote>
* '''Select an individual breakpoint''' [[File:ColorPalette SelectBreakpoint.svg|16 px]] tool
* Select an individual ''breakpoint'' tool
** Click and drag &ndash; Changes the value associated with a breakpoint
<blockquote>
** Double-click &ndash; Opens the ''Color'' dialog to change the color associated with a breakpoint
* Mouse left-click and drag &ndash; Changes the value associated with a breakpoint
** Select, then press the ''Delete'' key &ndash; Delete the selected breakpoint  
* Mouse left double-click &ndash; Opens the ''Color'' dialog to change the color associated with a breakpoint
* Mouse left-click, then ''DELETE'' key &ndash; Delete the selected breakpoint </blockquote>


*'''Value edit field''' &ndash; Change the value of a selected color. Changing a value will move the color inside the color palette window.
*'''Value edit field''' &ndash; Change the value of a selected color. Changing a value will move the color inside the color palette window.


*'''Edit Table''' &ndash; This button opens the ''Color Table'' dialog. Values and colors associated with each breakline can be viewed and edited. This dialog is useful for creating a palette with a logarithmic scale. It may be difficult to select colors very close to one another at the lower end of a log scale using the mouse left-click button, but the values can easily be specified in this dialog.
*'''Edit Table''' &ndash; This button opens the ''Color Table'' dialog. Values and colors associated with each breakline can be viewed and edited. This dialog is useful for creating a palette with a logarithmic scale. It may be difficult to select colors very close to one another at the lower end of a log scale using the mouse left-click button, but the values can easily be specified in this dialog.


* Display Value As &ndash; Show the value of each color as:
* Display Value As &ndash; Show the value of each color as:
<blockquote>
** '''Percentages (0.0-1.0)''' &ndash; A percentage across the palette, with 0.0 being to the left of the palette and 1.0 at the right edge of the palette.
* '''Percentages (0.0-1.0)''' &ndash; A percentage across the palette, with 0.0 being to the left of the palette and 1.0 at the right edge of the palette.
** '''Numerical Values''' &ndash; The actual value of each color. Each color will represent a value such as elevation.
* '''Numerical Values''' &ndash; The actual value of each color. Each color will represent a value such as elevation. </blockquote>


===New Palette===
===New Palette===
[[Image:SMS New Palette.jpg|thumb|250 px|''New Palette'' dialog]]
[[Image:SMS New Palette.png|thumb|250 px|''New Palette'' dialog]]
The ''New Palette'' dialog is used to create a new user defined palette. The following palette options can be set:
The ''New Palette'' dialog is used to create a new user defined palette. The following palette options can be set:
* Initial Color Ramp Type:
* ''Initial Color Ramp Type'':
<blockquote>
** Solid Color
* Solid Color
** Intensity Ramp
* Intensity Ramp
** Hue Ramp
* Hue Ramp
** Elevation
* Elevation
** Ocean
* Ocean
** Magnitude Difference
* Magnitude Difference </blockquote>
* ''Color'' &ndash; Only available for ''Solid Color'' and ''Intensity Ramp''
* Color &ndash; Only available for ''Solid Color'' and ''Intensity Ramp''
* ''Number of Colors'' &ndash; Only available for ''Solid Color'', ''Intensity Ramp'', and ''Hue Ramp''
* Number of Colors &ndash; Only available for ''Solid Color'', ''Intensity Ramp'', and ''Hue Ramp''
* ''Palette name'' &ndash; Allows giving the palette a unique name.
* Palette name


Once the general options have been set in the ''New Palette'' dialog, the palette can be fine tuned using the tools in the ''Color Options'' dialog.
Once the general options have been set in the ''New Palette'' dialog, the palette can be fine tuned using the tools in the ''Color Options'' dialog.
Line 66: Line 61:


[[Category:SMS Display Options|Contour Display Options]]
[[Category:SMS Display Options|Contour Display Options]]
[[Category:SMS Dialogs|C]]
[[Category:SMS Display Dialogs]]

Latest revision as of 22:07, 30 October 2019

Color Options dialog

The Color Options dialog lets determining how the contours and vectors will be colored. The Color Options dialog is opened from the Data menu, or from the Color Ramp... button on the Contours and Vectors tabs of the Display Options dialog.

The default color method is the Solid color option. This method uses a single color for all contours. As an alternative, it's possible to define a ramp of colors. These colors are distributed across the range of contour values in a continuous fashion, giving each contour its own color. If specific contour values are specified, control whether the colors are distributed by index or by value in the upper right portion of the dialog. The following types of color ramps are supported by SMS:

  • Solid color – A single color is used for all values.
  • Intensity ramp – The color ramp is defined as a continuous variation of the intensity of the default solid color. This is the same color used for the Solid color option.
  • Hue ramp – The ramp is a continuous variation of hues using the hue-saturation-value color model.
  • User Defined Palettes – User defined color ramp.

If using an intensity ramp or hue ramp, the ramp can be edited to include only a portion of the entire ramp, or converted to a User Defined Palettes for further editing. Modify the portion of the ramp to be used by setting the minimum and maximum values for hue or intensity with the scroll bars in the Color Options dialog. These controls specify where the minimum value will be mapped into the ramp and where the maximum value will be mapped. The Reverse button changes the direction of the color gradation in the color ramp.

User Defined Palettes

It is possible to define and edit a color palette for use with contours. In the Display Options dialog, on the Contours tab, pressing the Color Ramp button opens the Color Options dialog. Inside the Color Options dialog, selecting the User defined option enables the following options:

User Defined Palettes Frame

  • New Palette – Create a new color palette. This opens the New Palette dialog, which is used to define a color ramp palette. Select a preset palette and the initial number of colors in the palette. The palette can be fine tuned once it is created in the Color Options dialog.
  • Delete Palette – Delete the selected palette.
  • Load Palettes – Load palettes from an SMS defined palette file.
  • Save Palettes – Save all of the user created palettes to a file using the format shown above.

Current Palette Frame

The color pallet selected in the User Defined Palettes frame is displayed. Select, edit, and drag colors in the Color Palette using the following tools:

  • Select/Move cross section point ColorPalette CreateBreakpoint.svg tool
    • Click – Creates new breakpoints
  • Select an individual breakpoint ColorPalette SelectBreakpoint.svg tool
    • Click and drag – Changes the value associated with a breakpoint
    • Double-click – Opens the Color dialog to change the color associated with a breakpoint
    • Select, then press the Delete key – Delete the selected breakpoint
  • Value edit field – Change the value of a selected color. Changing a value will move the color inside the color palette window.
  • Edit Table – This button opens the Color Table dialog. Values and colors associated with each breakline can be viewed and edited. This dialog is useful for creating a palette with a logarithmic scale. It may be difficult to select colors very close to one another at the lower end of a log scale using the mouse left-click button, but the values can easily be specified in this dialog.
  • Display Value As – Show the value of each color as:
    • Percentages (0.0-1.0) – A percentage across the palette, with 0.0 being to the left of the palette and 1.0 at the right edge of the palette.
    • Numerical Values – The actual value of each color. Each color will represent a value such as elevation.

New Palette

New Palette dialog

The New Palette dialog is used to create a new user defined palette. The following palette options can be set:

  • Initial Color Ramp Type:
    • Solid Color
    • Intensity Ramp
    • Hue Ramp
    • Elevation
    • Ocean
    • Magnitude Difference
  • Color – Only available for Solid Color and Intensity Ramp
  • Number of Colors – Only available for Solid Color, Intensity Ramp, and Hue Ramp
  • Palette name – Allows giving the palette a unique name.

Once the general options have been set in the New Palette dialog, the palette can be fine tuned using the tools in the Color Options dialog.

Related Topics