CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Is there a way to change bold of axis ticks and axis labels?

Open wsweishang opened this issue 3 years ago • 5 comments

Hi YinLiLin and everyone:

I have plotted manhattan and qq plot by using CMplot, and I also have noticed the manhattan and qq plot have different bold styles of axis ticks like that:

total assoc lmm gwas combineplot

So is there a way to change bold of axis ticks and axis labels? By the way, I can not find the "xlab" parameter by th way, has it been removed? and how could I add xlab if it have been removed?

wsweishang avatar Nov 18 '22 03:11 wsweishang

Sorry that there is no relevant parameter to change bold of axis ticks or axis labels, you may need to use third part software to edit it.

YinLiLin avatar Nov 19 '22 09:11 YinLiLin

And what about the "xlab" parameter? has it been removed?

wsweishang avatar Nov 21 '22 00:11 wsweishang

Yes, it had been removed in a very early version.

YinLiLin avatar Nov 21 '22 02:11 YinLiLin

How could I add xlab if it have been removed?

wsweishang avatar Nov 21 '22 02:11 wsweishang

You can try to download the script and add a new line at https://github.com/YinLiLin/CMplot/blob/045db438fbcd7c4d7302269e11e8b109d7c31f68/R/CMplot.r#L1525, e.g., mtext(side=1, text="yourtext", line=3, ...), then source it locally and try again.

YinLiLin avatar Nov 21 '22 02:11 YinLiLin