Hi all,
first,I should mention I posted this on Stackoverflow, so far without success: https://stackoverflow.com/questions/...pace-on-y-axis
I have the following data:
Plotting this, using a standard theme, looks alright:
If I use my custom scheme however, I get a large space between y-axis and y-axis title:

I have been using this scheme for years and I had never problems of this kind.
It is the following line from my .scheme file that causes the white space (commenting out removes it):
This seems weird, as the tick labels are pretty short, i.e. the space created is not really needed. How could I tweak the scheme to force the axis title to be closer to the axis while maintaining the horizontal labelling? By the way, I'm unable to reproduce this behavior with some sysuse data, that's why I provided the actual data.
Thanks a lot in advance
first,I should mention I posted this on Stackoverflow, so far without success: https://stackoverflow.com/questions/...pace-on-y-axis
I have the following data:
Code:
input y1 y2 y3 x -0.34834709 -0.02733159 -0.6137266 97 -0.3906476 -0.12309019 -0.68878702 98 -0.43213382 -0.23861568 -0.76169004 99 -0.47270931 -0.28437565 -0.76154058 100 -0.51234194 -0.36507922 -0.81745737 101 -0.55110669 -0.44603292 -0.78759176 102 -0.58892858 -0.56973828 -0.89383692 103 end
Code:
tw connect y1 y2 y3 x, legend(off) ytitle("This is the title of the y axis") scheme(s2mono)
Code:
tw connect y1 y2 y3 x, legend(off) ytitle("This is the title of the y axis") scheme(custom)

I have been using this scheme for years and I had never problems of this kind.
It is the following line from my .scheme file that causes the white space (commenting out removes it):
Code:
anglestyle vertical_tick horizontal
Thanks a lot in advance
Comment