Data visualization with SAS programming

remove duplicate x axes where layout overlay plots join

Reply
Contributor
Posts: 28

remove duplicate x axes where layout overlay plots join

[ Edited ]

I have placed plots in one column and two rows using gtl layout overlay.  The plots share the same

 axis so I have joinde them using columndatarange = union.  The x axis of the upper plot and the x2 axis of the lower plot are right next to eachother, so it makes the line double width there (I have attached a snip of the place where the two plots meet).  This double line is kind of a distraction in the middle of the figure: How can I remove one of the lines or have one of them be transparent so only one line appears there?

 

Thanks

 

 


double line at plot joint.JPG
Super User
Posts: 11,118

Re: remove duplicate x axes where layout overlay plots join

1) Provide the code you are currently using. There are so many graph options and interactions that we need a minimum starting base.

2) Provide some example data that will replicate the shown issue. Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.

3) Which version of Sas are you currently using? The options for the graphing procedures have changed/increased with each release for quite awhile. It won't help you to get a suggestion relying on SAS 9.4 options if you are usingin 9.3.

 

SAS Super FREQ
Posts: 1,139

Re: remove duplicate x axes where layout overlay plots join

These are not axes lines, but the wall borders of the two independent cells.  You can try turning off one of the wall borders, but you will remove the entire border around the cell.  It may better to leave a little gutter for aesthetic appearance, but that is up to you.  If you must remove the extra line, you will have to annotate a line with wall color exactly on top of one of the border lines.  

Ask a Question
Discussion stats
  • 2 replies
  • 125 views
  • 0 likes
  • 3 in conversation