# Figure truncated at the bottom in modern mode

**URL:** <https://forum.generic-mapping-tools.org/t/figure-truncated-at-the-bottom-in-modern-mode/740>\
**Category:** Q&A\
**Created:** [August 4, 2020, 5:45am UTC](https://forum.generic-mapping-tools.org/t/figure-truncated-at-the-bottom-in-modern-mode/740 "2020-08-04T05:45:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tianzeliu](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@tianzeliu](https://forum.generic-mapping-tools.org/u/tianzeliu)\
**Post date:** [August 4, 2020, 5:45am UTC](https://forum.generic-mapping-tools.org/t/figure-truncated-at-the-bottom-in-modern-mode/740/1 "2020-08-04T05:45:32Z")

</div>

Hi There,  
I was running GMT 6.1.0 in modern mode and found that the output figure in PDF format is truncated at the bottom. Here are the commands I used to begin and end the session:

> gmt begin CapFoldAndProfile\_PRFvSref\_Lat33.8\_in pdf D…/PDFFile  
> gmt gmtset FONT\_ANNOT\_PRIMARY 5p,0,black # lat/lon, scale bar values, scale bar title  
> gmt gmtset FONT\_LABEL 5p  
> gmt gmtset FONT\_TAG 10p,Helvetica-Bold,black  
> gmt gmtset FONT\_TITLE 9p,Helvetica-Bold
> 
> gmt gmtset MAP\_FRAME\_PEN 1p,black  
> gmt gmtset MAP\_FRAME\_TYPE plain  
> gmt gmtset MAP\_GRID\_PEN\_PRIMARY 0.01i,gray,0.05\_0.05:0i  
> gmt gmtset MAP\_TITLE\_OFFSET 10p  
> gmt gmtset FORMAT\_GEO\_MAP D  
> gmt end show

Thanks!

---

<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:** [August 4, 2020, 5:54am UTC](https://forum.generic-mapping-tools.org/t/figure-truncated-at-the-bottom-in-modern-mode/740/2 "2020-08-04T05:54:48Z")

</div>

I don’t see any plotting commands in your script. Note that the plot origin is close to the bottom-left corner of the paper, so if you shift the plot origin downward, you may get truncated plot at the bottom.

---

<div class="post-metadata">

**Author:** ![tianzeliu](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@tianzeliu](https://forum.generic-mapping-tools.org/u/tianzeliu)\
**Post date:** [August 4, 2020, 6:05am UTC](https://forum.generic-mapping-tools.org/t/figure-truncated-at-the-bottom-in-modern-mode/740/3 "2020-08-04T06:05:47Z")

</div>

OK, I think that’s probably the cause of the problem. My question then is how the size of the paper is defined in my case, as there is no explicit definition of the paper size in my code.

---

<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:** [August 4, 2020, 6:21am UTC](https://forum.generic-mapping-tools.org/t/figure-truncated-at-the-bottom-in-modern-mode/740/4 "2020-08-04T06:21:36Z")

</div>

In modern mode, the paper size is 11.55 meter by 11.55 meter, which is the maximum paper size allowed by postscript language. The plot origin is a few inches (I don’t remember the exact numbers) away from the bottom-left corner of the huge paper.
