# Plot map - strange paper shape (layout)

**URL:** <https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670>\
**Category:** Q&A\
**Created:** [January 5, 2025, 10:53am UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670 "2025-01-05T10:53:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sorin](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Sorin](https://forum.generic-mapping-tools.org/u/Sorin)\
**Post date:** [January 5, 2025, 10:53am UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/1 "2025-01-05T10:53:46Z")

</div>

Hi everyone,

```
I have just updated my GMT to version 6.5.0 and I wanted to generate a plot based on:

```

```auto
#!/bin/bash

gmt set FONT_ANNOT_PRIMARY 12p,Helvetica-Bold,black
gmt set FONT_LABEL 14p

FILE1="final+nume.longlat"

gmt begin statii jpg
   gmt coast -R15/60/35/66 -Gwheat -B10a0g10 -Dl -BWSn -Wthin -JM15c -N1/thick,black -Slightblue
   awk '{print($1,$2,$3)}' $FILE1 | psxy -W.1 -Sc0.4 -Gred

gmt legend -DJRT+w3.1c/2.5c+o0.20c/-2.5c+l1.4 -C0.3c/0.3c -F+p+gazure1+r <<EOF
H 14 STATIONS

Sd -0.05 c 0.40 red 0.3 0.2 Station 

EOF

gmt end show

```

and it generated the map but on a strange type of paper (the figure is in the left part of the paper and there is lot’s of withe paper) and the figure is small.

I have tried also using the examples from gmt-for-geodesy/02\_basics/italy.sh and the same strange layout is generated.

Any advice’s on what I’m doing wrong?

Thank you.

Sorin

 ![italy](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/b/b8f341bea004b6bd1a2a91c6baa38c1044891205.png)

 ![statii](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/2/293ccf53f33ff03fd0ec60c4a422470a116f22bb.jpeg)

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [January 5, 2025, 1:45pm UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/2 "2025-01-05T13:45:05Z")

</div>

I try your example and the figure looks fine. But I don’t have your input file (final+nume.longlat). Maybe there is something there.

BTW, in your code replace `psxy` by `gmt plot`.

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [January 5, 2025, 3:27pm UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/3 "2025-01-05T15:27:17Z")

</div>

Check if you have a `gmt.conf` file in the current directory, or your home directory, or under `~/.gmt`.

---

<div class="post-metadata">

**Author:** ![Sorin](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Sorin](https://forum.generic-mapping-tools.org/u/Sorin)\
**Post date:** [January 5, 2025, 8:08pm UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/4 "2025-01-05T20:08:52Z")

</div>

Hi,

I have attached the final+nume.longlat file + gmt.conf file - I have modified the extension to \*.txt so that I can upload the files.  
The problem is that this strange type of paper (the figure is in the left part of the paper and there is lot’s of withe paper) and the figure it self is small, is happening to all off the figures that I’m generating (that includes the examples that have geographic projection) including the examples from gmt-for-geodesy/ - from github - that is way I have attached the figure that I have generated using the script - italy.sh from gmt-for-geodesy/

Thank you @Estaban82 for the recommendation " in your code replace `psxy` by `gmt plot`".  
Thank you all,  
Sorin

[final+nume.longlat.txt](https://forum.generic-mapping-tools.org/uploads/short-url/5ZG9UAn3i4ikRY596wpz35tQszg.txt) (1.3 KB)  
[gmt.conf.txt](https://forum.generic-mapping-tools.org/uploads/short-url/g6VCJYL2qazZwtP08ehi0FwKXDL.txt) (5.0 KB)

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [January 6, 2025, 3:18am UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/5 "2025-01-06T03:18:08Z")

</div>

What’s the gs version you’re using. You can check it via `gs --version`.

---

<div class="post-metadata">

**Author:** ![Sorin](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Sorin](https://forum.generic-mapping-tools.org/u/Sorin)\
**Post date:** [January 6, 2025, 5:43am UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/6 "2025-01-06T05:43:00Z")

</div>

Hi,

My gs version was 9.26 but I have updated to latest version 10.04 and now to figures are generated as they should - no more white paper.  
As a comparison between the gmt 6.0 and 6.5, in the gmt version 6.0, for the command psxy -W.1 - **Sd0.30** in the gmt6.5 version for the command gmt plot -W.1 - **Sd0.15** - so the size of the symbol in gmt 6.5 is double as a size compared to the gmt 6.0 version.

Thank you for the support.

Sorin

> [@seisman](#):
>
> `gs --version`.

---

<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:** [January 6, 2025, 7:36pm UTC](https://forum.generic-mapping-tools.org/t/plot-map-strange-paper-shape-layout/5670/7 "2025-01-06T19:36:34Z")

</div>

As @seisman said, search and delete any `gmt.conf` file you find.
