Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10214

Online reference for palettes.C should include ex.s for all palettes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Graphics
    • Labels:
      None

      Description

      TLDR: When searching for "palette" in the reference it would be a quality-of-life improvement to be able to see an example for each available palette online.

      This is the page: https://root.cern/doc/master/palettes_8C.html

      This page is what comes up as the only result when one searches for "palette" in the online reference search box. The file is a script to generate a png for each supported palette.

      This would be an excellent place to also put an example of every available palette. I imagine it would be similar to the matplotlib dito: https://matplotlib.org/users/colormaps.html

      I would request two kinds examples (used where appropriate): one with multiple lines drawn; one with continuous shading (already present on page).

        Attachments

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              kialbert Kim Albertsson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                PlannedEnd:
                PlannedStart:
                Actual End: