Version: | 1.3 |
---|---|
Provider: | PyXMCDA |
SOAP service’s name: | |
plotXYAlternativesValues-PyXMCDA (see SOAP requests for details) |
Generate plot from provided alternativesValues as well as the scripts generating these plots. The plot compares both alternativesValues by plotting them as 2D points with first set of values as abscissa and second one as ordinates.
Contact: Nicolas Duminy (nicolas.duminy@telecom-bretagne.eu)
Web page: https://gitlab.com/nduminy/ws-pyxmcda
(For outputs, see below)
The alternatives to be plotted. All are plotted if not provided.
The input value should be a valid XMCDA document whose main tag is <alternatives>
.
The reference alternatives values to compare to.
The input value should be a valid XMCDA document whose main tag is <alternativesValues>
.
The alternatives values subject to comparison.
The input value should be a valid XMCDA document whose main tag is <alternativesValues>
.
Parameters of the method
The input value should be a valid XMCDA document whose main tag is <programParameters>
.
It must have the following form:
<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="color" name="Color">
<values>
<value>
<label>%4</label>
</value>
</values>
</programParameter>
<programParameter id="marker" name="Marker">
<values>
<value>
<label>%5</label>
</value>
</values>
</programParameter>
<programParameter id="linestyle" name="Linestyle">
<values>
<value>
<label>%6</label>
</value>
</values>
</programParameter>
<programParameter id="image_file_extension" name="Image file extension">
<values>
<value>
<label>%7a%7b</label>
</value>
</values>
</programParameter>
<programParameter id="plotter" name="Plotter">
<values>
<value>
<label>%8</label>
</value>
</values>
</programParameter>
</programParameters>
where:
%1 is a parameter named “X-axis label”. This is a string. The default value is alternativesValues 1.
%2 is a parameter named “Y-axis label”. This is a string. The default value is alternativesValues 2.
%3 is a parameter named “Chart title”. This is a string. The default value is Alternatives Values XY.
%4 is a parameter named “Color”. It can have the following values:
r
: redb
: blueg
: greenc
: cyanm
: magentay
: yellowk
: blackw
: whiteThe default value is black.
%5 is a parameter named “Marker”. It can have the following values:
.
: pointNone
: noneo
: circlev
: triangle down^
: triangle up<
: triangle left>
: triangle rights
: squarep
: pentagon*
: starh
: hexagon 1H
: hexagon 2+
: plusx
: xd
: thin diamondD
: diamond|
: vline_
: hlineP
: plus filledX
: x (filled)The default value is circle.
%6 is a parameter named “Linestyle”. It can have the following values:
solid
: solid linedashed
: dashed linedashdot
: dashed and dotted linedotted
: dotted lineNone
: no lineThe default value is dashed.
%7a is a parameter named “Image file extension”. It can have the following values:
eps
: .eps (Encapsulated PostScript)jpg
: .jpg (Joint Photographic Experts Group)pdf
: .pdf (Portable Document Format)pgf
: .pgf (Progressive Graphics File)png
: .png (Portable Network Graphics)ps
: .ps (PostScript)raw
: .raw (Raw RGBA bitmap)rgba
: .rgba (Silicon Graphics RGB)svg
: .svg (Scalable Vector Graphics)svgz
: .svgz (Compressed Scalable Vector Graphics)tif
: .tif (Tagged Image File Format)The default value is png.
%7b is a parameter named “Image file extension”. It can have the following values:
eps
: .eps (Encapsulated PostScript)jpg
: .jpg (Joint Photographic Experts Group)pdf
: .pdf (Portable Document Format)png
: .png (Portable Network Graphics)svg
: .svg (Scalable Vector Graphics)The default value is png.
%8 is a parameter named “Plotter”. It can have the following values:
matplotlib
: Matplotlibgnuplot
: GnuplotThe default value is matplotlib.
Image containing all selected values for XY alternativesValues plots. Format corresponds to the one given in parameters (default is .png).
The returned value is a XMCDA document whose main tag is <None>
.
The returned value is a XMCDA document whose main tag is <None>
.
Status messages.
The returned value is a XMCDA document whose main tag is <programExecutionResult>
.