svg_output
Defines an SVG plot output driver.
- svg_output(**kwargs)
Defines an SVG plot output driver.
- Parameters
output_title (str, default: "magics++ plot") – Defines a title for the output which gets displayed if the format supports it.
output_name (str) – Defines the root of output filename without the suffix.
output_name_first_page_number ({"on", "off"}, default: "on") – Determines whether, for the first page of multipage output, the number is included in the filename.
output_file_minimal_width (number, default: 1) – Width of numbering of multi-file outputs (eg. use 1 for ‘plot.1.png’, 3 for ‘plot.001.png’ etc).
output_debug ({"on", "off"}, default: "off") – Defines if extra debug information are written in the output file (PS, EPS, SVG) or console (PNG).
output_filelist ({"on", "off"}, default: "off") – Defines if a list of all the generated files should be written into a file.
output_filelist_name (str, default: "magics_outputs.lst") – Defines the name of the file containing the list of generated files. Enabled when
output_filelist
is “on”.output_width (number, default: 800) – Defines the width of the image in pixels.
output_svg_desc (str) – Defines a text describing the content of the SVG output.
output_svg_meta (str) – Defining meta data in RDF to be added to the SVG output.
output_svg_use_external_files ({"on", "off"}, default: "on") – Can the SVG driver use external files for cell and image plotting. External files will reduce the SVG file size but add an external dependency!
output_svg_fix_size ({"on", "off"}, default: "off") – Decides if the size is fixed in the SVG document.
output_svg_logo_location ({"inline", "share", "local"}, default: "inline") – Sets where the (ECMWF) logo can be found.
- Return type
Request