TUFLOW Viewer - Importing a Custom Colour Ramp For The Curtain Plot

From Tuflow
Jump to navigation Jump to search

Tool Description

A custom colour ramp can be imported into TUFLOW Viewer for using with the curtain plot. The format of the file is the .xml exported from the QGIS style manager (this is different than the .txt format that can be saved for raster symbology).

The file can be imported via Settings >> Add Colour Ramp To Plot.
Plotting CustomColourRamp Menu.PNG

Examples

The majority of colour ramps available by default in QGIS are also available by default in TUFLOW Viewer. The example below shows how to find the extended colour ramp list in QGIS and how to export it from QGIS and then import it into TUFLOW Viewer. It is also possible to create a custom colour ramp using this same method.

  1. Open the Style Manager in QGIS via Settings >> Style Manager
    Plotting CustomColourRamp Example StyleManager Menu.PNG
  2. Select the Color Ramp tab along the top and All filter on the left
    Plotting CustomColourRamp Example StyleManager Dialog.PNG
  3. Select Add item at the bottom (the plus symbol) and select Catalog: Cpt-City...
    Plotting CustomColourRamp Example StyleManager AddItem.PNG
  4. Select a color ramp - for this example, the celsius colour ramp was chosen
    Plotting CustomColourRamp Example StyleManager AddItem Celsius.PNG
  5. Check on Save as standard gradient (this is really important) and then Select OK
  6. Give the gradient an appropriate name (this name will be also what it is called in TUFLOW Viewer)
    Plotting CustomColourRamp Example StyleManager SaveName.PNG
  7. Select your colour ramp in the Style Manager and export it via Import / Export >> Export Item(s) Plotting CustomColourRamp Example StyleManager Export.PNG
  8. Import the colour ramp into TUFLOW Viewer via Settings >> Add Colour Ramp To Plot. The UserDefined_Temp_Celsius should now be available in the Customize dialog for the curtain plot (see relevant link at the bottom on how to customise curtain plots.


Plotting CustomColourRamp Example 1.gif

Plotting CustomColourRamp Example 2.gif

Plotting CustomColourRamp Example 3.gif

Plotting CustomColourRamp Example 4.gif



Up
Go-up.png Back to TUFLOW Viewer Main Page