Provider: | PyXMCDA |
---|---|
Version: | 1.3 |
Generate plots from provided criteriaValues as well as the scripts generating these plots.
Colormap can be defined by the user, by giving a list of colors in the parameters.xml file. The number of colors is not restrained, and the colormap will linearly distribute the color in their provided order and interpolate between them. If only one is provided, it will be used for all data plot. Each color is either one of the color names predefined in matplotlib (See https://matplotlib.org/stable/gallery/color/named_colors.html#sphx-glr-gallery-color-named-colors-py) or a RGB color defined in hexadecimal ‘#RRGGBB’.
N.B.: when plotting a pie chart, negative and null values are not represented!
(For outputs, see below)
Optional: yes, enabled by default
The criteria to be plotted. All are plotted if not provided.
The criteria values.
Parameters of the method
Parameter values can be defined via the GUI or the XMCDA file, by default via GUI.
Name: X-axis label
X-axis name to display below each plot.
Name: Y-axis label
Y-axis name to display on the left of each plot.
Name: Chart title
Title of the chart to be plotted.
Name: Chart type
Type of chart to be plotted.
Name: Colormap
Type of the colormap.
Name: Nb of colors
The number of colors supplied to define the colormap.
Name: Color
Color to use.
Type: drop-down list
<label>black</label>
</value>) (default)
<label>red</label>
</value>)
<label>green</label>
</value>)
<label>blue</label>
</value>)
<label>orange</label>
</value>)
<label>green</label>
</value>)
<label>purple</label>
</value>)
<label>cyan</label>
</value>)
<label>magenta</label>
</value>)
<label>yellow</label>
</value>)
<label>salmon</label>
</value>)
<label>orangered</label>
</value>)
<label>chocolate</label>
</value>)
<label>greenyellow</label>
</value>)
<label>aquamarine</label>
</value>)
<label>pink</label>
</value>)
<label>grey</label>
</value>)
<label>whitesmoke</label>
</value>)
Name: 1st color
First color to use for the colormap.
Type: drop-down list
<label>black</label>
</value>) (default)
<label>red</label>
</value>)
<label>green</label>
</value>)
<label>blue</label>
</value>)
<label>orange</label>
</value>)
<label>green</label>
</value>)
<label>purple</label>
</value>)
<label>cyan</label>
</value>)
<label>magenta</label>
</value>)
<label>yellow</label>
</value>)
<label>salmon</label>
</value>)
<label>orangered</label>
</value>)
<label>chocolate</label>
</value>)
<label>greenyellow</label>
</value>)
<label>aquamarine</label>
</value>)
<label>pink</label>
</value>)
<label>grey</label>
</value>)
<label>whitesmoke</label>
</value>)
<label>white</label>
</value>)
Name: 2nd color
Second color to use for the colormap.
Type: drop-down list
<label>black</label>
</value>) (default)
<label>red</label>
</value>)
<label>green</label>
</value>)
<label>blue</label>
</value>)
<label>orange</label>
</value>)
<label>green</label>
</value>)
<label>purple</label>
</value>)
<label>cyan</label>
</value>)
<label>magenta</label>
</value>)
<label>yellow</label>
</value>)
<label>salmon</label>
</value>)
<label>orangered</label>
</value>)
<label>chocolate</label>
</value>)
<label>greenyellow</label>
</value>)
<label>aquamarine</label>
</value>)
<label>pink</label>
</value>)
<label>grey</label>
</value>)
<label>whitesmoke</label>
</value>)
Name: Color 1 (ex.: cyan or #00FFFF)
1st color (ex.: cyan or #00FFFF)
Name: Color 2
2nd color
Name: Color 3
3rd color
Name: Color 4
4th color
Name: Color 5
5th color
Name: Color 6
6th color
Name: Color 7
7th color
Name: Color 8
8th color
Name: Color 9
9th color
Name: Color 10
10th color
Name: Image file extension
File extension of generated image figure.
Name: Image file extension
File extension of generated image figure.
Name: Plotter
Plotter used to generate image.
Name: Order by
Defines how criteria will be sorted on the figure.
Name: Reverse order
Defines if order direction should be reversed (descending order) or not.
Name: Mix colors
Defines if colors should be mixed for a better contrast (more color-blind friendly) or not.
Name: Naming conventions
How categories and alternatives are labelled on the graph.
Tag: programParameters
Code:
<programParameters>
<programParameter id="x_axis" name="X-axis label">
<values>
<value>
<label>%1</label>
</value>
</values>
</programParameter>
<programParameter id="y_axis" name="Y-axis label">
<values>
<value>
<label>%2</label>
</value>
</values>
</programParameter>
<programParameter id="chart_title" name="Chart title">
<values>
<value>
<label>%3</label>
</value>
</values>
</programParameter>
<programParameter id="chart_type" name="Chart type">
<values>
<value>
<label>%4</label>
</value>
</values>
</programParameter>
<programParameter id="colors" name="Colors">
<!-- colormap: %colormap / nb colors: %nb_colors -->
<values>%color-mono%color-A%color-B%color-a%color-b%color-c%color-d%color-e%color-f%color-g%color-h%color-i%color-j
</values>
</programParameter>
<programParameter id="image_file_extension" name="Image file extension">
<values>
<value>
<label>%8a%8b</label>
</value>
</values>
</programParameter>
<programParameter id="plotter" name="Plotter">
<values>
<value>
<label>%9</label>
</value>
</values>
</programParameter>
<programParameter id="order_by" name="Order by">
<values>
<value>
<label>%10</label>
</value>
</values>
</programParameter>
<programParameter id="reverse_order" name="Reverse order">
<values>
<value>
<boolean>%11</boolean>
</value>
</values>
</programParameter>
<programParameter id="mix_colors" name="Mix colors">
<values>
<value>
<boolean>%12</boolean>
</value>
</values>
</programParameter>
<programParameter id="naming_conventions" name="Naming conventions">
<values>
<value>
<label>%13</label>
</value>
</values>
</programParameter>
</programParameters>
Image containing all selected criteria values plots. Format corresponds to the one given in parameters (default is .png).
Generated Python or Gnuplot script that made the image. Given to enable users to later customize the appearance of the plots. Extension is .py if matplotlib is used, .plt if gnuplot.
Status messages.
For further technical details on the web service underlying this program, have a look at its documentation here.