<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Svg</TITLE> <META NAME="description" CONTENT="Svg"> <META NAME="keywords" CONTENT="gnuplot"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="gnuplot.css"> <LINK REL="next" HREF="node433.html"> <LINK REL="previous" HREF="node431.html"> <LINK REL="up" HREF="node349.html"> <LINK REL="next" HREF="node433.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html7587" HREF="node433.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html7581" HREF="node349.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html7575" HREF="node431.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html7583" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html7585" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html7588" HREF="node433.html">Svga</A> <B> Up:</B> <A NAME="tex2html7582" HREF="node349.html">Complete list of terminals</A> <B> Previous:</B> <A NAME="tex2html7576" HREF="node431.html">Sun</A> <B> <A NAME="tex2html7584" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html7586" HREF="node467.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION050162000000000000000"></A> <A NAME="commands_set_terminal_svg"></A><A NAME="set_terminal_svg"></A><A NAME="set_term_svg"></A><A NAME="terminal_svg"></A><A NAME="term_svg"></A><A NAME="svg"></A><A NAME="9939"></A> <BR> Svg </H2> This terminal produces files in the W3C Scalable Vector Graphics format. <P> Syntax: <BR> <PRE> set terminal svg {size <x>,<y> {|fixed|dynamic}} {{no}enhanced} {fname "<font>"} {fsize <fontsize>} {font "<fontname>{,<fontsize>}"} {fontfile <filename>} {rounded|butt} {solid|dashed} {linewidth <lw>} </PRE> <BR> <P> where 4#4x5#5 and 4#4y5#5 are the size of the SVG plot to generate, <B>dynamic</B> allows a svg-viewer to resize plot, whereas the default setting, <B>fixed</B>, will request an absolute size. <P> <B>linewidth 4#4w5#5</B> increases the width of all lines used in the figure by a factor of 4#4w5#5. <P> 4#4font5#5 is the name of the default font to use (default Arial) and 4#4fontsize5#5 is the font size (in points, default 12). SVG viewing programs may substitute other fonts when the file is displayed. <P> The svg terminal supports an enhanced text mode, which allows font and other formatting commands to be embedded in labels and other text strings. The enhanced text mode syntax is shared with other gnuplot terminal types. See <B>enhanced (p. <A HREF="node20.html#enhanced"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="9946"></A></B> for more details. <P> SVG allows you to embed fonts directly into an SVG document, or to provide a hypertext link to the desired font. The <B>fontfile</B> option specifies a local file which is copied into the 4#4defs5#5 section of the resulting SVG output file. This file may either itself contain a font, or may contain the records necessary to create a hypertext reference to the desired font. Gnuplot will look for the requested file using the directory list in the GNUPLOT_FONTPATH environmental variable. NB: You must embed an svg font, not a TrueType or PostScript font. <HR> <!--Navigation Panel--> <A NAME="tex2html7587" HREF="node433.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html7581" HREF="node349.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html7575" HREF="node431.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html7583" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html7585" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html7588" HREF="node433.html">Svga</A> <B> Up:</B> <A NAME="tex2html7582" HREF="node349.html">Complete list of terminals</A> <B> Previous:</B> <A NAME="tex2html7576" HREF="node431.html">Sun</A> <B> <A NAME="tex2html7584" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html7586" HREF="node467.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> 2010-08-17 </ADDRESS> </BODY> </HTML>