.. index:: ! pslegend .. include:: module_core_purpose.rst_ ******** pslegend ******** |pslegend_purpose| Synopsis -------- .. include:: common_SYN_OPTs.rst_ **gmt pslegend** [ *specfile* ] |-D|\ *refpoint* [ |SYN_OPT-B| ] [ |-C|\ *dx*/*dy* ] [ |-F|\ *box* ] [ |-J|\ *parameters* ] [ |-K| ] [ |-O| ] [ |-P| ] [ |SYN_OPT-R| ] [ |SYN_OPT-U| ] [ |SYN_OPT-V| ] [ |SYN_OPT-X| ] [ |SYN_OPT-Y| ] [ |SYN_OPT-p| ] [ |SYN_OPT-qi| ] [ |SYN_OPT-t| ] [ |SYN_OPT--| ] .. include:: legend.rst :start-after: .. module_common_begins :end-before: .. module_common_ends .. include:: common_classic.rst_ Examples -------- .. include:: explain_example.rst_ To add an example of a legend to a Mercator plot (map.ps) with the given specifications, use:: gmt makecpt -Cpanoply -T-8/8 > tt.cpt gmt set FONT_ANNOT_PRIMARY 12p gmt pslegend -R0/10/0/10 -JM6i -Dx0.5i/0.5i+w5i+jBL+l1.2 -C0.1i/0.1i -F+p+gazure1+r -B5f1 -P > legend.ps <