From 6b8c1214bc41d850222601f437f7f1e1e9af5d91 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Thu, 4 Mar 2021 06:53:19 -1000 Subject: [PATCH 1/3] Add links to projection table --- examples/projections/table/README.txt | 81 +++++++++++++++++---------- 1 file changed, 51 insertions(+), 30 deletions(-) diff --git a/examples/projections/table/README.txt b/examples/projections/table/README.txt index fa905bbb839..8c5e8533828 100644 --- a/examples/projections/table/README.txt +++ b/examples/projections/table/README.txt @@ -19,64 +19,85 @@ The below table shows the projection codes for the 31 GMT projections. * - PyGMT Projection Argument - Projection Name * - **A**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - Lambert azimuthal equal area + - :ref:`Lambert azimuthal equal area + ` * - **B**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - - Albers conic equal area + - :ref:`Albers conic equal area + ` * - **C**\ |lon0|/|lat0|/\ *width* - - Cassini cylindrical + - :ref:`Cassini cylindrical ` * - **Cyl_stere/**\ [|lon0|\ [/|lat0|/]]\ *width* - - Cylindrical stereographic + - :ref:`Cylindrical stereographic + ` * - **D**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - - Equidistant conic + - :ref:`Equidistant conic + ` * - **E**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - Azimuthal equidistant + - :ref:`Azimuthal equidistant + ` * - **F**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - Azimuthal gnomonic + - :ref:`Azimuthal gnomonic ` * - **G**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - Azimuthal orthographic + - :ref:`Azimuthal orthographic + ` * - **G**\ |lon0|/|lat0|/\ *alt*/*azim*/*tilt*/*twist*/*W*/*H*/*width* - - General perspective + - :ref:`General perspective + ` * - **H**\ [|lon0|/]\ *width* - - Hammer equal area + - :ref:`Hammer equal area ` * - **I**\ [|lon0|/]\ *width* - - Sinusoidal equal area + - :ref:`Sinusoidal equal area + ` * - **J**\ [|lon0|/]\ *width* - - Miller cylindrical + - :ref:`Miller cylindrical ` * - **Kf**\ [|lon0|/]\ *width* - - Eckert IV equal area + - :ref:`Eckert IV equal area ` * - **Ks**\ [|lon0|/]\ *width* - - Eckert VI equal area + - :ref:`Eckert VI equal area ` * - **L**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - - Lambert conic conformal + - :ref:`Lambert conic conformal + ` * - **M**\ [|lon0|\ [/|lat0|]/]\ *width* - - Mercator cylindrical + - :ref:`Mercator cylindrical ` * - **N**\ [|lon0|/]\ *width* - - Robinson + - :ref:`Robinson ` * - **Oa**\ |lon0|/|lat0|/\ *azim*/*width*\ [**+v**] - Oblique Mercator, 1: origin and azim * - **Ob**\ |lon0|/|lat0|/|lon1|/|lat1|/\ *width*\ [**+v**] - Oblique Mercator, 2: two points * - **Oc**\ |lon0|/|lat0|/|lonp|/|latp|/\ *width*\ [**+v**] - Oblique Mercator, 3: origin and pole - * - **P**\ *width*\ [**+a**]\ [**+f**\ [**e**\|\ **p**\|\ *radius*]][**+r**\ *offset*][**+t**\ *origin*][**+z**\ [**p**\|\ *radius*]] - - Polar [azimuthal] (:math:`\theta, r`) (or cylindrical) + * - **P**\ *width*\ [**+a**]\ [**+f**\ [**e**\|\ **p**\|\ *radius*]]\ + [**+r**\ *offset*][**+t**\ *origin*][**+z**\ [**p**\|\ *radius*]] + - :ref:`Polar ` [azimuthal] + (:math:`\theta, r`) (or cylindrical) * - **Poly**\ [|lon0|\ [/|lat0|]/]\ *width* - - Polyconic + - :ref:`Polyconic ` * - **Q**\ [|lon0|\ [/|lat0|/]]\ *width* - - Equidistant cylindrical + - :ref:`Equidistant cylindrical + ` * - **R**\ [|lon0|/]\ *width* - - Winkel Tripel + - :ref:`Winkel Tripel ` * - **S**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - General stereographic + - :ref:`General stereographic + ` * - **T**\ [|lon0|\ [/|lat0|]/]\ *width* - - Transverse Mercator + - :ref:`Transverse Mercator + ` * - **U**\ *zone*/*width* - - Universal Transverse Mercator (UTM) + - :ref:`Universal Transverse Mercator (UTM) + ` * - **V**\ [|lon0|/]\ *width* - - Van der Grinten + - :ref:`Van der Grinten + ` * - **W**\ [|lon0|/]\ *width* - - Mollweide - * - **X**\ *width*\ [**l**\|\ **p**\ *exp*\|\ **T**\|\ **t**][/\ *height*\ [**l**\|\ **p**\ *exp*\|\ **T**\|\ **t**]][**d**] - - Linear, log\ :math:`_{10}`, :math:`x^a-y^b`, and time + - :ref:`Mollweide ` + * - **X**\ *width*\ [**l**\|\ **p**\ *exp*\|\ **T**\|\ **t**][/\ *height*\ + [**l**\|\ **p**\ *exp*\|\ **T**\|\ **t**]][**d**] + - :ref:`Linear `, + :ref:`log `\ + :math:`_{10}`, :ref:`power + `, and time * - **Y**\ |lon0|/|lat0|/\ *width* - - Cylindrical equal area + - :ref:`Cylindrical equal area + ` From 792a393d84d5440ad9db374cc54af3019bd3fc02 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Thu, 4 Mar 2021 07:27:39 -1000 Subject: [PATCH 2/3] Try doc reference for first proj --- examples/projections/table/README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/projections/table/README.txt b/examples/projections/table/README.txt index 8c5e8533828..4b841f2b30b 100644 --- a/examples/projections/table/README.txt +++ b/examples/projections/table/README.txt @@ -19,8 +19,8 @@ The below table shows the projection codes for the 31 GMT projections. * - PyGMT Projection Argument - Projection Name * - **A**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - :ref:`Lambert azimuthal equal area - ` + - :doc:`Lambert azimuthal equal area + ` * - **B**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - :ref:`Albers conic equal area ` From e0015f0e9337c2d415eb7165bc35e7625fdeb247 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Fri, 5 Mar 2021 10:47:56 -1000 Subject: [PATCH 3/3] Update projection table --- examples/projections/table/README.txt | 78 +++++++++++---------------- 1 file changed, 32 insertions(+), 46 deletions(-) diff --git a/examples/projections/table/README.txt b/examples/projections/table/README.txt index 4b841f2b30b..e0a821ed9cc 100644 --- a/examples/projections/table/README.txt +++ b/examples/projections/table/README.txt @@ -19,48 +19,39 @@ The below table shows the projection codes for the 31 GMT projections. * - PyGMT Projection Argument - Projection Name * - **A**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - :doc:`Lambert azimuthal equal area - ` + - :doc:`Lambert azimuthal equal area ` * - **B**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - - :ref:`Albers conic equal area - ` + - :doc:`Albers conic equal area ` * - **C**\ |lon0|/|lat0|/\ *width* - - :ref:`Cassini cylindrical ` + - :doc:`Cassini cylindrical ` * - **Cyl_stere/**\ [|lon0|\ [/|lat0|/]]\ *width* - - :ref:`Cylindrical stereographic - ` + - :doc:`Cylindrical stereographic ` * - **D**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - - :ref:`Equidistant conic - ` + - :doc:`Equidistant conic ` * - **E**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - :ref:`Azimuthal equidistant - ` + - :doc:`Azimuthal equidistant ` * - **F**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - :ref:`Azimuthal gnomonic ` + - :doc:`Azimuthal gnomonic ` * - **G**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - :ref:`Azimuthal orthographic - ` + - :doc:`Azimuthal orthographic ` * - **G**\ |lon0|/|lat0|/\ *alt*/*azim*/*tilt*/*twist*/*W*/*H*/*width* - - :ref:`General perspective - ` + - :doc:`General perspective ` * - **H**\ [|lon0|/]\ *width* - - :ref:`Hammer equal area ` + - :doc:`Hammer equal area ` * - **I**\ [|lon0|/]\ *width* - - :ref:`Sinusoidal equal area - ` + - :doc:`Sinusoidal equal area ` * - **J**\ [|lon0|/]\ *width* - - :ref:`Miller cylindrical ` + - :doc:`Miller cylindrical ` * - **Kf**\ [|lon0|/]\ *width* - - :ref:`Eckert IV equal area ` + - :doc:`Eckert IV equal area ` * - **Ks**\ [|lon0|/]\ *width* - - :ref:`Eckert VI equal area ` + - :doc:`Eckert VI equal area ` * - **L**\ |lon0|/|lat0|/|lat1|/|lat2|/\ *width* - - :ref:`Lambert conic conformal - ` + - :doc:`Lambert conic conformal ` * - **M**\ [|lon0|\ [/|lat0|]/]\ *width* - - :ref:`Mercator cylindrical ` + - :doc:`Mercator cylindrical ` * - **N**\ [|lon0|/]\ *width* - - :ref:`Robinson ` + - :doc:`Robinson ` * - **Oa**\ |lon0|/|lat0|/\ *azim*/*width*\ [**+v**] - Oblique Mercator, 1: origin and azim * - **Ob**\ |lon0|/|lat0|/|lon1|/|lat1|/\ *width*\ [**+v**] @@ -69,35 +60,30 @@ The below table shows the projection codes for the 31 GMT projections. - Oblique Mercator, 3: origin and pole * - **P**\ *width*\ [**+a**]\ [**+f**\ [**e**\|\ **p**\|\ *radius*]]\ [**+r**\ *offset*][**+t**\ *origin*][**+z**\ [**p**\|\ *radius*]] - - :ref:`Polar ` [azimuthal] + - :doc:`Polar ` [azimuthal] (:math:`\theta, r`) (or cylindrical) * - **Poly**\ [|lon0|\ [/|lat0|]/]\ *width* - - :ref:`Polyconic ` + - :doc:`Polyconic ` * - **Q**\ [|lon0|\ [/|lat0|/]]\ *width* - - :ref:`Equidistant cylindrical - ` + - :doc:`Equidistant cylindrical ` * - **R**\ [|lon0|/]\ *width* - - :ref:`Winkel Tripel ` + - :doc:`Winkel Tripel ` * - **S**\ |lon0|/|lat0|\ [/\ *horizon*]/\ *width* - - :ref:`General stereographic - ` + - :doc:`General stereographic + ` * - **T**\ [|lon0|\ [/|lat0|]/]\ *width* - - :ref:`Transverse Mercator - ` + - :doc:`Transverse Mercator ` * - **U**\ *zone*/*width* - - :ref:`Universal Transverse Mercator (UTM) - ` + - :doc:`Universal Transverse Mercator (UTM) + ` * - **V**\ [|lon0|/]\ *width* - - :ref:`Van der Grinten - ` + - :doc:`Van der Grinten ` * - **W**\ [|lon0|/]\ *width* - - :ref:`Mollweide ` + - :doc:`Mollweide ` * - **X**\ *width*\ [**l**\|\ **p**\ *exp*\|\ **T**\|\ **t**][/\ *height*\ [**l**\|\ **p**\ *exp*\|\ **T**\|\ **t**]][**d**] - - :ref:`Linear `, - :ref:`log `\ - :math:`_{10}`, :ref:`power - `, and time + - :doc:`Linear `, + :doc:`logarithmic `, + :doc:`power `, and time * - **Y**\ |lon0|/|lat0|/\ *width* - - :ref:`Cylindrical equal area - ` + - :doc:`Cylindrical equal area `