The creation of pdfTeX led to the development of sophisticated LaTeX graphics packages, such as TikZ, pgfplots etc, capable of producing graphics coded using high-level LaTeX commands. The advent of pdfTeX-which is closely based on the original TeX software-brought the ability to create graphics directly by using pdfTeX's new built-in TeX language commands (called primitives) which can output the PDF operators/data required to produce graphics. When the original TeX engine was conceived/written, more than 40 years ago, it was not designed for direct production of graphics-those were to be files created by external programs (e.g., MetaPost) and imported into the typeset document. The compat parameter is for the code to work on the package version 1.9 or later. This changes the size of each pgfplot figure to 10 centimeters, which is huge you may use different units (pt, mm, in). For example, to change the size of each plot and guarantee backwards compatibility (recommended) add the next line: You also can configure the behaviour of pgfplots in the document preamble. To use the pgfplots package in your document add following line to your preamble: The basic idea is that you provide the input data/formula and pgfplots does the rest. The pgfplots package, which is based on TikZ, is a powerful visualization tool and ideal for creating scientific/technical graphics. 2 Basic example (also externalizing the figures).1.2 Compilation time (brief background).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |