# Justifying map to the center of a Paper

**URL:** <https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083>\
**Category:** Q&A\
**Created:** [July 1, 2022, 1:35pm UTC](https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083 "2022-07-01T13:35:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bj01](https://avatars.discourse-cdn.com/v4/letter/b/8797f3/32.png) [@Bj01](https://forum.generic-mapping-tools.org/u/Bj01)\
**Post date:** [July 1, 2022, 1:35pm UTC](https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083/1 "2022-07-01T13:35:37Z")

</div>

Dear All,

Please, can someone bail me out on how to justify a map to the center a of paper? I attach herein the sample of the map.

Thank you.[reduced.pdf](https://forum.generic-mapping-tools.org/uploads/short-url/kUaCuf0FD2LgtilN6dn05CBFgZV.pdf) (273.2 KB)

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [July 1, 2022, 2:48pm UTC](https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083/2 "2022-07-01T14:48:53Z")

</div>

Your map is centered at the center of the paper (all GMT figures are).  
But guessing (and we have to because you didn’t show any code) I would say. See the man page for the projection you used and pick a central longitude that is mid-way between lon\_min & lon\_max.

---

<div class="post-metadata">

**Author:** ![Bj01](https://avatars.discourse-cdn.com/v4/letter/b/8797f3/32.png) [@Bj01](https://forum.generic-mapping-tools.org/u/Bj01)\
**Post date:** [July 1, 2022, 3:15pm UTC](https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083/3 "2022-07-01T15:15:17Z")

</div>

Thank you so much for the quick response. But I do not understand what you actually mean. Below is the codes I used

```
#!/usr/bin/env bash
gmt begin image
    gmt coast -R-125/-15/30/85 -Jl-55/15/30/80/1:50000000 -S -Wthin -B -P -N1/thick,red 
    gmt makecpt -Cetopo1 -T-5000/1000/1
    gmt grdimage @earth_relief_01m -I -C -Bag  
    echo 49.14W 42.50N | gmt plot -BWSen -Sa0.3c -Gred -N -Wp1
    echo 49.28W 42.58N | gmt plot -BWSen -Sa0.3c -Gred -N -Wp1
    echo 49.16W 42.51N | gmt plot -BWSen -Sa0.3c -Gred -N -Wp1
    echo 47.33W 41.52N | gmt plot -BWSen -Sa0.3c -Gred -N -Wp1
    echo 46.29W 42.22N | gmt plot -BWSen -Sa0.3c -Gred -N -Wp1
    echo 46.24W 44.14N | gmt plot -BWSen -Sa0.3c -Gred -N -Wp1
    echo 48W 41N GeoB18530-1 | gmt text -F+f6p,White -N
    echo 45W 47.7N Flemish | gmt text -F+f4p+a-360 -N # flemish Caps 1
    echo 45W 47N Cap | gmt text -F+f4p+a-360 -N # flemish Caps 2
    echo 85.2W 59.7N Hudson Bay | gmt text -F+f6p,Helvatica -N
    echo 68.5W 55N Labrador | gmt text -F+f6p -N 
    echo 58.5W 46N Laurentian Channel | gmt text -F+f6p+a-420 -N  
    echo 51W 46N Grand | gmt text -F+f5p+a-360 -N #Grand banks 1
    echo 51W 44.7N Banks | gmt text -F+f5p+a-360 -N #Grand banks 2
    echo 78.5W 66.5N Foxe Basin | gmt text -F+f5p -N
    echo 59W 69N Baffin Bay | gmt text -F+f5p+a-430 -N
    echo 43W 74N Greenland | gmt text -F+f6p -N 
    echo 50W 57N Labrador Sea | gmt text -F+f6p,White+a-45 -N
    echo 62W 44N Scotian Shelf| gmt text -F+f5p+a-340 -N
    echo 55W 48N Newfoundland | gmt text -F+f4p+a340 -N #Newfoundland 1
    echo 70.2W 62.3N Hudson Strait | gmt text -F+f4p+a320 -N
    echo 48W 50N Orphan | gmt text -F+f4p+a-360 -N
    echo 48W 49.2N Basin | gmt text -F+f4p+a-360 -N
    echo 29.7W 49N North | gmt text -F+f7p,White+a-360 -N
    echo 30W 47.5N Atlantic | gmt text -F+f7p,White+a-360 -N
    gmt colorbar -DJBC -B1000
gmt end show
```

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [July 1, 2022, 3:44pm UTC](https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083/4 "2022-07-01T15:44:36Z")

</div>

Well, if you had read the manual page like I suggested you would have found

### 6.1.3. Lambert conic conformal projection ( **-Jl**  **-JL** )[¶](https://docs.generic-mapping-tools.org/dev/cookbook/map-projections.html#lambert-conic-conformal-projection-jl-jl)

**Syntax**

> **-Jl** | **L** _lon0/lat0/lat1/lat2/_ _scale_|_width_

**Parameters**

- The longitude (_lon0_) and latitude (_lat0_) of the projection center.

so, is this what you want (not the -70 instead of -55)

```auto
gmt coast -R-125/-15/30/85 -Jl-70/15/30/80/1:50000000 -Wthin -B -N1/thick,red -png lixo

```

 ![lixo-fs8](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/d/d0b116b2ee5f1d35e85ecda4f28f9a74fb6e804e.png)

---

<div class="post-metadata">

**Author:** ![Bj01](https://avatars.discourse-cdn.com/v4/letter/b/8797f3/32.png) [@Bj01](https://forum.generic-mapping-tools.org/u/Bj01)\
**Post date:** [July 1, 2022, 3:48pm UTC](https://forum.generic-mapping-tools.org/t/justifying-map-to-the-center-of-a-paper/3083/5 "2022-07-01T15:48:40Z")

</div>

Thank you so much. It worked
