Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand documentation for Cartesian projections #2643

Merged
merged 12 commits into from
Aug 28, 2023
Merged
7 changes: 5 additions & 2 deletions examples/projections/nongeo/cartesian_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
Cartesian linear
================

**X**\ *width*/[*height*]: Give the *width* of the figure and the optional
*height*.
**X**\ *width*\ [/*height*] or **x**\ *x-scale*\ [/*y-scale*]

Give the *width* of the figure and the optional *height*.
The lower-case version **x** is similar to **X** but expects
a *x-scale* and an optional *y-scale*.
yvonnefroehlich marked this conversation as resolved.
Show resolved Hide resolved
"""
import pygmt

Expand Down
11 changes: 8 additions & 3 deletions examples/projections/nongeo/cartesian_logarithmic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
Cartesian logarithmic
=====================

**X**\ *width*\ [**l**]/[*height*\ [**l**]]: Give the *width* of the figure and
the optional *height*. Each axis with a logarithmic transformation
requires **l** after its size argument.
**X**\ *width*\ [**l**][/*height*\ [**l**]] or
**x**\ *x-scale*\ [**l**][/*y-scale*\ [**l**]]

Give the *width* of the figure and the optional *height*.
The lower-case version **x** is similar to **X** but expects
a *x-scale* and an optional *y-scale*.
yvonnefroehlich marked this conversation as resolved.
Show resolved Hide resolved
Each axis with a logarithmic transformation requires **l** after
its size argument.
"""
import numpy as np
import pygmt
Expand Down
12 changes: 8 additions & 4 deletions examples/projections/nongeo/cartesian_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
Cartesian power
===============

**X**\ *width*\ [**p**\ *pvalue*]/[*height*\ [**p**\ *pvalue*]]: Give the
*width* of the figure and the optional argument *height*. Each axis with
a power transformation requires **p** and the exponent for that axis
after its size argument.
**X**\ *width*\ [**p**\ *pvalue*][/*height*\ [**p**\ *pvalue*]] or
**x**\ *x-scale*\ [**p**\ *pvalue*][/*y-scale*\ [**p**\ *pvalue*]]

Give the *width* of the figure and the optional argument *height*.
The lower-case version **x** is similar to **X** but expects
a *x-scale* and an optional *y-scale*.
yvonnefroehlich marked this conversation as resolved.
Show resolved Hide resolved
Each axis with a power transformation requires **p** and the exponent
for that axis after its size argument.
"""
import numpy as np
import pygmt
Expand Down