General

General

Is there a way to get a legend to show the meaning when using /PNUM,MAT,1 or /PNUM,REAL,1, or similar /PNUM command?

    • SolutionSolution
      Participant

      No there is no way to get a legend for the element attribute numbering. See the /NUM command to control whether the number appears on the element or not along with the color. The program only uses 11 different colors so elements with reals, 1,11, and 23 are all cyan. See the attached image (from the cmap utility) that has a column that indicates the /PNUM color index (red is 3, 14, 25, etc). You can change them by picking PlotCtrls > Style > Color > Numbered Item Colors. If you have less than 12 you could create a component for each attribute value then assign a color to each component PlotCtrls > Style > Color > Component Colors then do a plot > Components > Selected Components and it will show a legend in color. Sample cmplot shows plot for 2 components.

      Attachments:
      1. cmap.png
      2. cmplot.png