# Adjusting Units on y-axis ... help!

**URL:** <https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738>\
**Category:** Phoenix WNL basics\
**Created:** [June 3, 2014, 3:03pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738 "2014-06-03T15:03:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenminalk](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chenminalk](https://forum.certara.com/u/chenminalk)\
**Post date:** [June 3, 2014, 3:03pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738/1 "2014-06-03T15:03:33Z")

</div>

I often run into this problem, and I cannot seem to find a quick and consistent way to resolve the issue. If anyone has suggestions, please let me know. When creating XY plots of concentration-time data, the units on the y-axis wrap to multiple lines. See the following image where the highest concentration “1000” wraps the last zero to a new line. I have posted an image of my plot layout settings for this plot also. Below the images, I will describe the things that I have tried. [](http://2imgs.com/30c7d0fa29) [](http://2imgs.com/03f4e3c91a) I have tried to change the font size for both the Y axis title and Y-axis units, but the wrap doesn’t change (even when the font shrinks). I have tried adjusting all of the layout settings, but none seem to adjust the space between the Y-axis title and the Y-axis units. I have changed the Y-axis title to a single line (currently shown as 2 lines, but first line was cropped to maintain confidentiality) and even completely removed the Y-axis title, but the wrap in the units remains. I have changed the format of the units, which gave interesting results. If I change the format to f6 (six decimal places) then the units still wrap, but the top line reads “1000.0” and the second line reads “00000”. So I KNOW that I can get 1000 on a single line! But I don’t want all the trailing zeros. I have also tried G1, G2, G3, etc, and all include a wrap or look bad … (Why have “1 e+01” when you can write “10”?!) Any suggestions on what I am missing, or how I can resolve this? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![SimonDavis](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SimonDavis](https://forum.certara.com/u/SimonDavis)\
**Post date:** [June 3, 2014, 3:14pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738/2 "2014-06-03T15:14:05Z")

</div>

Nathan, two options should help you here. a) increase “decoration” area, this strange title corresponds to the area I believe you want to change. ![](http://pharsight.com/extranet/media/kunena/attachments/legacy/images/decoration.jpg) (note by setting it to 0 I lose all my axis info) b) additionally changing the font angle may also help. Simon ![](http://pharsight.com/extranet/media/kunena/attachments/legacy/images/font_angle.jpg)

 ![font_angle.jpg](https://us1.discourse-cdn.com/certara/original/1X/4ceabcec7fdaca6f80e925c8546dd3258a6e370f.jpeg) ![decoration.jpg](https://us1.discourse-cdn.com/certara/original/2X/2/234033bf970333af40c04033e2d7371f7603d15b.jpeg)

---

<div class="post-metadata">

**Author:** ![chenminalk](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chenminalk](https://forum.certara.com/u/chenminalk)\
**Post date:** [June 3, 2014, 3:27pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738/3 "2014-06-03T15:27:10Z")

</div>

Simon, Thanks for the suggestions. I have tried increasing the decoration area … but I have to increase it to 170 to move the top units onto a single line. Unfortunately the decoration area increase also increases the space between the top of the graph and the title, so there is a huge white space between the title and the plot: [](http://2imgs.com/02e5f2d80b) I have also tried to change the angle, which I expected to remove the wrap … but it does not (unless I increase the decoration area to a large amount): [](http://2imgs.com/13f4e3c91a) I guess I’ll have to continue playing with things … I know graphics are complicated, but I hope future versions can resolve some of these nuances with figure formatting. Nathan

---

<div class="post-metadata">

**Author:** ![SimonDavis](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SimonDavis](https://forum.certara.com/u/SimonDavis)\
**Post date:** [June 3, 2014, 3:31pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738/4 "2014-06-03T15:31:57Z")

</div>

Nathan, it is true the different “Layout” properties interact but you should be able to resolve that graph in a few seconds in my experience. If I had the project, (or if confidential, a part of it, e.g. export just the source worksheet\* for the graph and the give me a WNLT of the graph object) then I can try for myself. Simon \* remember CSV export lets you drop columns on export.

---

<div class="post-metadata">

**Author:** ![chenminalk](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chenminalk](https://forum.certara.com/u/chenminalk)\
**Post date:** [June 3, 2014, 5:10pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738/5 "2014-06-03T17:10:42Z")

</div>

Simon, Here’s the project file (with identifiers removed). Your help is appreciated. Nathan [file name=Table.phxproj size=757054][Certara | Drug Development Solutions](http://pharsight.com/extranet/media/kunena/attachments/legacy/files/Table.phxproj%5B/file%5D%5BTable.phxproj%7Cattachment%5D(upload://zFlbN5SAXw32aNC7UZruN7lYhnU.phxproj)) (739 KB)

---

<div class="post-metadata">

**Author:** ![SimonDavis](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SimonDavis](https://forum.certara.com/u/SimonDavis)\
**Post date:** [June 3, 2014, 9:09pm UTC](https://forum.certara.com/t/adjusting-units-on-y-axis-help/2738/6 "2014-06-03T21:09:48Z")

</div>

I think this should look better; I typically make my plots 250x450 (using default templates under Edit preferences) to allow space for y axis and give a nice landscape aspect ratio to the plot. ![](http://pharsight.com/extranet/media/kunena/attachments/legacy/images/y_axis_label.jpg) this took just a few tweaks from my base WNLT to get to these settings Simon ![](http://pharsight.com/extranet/media/kunena/attachments/legacy/images/y_axis_layout.jpg)

 ![y_axis_layout.jpg](https://us1.discourse-cdn.com/certara/original/2X/1/109bc0622974d2c96ae62342b6091372529c11ab.jpeg) ![y_axis_label.jpg](https://us1.discourse-cdn.com/certara/original/2X/8/874716f2ea2f9868385019fc8c39142dcc7e7436.jpeg)
