In the R Documentation for top.line in staxlab in plotrix:
top.line is: Distance from the axis to place the first line of text.
Notice that in the original runnable code in this thread
for the two axes at the bottom of the graph:
prdAxDistDown=0; frqAxDistDown=3.5;
OK, so nobody knows how to explain my code or do it better.
My bigger problem is to know how to move the labels a small
distance away from the tick marks so I can see the decimal points.
Can anyone help me?
Hurr
--
View this message in context:
#trying for both period-labeled and frequency labeled horizontal axis
rm(list=ls(all=TRUE))
install.packages('plotrix')
library(plotrix)
staxlab-function(side=1,at,labels,nlines=2,top.line=0.5,
line.spacing=0.8,srt=NA,ticklen=0.03,adj=1,...) {
if(missing(labels)) labels-at
I included runnable code to help demonstrate what I want to do but
Sorry in my rush I forgot to include this request:
I want to move the x axis labels to make the right end close to
the axis with a very small gap, and the bottom close to the
tick with an even smaller gap.
The staxlab function
4 matches
Mail list logo