Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Section


Column
width60%


Panel

  output ( macro/python )


The PostScript graphics format was developed by Adobe and is still the main format for printers under UNIX. Since traditionally meteorological maps were aimed for print-outs, PostScript is historically the default output of Magics. No third-party library is required to generate PostScript files and the driver is always available to users. This output driver provides also output in PDF and Encapsulated PostScript (EPS). PostScript and PDF can contain multiple pages, while Encapsulated PostScript only contains one page at a time.

One advantage which PostScript based formats offer is that the output is vector based. This means the user can in a viewer software zoom in and still get a clear representation of the data.

In past versions of Magics, the PostScript driver had a special property by having a plot always scaled to 95% of its size to allow for the frame to be better visible. This is now changed to 100 %(full page size), but can for backwards compatibility be overridden by setting 'output_ps_scale'  to 0.95.



Column
width30%


Panel
titleQuick links

Postscript examples

PNG output

KML output

SVG output




HTML
<div id="magics">	
</div>

<script src="/download/attachments/13207038/magdoc.js"></script>
<link rel="stylesheet" type="text/css" href="/download/attachments/13207038/magics.css" />
<link rel="stylesheet" type="text/css" href="/download/attachments/13207038/jquery.miniColors.css" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="/download/attachments/13207038/jquery.miniColors.js"></script>

 <script>
	load("/download/attachments/14157160/postscript.json");
</script>