# Increase Gnuplot margins

**URL:** <https://fluka-forum.web.cern.ch/t/increase-gnuplot-margins/213>\
**Category:** Flair\
**Created:** [7 January 2020 18:52 UTC](https://fluka-forum.web.cern.ch/t/increase-gnuplot-margins/213 "2020-01-07T18:52:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [7 January 2020 19:59 UTC](https://fluka-forum.web.cern.ch/t/increase-gnuplot-margins/213/2 "2020-01-07T19:59:50Z")

</div>

Hi @rick,

This is an issue with gnuplot, the color bar doesn’t fit automatically on the margin. You can increase it with the following gnuplot commands:

```
set lmargin screen 0.1
set rmargin screen 0.8

```

See the picture, where you need to put these lines:

 ![flair_plot_margin](https://fluka-forum.web.cern.ch/uploads/default/original/1X/39022e5675844dfc64c5b424e3c9e25ceb92d1cf.png)

One extra tip, if you click on **Title** , then **Auto** , you can set the correct aspect ratio for the axes.

---

_[View the full topic](https://fluka-forum.web.cern.ch/t/increase-gnuplot-margins/213)._
