SMS:Color Palette Files *.pal: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Color Palette (*.pal) files hold user-defined palette information. The process for creating a color palette is described in the [[SMS:Color Options#User Defined Palettes|User Defined Color Palettes]] article. | Color Palette (*.pal) files hold user-defined palette information. The process for creating a color palette is described in the [[SMS:Color Options#User Defined Palettes|User Defined Color Palettes]] article. | ||
Importing color palette files is done through the [[SMS:Color Options|''Color Options'']] dialog using the '''Load Palettes''' command. | Importing color palette files is done through the [[SMS:Color Options|''Color Options'']] dialog using the '''Load Palettes''' command. The ''Color Options'' dialog will then display the color palette saved in the file. | ||
A sample palette file is shown below: | A sample palette file is shown below: | ||
Line 9: | Line 9: | ||
Palette1 3 Name of Palette; Number of colors in palette | Palette1 3 Name of Palette; Number of colors in palette | ||
0 0.0 1.0 Percentage (0) or Value (1); Min Range; Max Range | 0 0.0 1.0 Percentage (0) or Value (1); Min Range; Max Range | ||
0.111111 0 0 0 1st color | 0.111111 0 0 0 1st color – Percentage; Red (0-255); Green; Blue | ||
0.444444 45 136 45 2nd color | 0.444444 45 136 45 2nd color | ||
1.000000 255 255 255 3rd color | 1.000000 255 255 255 3rd color |
Revision as of 15:55, 5 August 2016
Color Palette (*.pal) files hold user-defined palette information. The process for creating a color palette is described in the User Defined Color Palettes article.
Importing color palette files is done through the Color Options dialog using the Load Palettes command. The Color Options dialog will then display the color palette saved in the file.
A sample palette file is shown below:
PALETTE File type identifier 2 Number of Palettes Palette1 3 Name of Palette; Number of colors in palette 0 0.0 1.0 Percentage (0) or Value (1); Min Range; Max Range 0.111111 0 0 0 1st color – Percentage; Red (0-255); Green; Blue 0.444444 45 136 45 2nd color 1.000000 255 255 255 3rd color Palette2 5 Next Palette ... etc.
Related Topics
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |